Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ansentry on June 08, 2009, 01:58:09 AM

Title: Raid Problem
Post by: ansentry 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 (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.



Title: Re: Raid Problem
Post by: Franco on June 08, 2009, 05:24:30 AM
Quote
mdadm --add /dev/md2 /dev/hdb2
Title: Re: Raid Problem
Post by: ansentry on June 08, 2009, 06:23:41 AM
Thanks Franco, it is running now.
Title: Re: Raid Problem
Post by: ansentry on June 08, 2009, 11:27:51 AM
Franco,

It has now finished and all appears OK, thank you for your advice.
Title: Re: Raid Problem
Post by: Franco on June 08, 2009, 03:08:43 PM
My pleasure,
Code: [Select]
cat /proc/mdstatshould show you all good.

Thanks,
Title: Re: Raid Problem
Post by: ansentry on June 08, 2009, 03:51:16 PM
Franco,

Yes it showed "all good"
Title: Re: Raid Problem
Post by: nefkho 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

Title: Re: Raid Problem
Post by: kryptos 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
Title: Re: Raid Problem
Post by: Franco on July 06, 2009, 02:17:23 PM
 yours should be
Code: [Select]
mdadm --add /dev/md2 /dev/sda2
Title: Re: Raid Problem
Post by: CharlieBrady 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.
Title: Re: Raid Problem
Post by: nefkho on July 07, 2009, 02:12:27 AM
thanks,

rebuilding in progress now.