]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: lvm: use correct lv* command parameters
authorCole Robinson <crobinso@redhat.com>
Fri, 13 Apr 2012 11:34:41 +0000 (07:34 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 16 Apr 2012 12:00:15 +0000 (08:00 -0400)
commitcab1a9dee83142dcc795e58d42325a726c100463
tree106a0f57a80e906bc6c9afd5698a621f3d59724a
parent6fbd5737e9cebe7ea7caa9459ca6bc3200ff5440
storage: lvm: use correct lv* command parameters

lvcreate want's the parent pool's name, not the pool path
lvchange and lvremove want lv specified as $vgname/$lvname

This largely worked before because these commands strip off a
starting /dev. But https://bugzilla.redhat.com/show_bug.cgi?id=714986
is from a user using a 'nested VG' that was having problems.

I couldn't find any info on nested LVM and the reporter never responded,
but I reproduced with XML that specified a valid source name, and
set target path to a symlink.
src/storage/storage_backend_logical.c