[linux-lvm] how can I setup software RAID1 on a running LVM system

James Hawtin oolon at ankh.org
Wed Aug 17 13:06:10 UTC 2011


Ray Morris wrote:
> "man mdadm" or:
> http://tinyurl.com/4pjnu43
>   
Alturnatively he might want to create a mirror using LVM not a block 
device. Answer when you create the LV using "lvcreate" use the -m option 
to set the number of mirror copies. Alturnatively you can use lvconvert 
to change a normal LV into a mirrored one.

The question of how to get the system back if a disk fails in a tricky 
one.... If a disk fails the system should keep on working as there is a 
copy of the information so it will continue to work, Hardware might have 
problems with the drive if it is not a clean failure though, what is 
needed is to reduce out the damaged disk and add a new undamaged one, 
the one problem is the BOOT block if the disk is the boot device, then 
you might need use grub to setup a new boot block on the new device.

James




More information about the linux-lvm mailing list