Koozali.org: home of the SME Server

RAID Down... But command give us: mdadm: Cannot open /dev/sda1...

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: RAID Down... But command give us: mdadm: Cannot open /dev/sda1...
« Reply #1 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: RAID Down... But command give us: mdadm: Cannot open /dev/sda1...
« Reply #2 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?