Guido Winkelmann
2011-Aug-24 14:01 UTC
[libvirt-users] pool-refresh on iSCSI pools does not actually rescan the bus
Hi, When I add a new LUN on an iscsi target and then issue a pool-refresh command on the respective storage pool in libvirt, libvirt will not find the new lun (or notice if luns have been removed). I'm using a Dell PowerVault MD3200i iSCSI Array to hold the volumes for virtual servers in libvirt. In libvirt, I have defined the storage pool as this: <pool type='iscsi'> <name>iscsi01</name> <uuid>52eb9c59-a7ac-a4e8-a26e-7ca112f0dd70</uuid> <capacity>85899345920</capacity> <allocation>85899345920</allocation> <available>0</available> <source> <host name='10.3.1.15'/> <device path='iqn.1984-05.com.dell:powervault.md3200i.6782bcb0000859f3000000004d3eec7d'/> </source> <target> <path>/dev/disk/by-id</path> <permissions> <mode>0700</mode> <owner>-1</owner> <group>-1</group> </permissions> </target> </pool> If I add a new LUN on the iSCSI array, and then issue the command "pool- refresh iscsi01", followed by "vol-list iscsi01" in virsh, the list does not contain the new volume. The only workaround I have found so far for this is to manually log in to the host server as root, do "iscsiadm -m discovery -t sendtargets -p 10.3.1.15" and then issue the pool-refresh command in libvirt. Libvirt is libvirt-0.8.3-4.fc14.x86_64 on Fedora 14. Is this supposed to work like this? If not, will a newer version fix that problem? Regards, Guido