DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-08-31 12:04:05

twg
Member
Registered: 2009-06-12
Posts: 18

manually rebuilding a RAID5 ?

ok, I think I've figured out that one of my drives is dying... the RAID5 volume is still intact however.

I want to replace the bad drive with a new drive, however I've read on here from others that the automatic RAID5 volume rebuild often asks to format the entire volume when inserting a brand new drive.

I thought I read somewhere on here but can't seem to find it via search, a method to manually rebuild the RAID5 volume via ffp ?

could someone post those instructions ?

MUCH APPRECIATED!

Offline

 

#2 2010-08-31 14:58:50

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: manually rebuilding a RAID5 ?

You basically have to fail and remove the faulty disk, power down, exchange disk and add the new one.

Code:

mdadm --fail /dev/md0 /dev/sda1
mdadm --remove /dev/md0 /dev/sda1

reboot

Code:

mdadm --add /dev/md0 /dev/sda1

Don't follow this instruction exactly. I have no idea which partitions are actually used in your box, nor which disk is dying.

http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/

Offline

 

#3 2010-09-01 05:18:24

twg
Member
Registered: 2009-06-12
Posts: 18

Re: manually rebuilding a RAID5 ?

thanks, will have to do some reading...

anyone else ?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB