Skip to contentSkip to conversation

how can I setup software RAID1 on a running LVM system

linux-lvm beklan 4 participants 4 messages Aug 16, 2011 – Aug 17, 2011

lore
Share & tools
lore

beklan

author
#0 lore raw

Hi,

I m using Centos 5.5 with LVM system,and I m trying to setup sofrware RAİD on that system. Does anybody help me ?

I dont have raid card because of that I have to setup the system with software raid.

My problems are, how can I add new disk on running system or how can I get back datas if system fail.

beklan

#1 lore raw

2011/8/16, beklan <[email protected]>:

Quoted 21 lines

Hi,

I m using Centos 5.5 with LVM system,and I m trying to setup sofrware RAİD on that system. Does anybody help me ?

I dont have raid card because of that I have to setup the system with software raid.

My problems are, how can I add new disk on running system or how can I get back datas if system fail.

beklan

Signature · 16 lines
Gesendet von meinem Mobilgerät

Best regards / Mit freundlichen Grüßen,

think project! International GmbH & Co. KG
Claus Koch
Systems Engineer

Mobile +49 176 10382588
Phone +49 30 921017-61
Fax +49 30 92 10 17-51
[email protected]

Legal information (imprint): www.thinkproject.com/en/info
Rechtliche Informationen zum Absender (Impressum):
www.thinkproject.com/de/info
#2 lore raw

"man mdadm" or:
http://tinyurl.com/4pjnu43

Signature · 16 lines
Ray Morris
[email protected]

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php




On Wed, 17 Aug 2011 08:06:34 +0200
Quoted 23 lines · Claus Koch

2011/8/16, beklan <[email protected]>:

Quoted 21 lines

Hi,

I m using Centos 5.5 with LVM system,and I m trying to setup sofrware RAİD on that system. Does anybody help me ?

I dont have raid card because of that I have to setup the system with software raid.

My problems are, how can I add new disk on running system or how can I get back datas if system fail.

beklan

#3 lore raw
Quoted 3 lines · Ray Morris

"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