[linux-lvm] lvm raid1

Georges Giralt georges.giralt at free.fr
Mon Jun 8 22:57:36 UTC 2015


Hello Vassiliy
Do the other way around :
Make an array using mdadm (md0)
Run pvcreate on it and build your VG with this (these) PVs. (pvcreate 
/dev/md0)
Then build all the LV you want on this VG
Le 08/06/2015 07:33, Vasiliy Tolstov a écrit :
> Hi. I have such hardware:
> /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf (500Gb ssd)
>
> 1) i want to create raid1 using lvm raid1 personalities with 100Mb
> size on top of this disk
> 2) i want to create lv and format it to ext4/xfs of free space on each disk
>
> If this is not possible with only lvm, how i can do this ? ( simple
> create two lv on each disk and create via mdadm raid1? )
>

-- 
If the only tool you have is a hammer, you tend to see every problem as a nail.
                 Abraham Maslow
A British variant :
Any tool can serve as a hammer but a screwdriver makes the best chisel.




More information about the linux-lvm mailing list