Raid5 problem

Användarvisningsbild
buntubuntu
Inlägg: 74
Blev medlem: 16 mar 2007, 10:50

Raid5 problem

Inlägg av buntubuntu »

Hej,

Jag är helt lost nu... En disk i min array är 'removed'
Om jag kör en "sudo mdadm -D /dev/md0"
så ser det ut så här:

Kod: Markera allt

/dev/md0:
        Version : 00.90.03
  Creation Time : Sun Sep 30 19:20:50 2007
     Raid Level : raid5
    Device Size : 488383936 (465.76 GiB 500.11 GB)
   Raid Devices : 3
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sat Aug 23 12:32:51 2008
          State : active, degraded, Not Started
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 2d7edc98:375f616d:8e536f94:c5c9eb57 (local to host Gaderoben)
         Events : 0.30517

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       1       8        1        1      active sync   /dev/sda1
       2       0        0        2      removed
Alltså ingen Failed device men sdb1 är borttagen.

En "sudo mdadm --examine /dev/sdb1" ger:

Kod: Markera allt

/dev/sdb1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 2d7edc98:375f616d:8e536f94:c5c9eb57 (local to host Gaderoben)
  Creation Time : Sun Sep 30 19:20:50 2007
     Raid Level : raid5
    Device Size : 488383936 (465.76 GiB 500.11 GB)
     Array Size : 976767872 (931.52 GiB 1000.21 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 0

    Update Time : Wed Aug 20 07:41:15 2008
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0
       Checksum : eef9898 - correct
         Events : 0.60

         Layout : left-symmetric
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     2       8       17        2      active sync   /dev/sdb1

   0     0       8       49        0      active sync   /dev/.static/dev/sdd1
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       17        2      active sync   /dev/sdb1
??? /dev/.static/dev/sdd1 ???

och en "sudo mdadm --examine /dev/sdc1" ger:

Kod: Markera allt

/dev/sdc1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 2d7edc98:375f616d:8e536f94:c5c9eb57 (local to host Gaderoben)
  Creation Time : Sun Sep 30 19:20:50 2007
     Raid Level : raid5
    Device Size : 488383936 (465.76 GiB 500.11 GB)
     Array Size : 976767872 (931.52 GiB 1000.21 GB)
   Raid Devices : 3
  Total Devices : 2
Preferred Minor : 0

    Update Time : Sat Aug 23 12:32:51 2008
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 1
  Spare Devices : 0
       Checksum : ef447e0 - correct
         Events : 0.30517

         Layout : left-symmetric
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     0       8        1        0      active sync   /dev/sda1

   0     0       8        1        0      active sync   /dev/sda1
   1     1       8       17        1      active sync   /dev/sdb1
   2     2       0        0        2      faulty removed
Där står det helt plötsligt att den är trasig! :(

Och "sudo fdisk -l" ger:

Kod: Markera allt

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         122      979933+  82  Linux swap / Solaris
/dev/hda2             123        9729    77168227+  83  Linux

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       60801   488384001   fd  Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       60801   488384001   fd  Linux raid autodetect

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       60801   488384001   fd  Linux raid autodetect
Och till sist en "cat /proc/mdstat":

Kod: Markera allt

Personalities : [raid6] [raid5] [raid4] 
md0 : inactive sdc1[0] sda1[1]
      976767872 blocks
       
unused devices: <none>
Där verkar sdb1 saknas ???

Vad händer egentligen? Någon som vet?

Tack på förhand
BB
Användarvisningsbild
buntubuntu
Inlägg: 74
Blev medlem: 16 mar 2007, 10:50

Re: Raid5 problem

Inlägg av buntubuntu »

Löst.

Var inte någon disk som var trasig utan interfacet i servern. Kan ju förklara att ingen disk var markerad som Failed.

/BB
Skriv svar

Återgå till "Använda X/K/Ubuntu - inaktuell"