13 Aug 02:17
[PATCH] virtinst: add storage builders for logical pools and volumes
From: Cole Robinson <crobinso@...>
Subject: [PATCH] virtinst: add storage builders for logical pools and volumes
Newsgroups: gmane.linux.redhat.et-mgmt-tools
Date: 2008-08-13 00:21:15 GMT
Subject: [PATCH] virtinst: add storage builders for logical pools and volumes
Newsgroups: gmane.linux.redhat.et-mgmt-tools
Date: 2008-08-13 00:21:15 GMT
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
_______________________________________________(Continue reading)
RSS Feed