question on lvextend
Hi,
Can I extend a striped LV ?
If so, does the data gets redistributed or what ? I myself am not sure how it works or should work, so the silliness of the question maybe.
regards,
Aman.
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
Quoted 1 line · Aman Shahi
Can I extend a striped LV ?
Yes. I've done so several times.
Quoted 1 line
If so, does the data gets redistributed or what ?
No. There no need to move data from the LV around. The LV just gets a couple of new PEs assigned just as with non-striped LVs. Only the mapping of already allocated LEs to PEs is modified, e.g.
before after LE PV PE LE PV PE 00 /dev/sda1 00 00 /dev/sda1 00 01 /dev/sda1 01 01 /dev/sda1 01 02 /dev/sdb1 00 02 /dev/sda1 02 03 /dev/sdb1 01 03 /dev/sdb1 00 04 /dev/sdb1 01 05 /dev/sdb1 02
Look at lvdisplay -v before and after running lvextend.
urs