Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Snoopyski on October 30, 2008, 04:06:12 PM

Title: RAID Down... But command give us: mdadm: Cannot open /dev/sda1...
Post by: Snoopyski on October 30, 2008, 04:06:12 PM
Hello Everyone,

I get a message in my email about my RAID... My sda1 on md1 and my sda2 on md2 was failed...

But I try the command:

Code: [Select]
mdadm -a /dev/md1 /dev/sda1
I get this:

Code: [Select]
mdadm: Cannot open /dev/sda1: Device or resource busy
Any idea whitout rebooting the server to restart my RAID ?

Thanks,

Snoopyski
Title: Re: RAID Down... But command give us: mdadm: Cannot open /dev/sda1...
Post by: Stefano on October 30, 2008, 04:20:24 PM
hi

please send the result of
Code: [Select]
cat /proc/mdstat

before trying to re-ad the partition to the raid, try to remove it with

Code: [Select]
mdadm -r /dev/md1 /dev/sda1

if it does not work, maybe it's a hw (hd controller) problem.

Ciao

Stefano
Title: Re: RAID Down... But command give us: mdadm: Cannot open /dev/sda1...
Post by: CharlieBrady on October 30, 2008, 04:55:48 PM
I get a message in my email about my RAID... My sda1 on md1 and my sda2 on md2 was failed...

Probably because the drive actually has a problem.

Quote
But I try the command:

Code: [Select]
mdadm -a /dev/md1 /dev/sda1

Did you check that the drive was error free before doing that?