[linux-lvm] lvm raid1
Georges Giralt
georges.giralt at free.fr
Tue Jun 9 20:14:16 UTC 2015
Hello MegaBrutal,
You wrote for mdadm :
Le 09/06/2015 13:00, MegaBrutal a écrit :
> – All of your disks need to be of the same size.
This is not true.
The md will have the smallest size of the disks. (Behavior which is
mandatory because modern disks DO NOT have exactly the same capacity
even if same P/N... )
This behavior is useful to increase capacity : you add one bigger disk,
synchronize the array then do the same with the second disk. When the
array is in sync you can extend it to the size of the new disks. Then
extend the VG to tell it has bigger PV than before et voila !
I use this in production on a couple of servers for 10 years and it is
perfect.
Of course if you are trying to get all the speed possible it may not
compete with a dedicated array card.
Hope this helps
--
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