Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: slowboat on January 28, 2010, 02:07:00 PM

Title: Raid problem
Post by: slowboat on January 28, 2010, 02:07:00 PM
Hi

I get the following problem with the raid setup on 7.4, the check I ran on md2 says there's a fault but the check on md1 says its fine, is this a partitioning problem, can it be rebuild?:

/dev/md2:
        Version : 00.90.01
  Creation Time : Thu Feb 26 22:00:11 2009
     Raid Level : raid5
     Array Size : 976558592 (931.32 GiB 1000.00 GB)
    Device Size : 488279296 (465.66 GiB 500.00 GB)
   Raid Devices : 3
  Total Devices : 2
Preferred Minor : 2
    Persistence : Superblock is persistent

    Update Time : Thu Jan 28 14:50:24 2010
          State : clean, degraded
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 256K

           UUID : 6332811f:950d9f7d:722965fa:464a2e9e
         Events : 0.12523861

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       0        0        -      removed
       2       8       34        2      active sync   /dev/sdc2

/dev/md1:
        Version : 00.90.01
  Creation Time : Thu Feb 26 22:00:10 2009
     Raid Level : raid1
     Array Size : 104320 (101.89 MiB 106.82 MB)
    Device Size : 104320 (101.89 MiB 106.82 MB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Thu Jan 28 14:44:08 2010
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

           UUID : 76fa01d1:29ea0408:f0012459:76baf449
         Events : 0.1674

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1
       2       8       33        2      active sync   /dev/sdc1

Please let me know if I have posted this in the wrong place?
Title: Re: Raid problem
Post by: Stefano on January 28, 2010, 05:10:59 PM
Hi

try to add your sdb2 partition to the array with
Code: [Select]
mdadm -a /dev/md2  /dev/sdb2

and check /var/log/messages for errors

ion the meanwhile, buy a new hd :-)
Title: Re: Raid problem
Post by: slowboat on February 01, 2010, 05:54:15 PM
will try it. in the process of buying a spare anyway. thanks for the help..  :-)