[et-mgmt-tools] [PATCH] virtinst: add storage builders for logical pools and volumes

Cole Robinson crobinso at redhat.com
Wed Aug 13 00:21:15 UTC 2008


The attached patch adds virtinst support for building
logical pools and volumes. Sort of. This will allow
creating new volumes, but not creating pools (aka
volume groups) from a specified set of physical disks.
I believe libvirt supports this, but I haven't tried it
yet.

However this does allow the user to point at an existing
lvm volume group and have it recognized as a storage pool
which will be by far the common case. The nice thing
about this is that it will all become immediately available
in the virt-manager UI (posted previously).

One thing I've encountered with this though: does a volume's
target path have any significance upon creation? File volumes
just seem to create a file based on the passed 'name', not
target path. Disk volumes ignore both when creating. Logical
vols also only use the name, but try to validate the target
path after creation, which we shouldn't need passed (the result
should simply be vgpath + "/" + volname). So it seems like
target path has no real meaning when defining a volume. Am
I missing something?

Thanks,
Cole

-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtinst-build-lv-pools.patch
Type: text/x-diff
Size: 3109 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080812/10eab1bd/attachment.bin>


More information about the et-mgmt-tools mailing list