Koozali.org: home of the SME Server

Raid Help Please

farmerPR

Raid Help Please
« on: October 05, 2006, 05:21:19 AM »
Hi All,
I have a server with 2 sata drives 80gigs each, it was setup with raid 1 when installed. I have just received the following email..

This is an automatically generated mail message from mdadm
running on jupiter

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

Faithfully yours, etc.


I logged into the server and ran the following mdadm --query --detail /dev/md[12]

details follow

Code: [Select]
[root@jupiter ~]# mdadm --query --detail /dev/md[12]
/dev/md1:
        Version : 00.90.01
  Creation Time : Sat Jun  3 11:48:02 2006
     Raid Level : raid1
     Array Size : 104320 (101.88 MiB 106.82 MB)
    Device Size : 104320 (101.88 MiB 106.82 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Thu Oct  5 01:43:57 2006
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0


    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1
           UUID : 182c79ef:b05eae8c:be7445f3:3c1f2fea
         Events : 0.1805
/dev/md2:
        Version : 00.90.01
  Creation Time : Sat Jun  3 11:47:22 2006
     Raid Level : raid1
     Array Size : 78043648 (74.43 GiB 79.92 GB)
    Device Size : 78043648 (74.43 GiB 79.92 GB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 2
    Persistence : Superblock is persistent

    Update Time : Thu Oct  5 12:47:16 2006
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0


    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       0        0       -1      removed
           UUID : 926003b0:e57023d4:f6c09fe3:b419b44c
         Events : 0.4879324


I am a little confused to my next course of action, I have not removed the drive??? Please help??

PR

Offline Gaston94

  • *****
  • 184
  • +0/-0
Raid Help Please
« Reply #1 on: October 05, 2006, 11:03:17 AM »
Hi
this can be a temporary issue you got on your sdb disk (as only one partition
is claiming to be faulty)

You can first : join back the sdb disk to the md2 array
Code: [Select]
mdadm --manage /dev/md2 --add /dev/sdb2
you should check the smart information for this disk
run some fsck on the FS
monitor the way it goes in the next days
and in all case , insure you have trusting backups for your data ;)

Gaston