Koozali.org: home of the SME Server

Raid Problem

Offline ansentry

  • ****
  • 118
  • +0/-0
Raid Problem
« on: June 08, 2009, 01:58:09 AM »
I am running SME 7.4 - all patches up to date.

I received this email:

Quote
A DegradedArray event has been detected on md device /dev/md2.

I then  checked the "Manage disk redundancy" and got the following:

Quote
Current RAID Status:

Personalities : [raid1]
md2 : active raid1 hda2[0]
      390604288 blocks [2/1] [U_]

md1 : active raid1 hda1[0] hdb1[1]
      104320 blocks [2/2] [UU]

unused devices: <none>

Only some of the RAID devices are unclean.

Manual intervention may be required.

I went to this link http://wiki.contribs.org/Category:Howto and had a read on RAID and I found this section on failed RAID's

Quote
Make a note of the raid partition that has failed, shown by [_U]
In this case it is md2, the device being /dev/md2.

Mine does not show [_U] it shows [U_]

Do I still run;
Code: [Select]
# mdadm --add /dev/md2 /dev/hda2
Any advice would be appreciated.



Regards,

John A

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Raid Problem
« Reply #1 on: June 08, 2009, 05:24:30 AM »
Quote
mdadm --add /dev/md2 /dev/hdb2

Offline ansentry

  • ****
  • 118
  • +0/-0
Re: Raid Problem
« Reply #2 on: June 08, 2009, 06:23:41 AM »
Thanks Franco, it is running now.
Regards,

John A

Offline ansentry

  • ****
  • 118
  • +0/-0
Re: Raid Problem
« Reply #3 on: June 08, 2009, 11:27:51 AM »
Franco,

It has now finished and all appears OK, thank you for your advice.
Regards,

John A

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Raid Problem
« Reply #4 on: June 08, 2009, 03:08:43 PM »
My pleasure,
Code: [Select]
cat /proc/mdstatshould show you all good.

Thanks,

Offline ansentry

  • ****
  • 118
  • +0/-0
Re: Raid Problem
« Reply #5 on: June 08, 2009, 03:51:16 PM »
Franco,

Yes it showed "all good"
Regards,

John A

Offline nefkho

  • *****
  • 183
  • +0/-0
    • http://www.cagothonglines.com
Re: Raid Problem
« Reply #6 on: July 06, 2009, 06:50:49 AM »
Hi, i got the same problem.
here is my cat /proc/mdstat

Personalities : [raid1]
md2 : active raid1 sdb2[1]
      156183808 blocks [2/1] [_U]

md1 : active raid1 sda1[0] sdb1[1]
      104320 blocks [2/2] [UU]

unused devices: <none>

but when i issue the mdadm --add /dev/md2 /dev/hda2
here is the result:

mdadm: cannot find /dev/hda2: No such file or directory

any one can help me?

thanks

Nef Kho  :-) .........

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: Raid Problem
« Reply #7 on: July 06, 2009, 07:24:22 AM »
Hi, i got the same problem.
here is my cat /proc/mdstat

Personalities : [raid1]
md2 : active raid1 sdb2[1]
      156183808 blocks [2/1] [_U]

md1 : active raid1 sda1[0] sdb1[1]
      104320 blocks [2/2] [UU]

unused devices: <none>

but when i issue the mdadm --add /dev/md2 /dev/hda2
here is the result:

mdadm: cannot find /dev/hda2: No such file or directory

any one can help me?

thanks


Check your Harddisk settings it should not be hda2 as you are using sdb2.

Regards,
Rocel

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Raid Problem
« Reply #8 on: July 06, 2009, 02:17:23 PM »
 yours should be
Code: [Select]
mdadm --add /dev/md2 /dev/sda2

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Raid Problem
« Reply #9 on: July 06, 2009, 06:03:25 PM »
yours should be
Code: [Select]
mdadm --add /dev/md2 /dev/sda2

Only after identifying why the first hard drive was thrown out of the RAID array. If the drive is or might be faulty, it should be replaced.

Offline nefkho

  • *****
  • 183
  • +0/-0
    • http://www.cagothonglines.com
Re: Raid Problem
« Reply #10 on: July 07, 2009, 02:12:27 AM »
thanks,

rebuilding in progress now.



Nef Kho  :-) .........