Koozali.org: home of the SME Server

DegradedArray event - Notifications

Offline ReetP

  • *
  • 3,952
  • +6/-0
Re: DegradedArray event - Notifications
« Reply #15 on: October 19, 2009, 02:23:19 PM »
Code: [Select]
(wiki extract)
md2 : active raid1 hdb2[1]        <-- missing partition   
     1048704 blocks [2/1] [_U]    <-- failed

I think this section of the Wiki is incorrect. I think that it shows that hda2 is missing and that hdb2 is now active. If you read a little further down :

Code: [Select]
Determine the missing physical partition, Look carefully, and fill in the gap,
in this example, it's hda2, the device being /dev/hda2

md1 : active raid1 hda3[0] hdb3[1]
md2 : active raid1 hda2[0] hdb2[1]
md0 : active raid1 hda1[0] hdb1[1]

In any event you can see in the log that is was SDA2 that was kicked:

Quote
Oct 17 09:58:26 sme-server kernel: md: kicking non-fresh sda2 from array!

You should run a proper disk check as well to be sure the drive is OK

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline piran

  • *****
  • 502
  • +0/-0
Re: DegradedArray event - Notifications
« Reply #16 on: October 19, 2009, 02:26:55 PM »
I wanted clarification... the two didn't seem to add up, so
that when I get a similar report I know exactly what to do;~)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: DegradedArray event - Notifications
« Reply #17 on: October 19, 2009, 02:37:58 PM »
Code: [Select]
(wiki extract)
md2 : active raid1 hdb2[1]        <-- missing partition   
     1048704 blocks [2/1] [_U]    <-- failed

I think this section of the Wiki is incorrect. I think that it shows that hda2 is missing and that hdb2 is now active.

please raise a bug for it or create a wiki account and correct yourself, thank you

Offline ReetP

  • *
  • 3,952
  • +6/-0
Re: DegradedArray event - Notifications
« Reply #18 on: October 19, 2009, 03:20:06 PM »
please raise a bug for it or create a wiki account and correct yourself, thank you

I used to have a wiki account but I didn't use it enough to justify my 'wikiship' and I think it was withdrawn.

I have put in a request. If that fails I'll post a bug.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,952
  • +6/-0
Re: DegradedArray event - Notifications
« Reply #19 on: October 19, 2009, 03:41:33 PM »
All Wiki'ed up. Edit done - Hope it's a) correct & b) little clearer !!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline davidpfox

  • *
  • 14
  • +0/-0
Re: DegradedArray event - Notifications
« Reply #20 on: October 19, 2009, 03:51:22 PM »
Water under the bridge I know but it may have been your
sdb (not sda) that was the more likely one to be suspect?
http://wiki.contribs.org/Raid#Resynchronising_a_Failed_RAID
Perhaps my message was worded incorrectly, but what you have stated above is what I want to be cautious about 'sdb'. By the looks of this article (feels like i have read this 100 times), only if this issue arises again should I be concerned and look at using SMART.

Can someone confirm this for me?

Cheers

Offline piran

  • *****
  • 502
  • +0/-0
Re: DegradedArray event - Notifications
« Reply #21 on: October 19, 2009, 03:54:12 PM »
All Wiki'ed up. Edit done - Hope it's a) correct & b) little clearer !!
Much, thank you;~) Will be helpful when the inevitable occurs.

Offline piran

  • *****
  • 502
  • +0/-0
Re: DegradedArray event - Notifications
« Reply #22 on: October 19, 2009, 03:55:53 PM »
Can someone confirm this for me?
The wiki was in error, it is more correct now, please follow Stefano.

Offline ReetP

  • *
  • 3,952
  • +6/-0
Re: DegradedArray event - Notifications
« Reply #23 on: October 19, 2009, 04:03:59 PM »
Much, thank you;~) Will be helpful when the inevitable occurs.

Know the feeling :-)

After that brain strain it must be time for a :pint:
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline purvis

  • *****
  • 567
  • +0/-0
Re: DegradedArray event - Notifications
« Reply #24 on: October 20, 2009, 12:13:13 AM »
Hi Piran


from the report below, i would of thought sda was the drive with issues and i still believe it is sda


Personalities : [raid1]
md2 : active raid1 sdb2[1]                 -----> i, paul,  see sda is missing here
      156183808 blocks [2/1] [_U]
     
md1 : active raid1 sda1[0] sdb1[1]
      104320 blocks [2/2] [UU]
     
unused devices: <none>

and if i where you making a 9 hour trip, i would just  upgrade and replace both drives, and grow the drives if running raid1.
when buying the drives, look over the serial/product id/ and anything else you can when selecting drives to get the two most perfect drives.

go ahead and yank out sda drive, in a raid1 you, you can always afford to be safer than sorry, then use sdb for rebuilding

after replacing the drives, you can always use the drives you removed in another system(possibly a workstation or usb backup) after fill comfortable about the new drives, if you feel they are still good to use. Plus you get a backup if you keep the sdb drive on a shelf.
« Last Edit: October 20, 2009, 12:20:55 AM by purvis »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: DegradedArray event - Notifications
« Reply #25 on: October 20, 2009, 07:15:15 AM »
davidpfox

Quote
.... only if this issue arises again should I be concerned and look at using SMART.
Can someone confirm this for me?

No. You should run extensive hard drive diagnostic tests on sda NOW, and while you are doing it also fully test sdb.

Being tossed out of an array could be a sign of a faulty drive.
Use smartctl and the manufacturers test software eg for Seagate drives use Seatools etc etc.
You can get a lot of test software on the Ultimate Boot CD (UBCD), google for it.

Also if one drive is showing signs of being faulty, then it's quite possible the other drive is showing signs of age too, and may fail soon, so best to check them both. If you feel it appropriate or convenient to do so, then go ahead and replace the drives. They are cheap compared to your running around time, and downtime & inconvenience for end users etc.

Another possible area that can affect drives and cause them to be spat out from an array is mother board incompatibilities. Some not so old m/b's did not support the faster SATA speeds, so it was necessary to slow the drives down by jumpering them so they were compatible with the m/b.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline davidpfox

  • *
  • 14
  • +0/-0
Re: DegradedArray event - Notifications
« Reply #26 on: October 20, 2009, 09:28:20 AM »
Mary ..... awesome reply and very valuable.

Thanks!