[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Soft Raid5 Problems



hi ya nik

assuming you have 4 out of 5 disks still working as sw raid5
or 3 out of 4 still working... you can rebuild your raid...

if you have 2 dead disks... your entire raid is shot...
unless you wanna go diggin into more funky recovery tools
	( manually doing what e2fsck does automatically
	( you're better off restoring data from backups...

if your (raid) disks shows up .... you're still okay
	cat /proc/mdstats

	===
	=== backup your data to some other disk on your LAN
	=== before attempting to fix your semi-dead sw raid5
	===

if raidstart /dev/md0  fails...  than you will have to manually
recreate your raid arrays
	- different ways to get around different problems
	( find the method that works for you )

	http://www.1U-Raid5.net/Startup/Fix.Raid.mdctl.txt

	http://www.1U-Raid5.net/Startup/Fix.raid.mdadm.txt

	.. more ...

if you do have your raid intact... and just a dead disk
than you can take that disk out and add a new one

	-- if you were manually able to recreate /dev/md0
		-- backup all your data now to some other disks
		-- on your lan

	-- than continue fixing your raid box

	raidhotremove /dev/md0 /dev/hdc1
	-- power down your system ...
	-- swap out the bad disks ( /dev/hdc )
	-- put the new replacement disk in

	-- power up as normal...
	-- note that it will be running in degraded mode...
	-- keep an eye on /proc/mdstat for "resync status"

	when its done with its housekeeping... i'd add
	the replacement disks ...
	raidhotadd /dev/md0 /dev/sdc1

	- watch it resync again...
	and i'd power down and back up one ore time for good measure

c ya
alvin

On Thu, 25 Apr 2002, Nik Engel wrote:

> Hi ! 
> I have installed a softraid (Level 5 ) on my Debian Sid Box running
> Kernel 2.4.17. 
> Unfortunatly one disk seems to be faulty as the system is no longer able
> to sync with that disk. But i can after stopping the raid format the
> disk etc.
> 
> which tools can i use to verify the state of the disk ? 
> How can i rebuild the raid ? 
> 


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: