[libvirt-users] the naming convention libvirt names a block based storage volume

Yih-Herng Chuang yihherng at us.ibm.com
Tue Aug 9 22:28:50 UTC 2011



Seems like different libvirt versions generate a storage volume name in
different format.  We would like to learn how libvirt names a storage
volume under a block based storage pool.  So that we may properly extract
the LUN identifier out of the volume name for now and in the future.

On host A loaded with libvirt 0.8.7
# virsh vol-list SanPool1
Name Path
-----------------------------------------
unit:0:0:11 /dev/disk/by-id/wwn-0x600a0b800013071a000035ec4e32b832

On host B loaded with libvirt 0.8.1

# virsh vol-list SanPool1
Name Path
-----------------------------------------
1.0.0.0 /dev/disk/by-id/wwn-0x60080e500017e1d40000d0b74d873b13

Regards,

--Yih

Yih-Herng Chuang
IBM Center for Microsoft Technologies
3600 Carillon Point, Kirkland WA 98033
(DID) (425) 803-7285
(TIE) 977-7285
YihHerng at us.ibm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110809/4263470a/attachment.htm>


More information about the libvirt-users mailing list