lvm striped VG and Extend and Reallocation Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello to  All,

 

I’m using lvm2, I will create 2 striped LV which volume group created by two PVs. When write happen, its will striped to two PVs step by step.

I know that when need to extend stirped LV,  I have to add two PVs more  and extend the LV for do not get an error.

 

Two question

 

First; when I extend striped volume does it means I will have 2 striped 2 linear volume group? Means chunk1 written to PV1 ,chunk2 written to PV2 and its over , it will pass second two PVs and chunk3 written to PV3 ,chunk4 wirtten PV4 , right ?

 

İf its right , when data is not big enough and chunk1 and chunk2 enough to store, next write request time LVM start for first pair of PVs or not ?

 

Second;

 

I would like to balance striped data when I add PVs to extend related VG because first datas are written to only olds PVs and after extend if read request happen still old disks will be used instead of  this and improve performance I would like to lay all data to all PVs after extend. İs there any way to  reallocation PEs ?

 

Regards

Vahric

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux