[linux-lvm] Convert striped lv to single pv on another disk?
Gianluca Cecchi
gianluca.cecchi at gmail.com
Thu Dec 13 13:32:27 UTC 2012
Hello,
I have a 300Gb LV composed by 2 150Gb each PV in striping:
lvdisplay:
--- Logical volume ---
LV Name /dev/VG_TEST/LV_TEST
VG Name VG_TEST
LV UUID 9LVrQr-XPSW-kuHt-eyYx-BrlE-MwQh-LcSfhN
LV Write Access read/write
LV Status available
# open 1
LV Size 299.99 GB
Current LE 76798
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 512
Block device 253:61
lvdisplay --maps:
--- Logical volume ---
LV Name /dev/VG_TEST/LV_TEST
VG Name VG_TEST
LV UUID 9LVrQr-XPSW-kuHt-eyYx-BrlE-MwQh-LcSfhN
LV Write Access read/write
LV Status available
# open 1
LV Size 299.99 GB
Current LE 76798
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 512
Block device 253:61
--- Segments ---
Logical extent 0 to 76797:
Type striped
Stripes 2
Stripe size 64 KB
Stripe 0:
Physical volume /dev/mapper/mpath133
Physical extents 0 to 38398
Stripe 1:
Physical volume /dev/mapper/mpath134
Physical extents 0 to 38398
I have to migrate to a single third 400Gb disk that I'm gong to
configure as a further PV of VG_TEST.
How can I pvmove a striped volume to a single one?
Thanks,
Gianluca
More information about the linux-lvm
mailing list