summaryrefslogtreecommitdiffstats
path: root/tools/dmsetup.c
diff options
context:
space:
mode:
authorJonathan Earl Brassow <jbrassow@redhat.com>2011-12-01 00:21:04 +0000
committerJonathan Earl Brassow <jbrassow@redhat.com>2011-12-01 00:21:04 +0000
commit9711057499469ab3d35f877176b345350f66c541 (patch)
tree32face0ef9263aaeaf40153c89f841e214054bca /tools/dmsetup.c
parentd34991ed974ca734129d0d5349f7eeb4f81afb0a (diff)
downloadlvm2-9711057499469ab3d35f877176b345350f66c541.tar.gz
lvm2-9711057499469ab3d35f877176b345350f66c541.tar.xz
lvm2-9711057499469ab3d35f877176b345350f66c541.zip
Don't allow two images to be split and tracked from a RAID LV at one time
Also, don't allow a splitmirror operation on a RAID LV that is already tracking a split, unless the operation is to stop the tracking and complete the split. Example: ~> lvconvert --splitmirrors 1 --trackchanges vg/lv /dev/sdc1 # Now tracking changes - image can be merged back or split-off for good ~> lvconvert --splitmirrors 1 -n new_name vg/lv /dev/sdc1 # ^ Completes split ^ If a split is performed on a RAID that is tracking an already split image and PVs are provided, we must ensure that 1) the already split LV is represented in the PVs 2) we are careful to split only the tracked image
Diffstat (limited to 'tools/dmsetup.c')
0 files changed, 0 insertions, 0 deletions