[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: raid 1 qui foire ?



Le 09-08-2009, à 23:33:08 +0200, Laurent CARON (lcaron@lncsa.com) a écrit :

> Lignes : 32
>
> On 09/08/2009 12:34, steve wrote:
>> Salut la liste,
>>
>> Après moult recherches sur le net concernant ce problème, je me tourne
>> vers vous. J'ai deux « arrays » en raid1 qui ont sauté lors du
>> redémarrage de la machine. Dans le syslog voici ce qu'on peut lire :
>>
>> localhost smartd[5019]: Device: /dev/sda, 571 Currently
>> unreadable (pending) sectors
>> localhost smartd[5019]: Device: /dev/sda, 584 Offline
>> uncorrectable sectors
>>
>
> Salut,
>
> Peux-tu poster la sortie de:
>
> $ cat /proc/mdstat

c'est là-dessus que je suis basé pour voir le problème, maintenant tout
est ok comme on le voit :

Personalities : [raid1] 
md4 : active raid1 sda6[0] sdb6[1]
      29294400 blocks [2/2] [UU]
      
md7 : active raid1 sda10[0] sdb10[1]
      48829440 blocks [2/2] [UU]
      
md8 : active raid1 sda11[2](F) sdb11[1]
      48829440 blocks [2/1] [_U]
      
md9 : active raid1 sda12[0] sdb12[1]
      39061952 blocks [2/2] [UU]
      
md6 : active raid1 sda8[0] sdb8[1]
      1951744 blocks [2/2] [UU]
      
md5 : active raid1 sda7[0] sdb7[1]
      2931712 blocks [2/2] [UU]
      
md3 : active raid1 sda5[0] sdb5[1]
      9767424 blocks [2/2] [UU]
      
md2 : active raid1 sda3[0] sdb3[1]
      9767424 blocks [2/2] [UU]
      
md1 : active raid1 sda2[0] sdb2[1]
      1951808 blocks [2/2] [UU]
      
md0 : active raid1 sda1[0] sdb1[1]
      144448 blocks [2/2] [UU]
      
unused devices: <none>


> # fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00033ac3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          18      144553+  fd  Linux raid
autodetect
/dev/sda2              19         261     1951897+  fd  Linux raid
autodetect
/dev/sda3             262        1477     9767520   fd  Linux raid
autodetect
/dev/sda4            1478       24031   181165005    5  Extended
/dev/sda5            1478        2693     9767488+  fd  Linux raid
autodetect
/dev/sda6            2694        6340    29294496   fd  Linux raid
autodetect
/dev/sda7            6341        6705     2931831   fd  Linux raid
autodetect
/dev/sda8            6706        6948     1951866   fd  Linux raid
autodetect
/dev/sda9            6949        7010      497983+  82  Linux swap /
Solaris
/dev/sda10           7011       13089    48829536   fd  Linux raid
autodetect
/dev/sda11          13090       19168    48829536   fd  Linux raid
autodetect
/dev/sda12          19169       24031    39062016   fd  Linux raid
autodetect

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0009e0c3

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          18      144553+  fd  Linux raid
autodetect
/dev/sdb2              19         261     1951897+  fd  Linux raid
autodetect
/dev/sdb3             262        1477     9767520   fd  Linux raid
autodetect
/dev/sdb4            1478       24031   181165005    5  Extended
/dev/sdb5            1478        2693     9767488+  fd  Linux raid
autodetect
/dev/sdb6            2694        6340    29294496   fd  Linux raid
autodetect
/dev/sdb7            6341        6705     2931831   fd  Linux raid
autodetect
/dev/sdb8            6706        6948     1951866   fd  Linux raid
autodetect
/dev/sdb9            6949        7010      497983+  82  Linux swap /
Solaris
/dev/sdb10           7011       13089    48829536   fd  Linux raid
autodetect
/dev/sdb11          13090       19168    48829536   fd  Linux raid
autodetect
/dev/sdb12          19169       24031    39062016   fd  Linux raid
autodetect

Disk /dev/md0: 147 MB, 147914752 bytes
2 heads, 4 sectors/track, 36112 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md1: 1998 MB, 1998651392 bytes
2 heads, 4 sectors/track, 487952 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md2: 10.0 GB, 10001842176 bytes
2 heads, 4 sectors/track, 2441856 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/md3: 10.0 GB, 10001842176 bytes
2 heads, 4 sectors/track, 2441856 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md3 doesn't contain a valid partition table

Disk /dev/md5: 3002 MB, 3002073088 bytes
2 heads, 4 sectors/track, 732928 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md5 doesn't contain a valid partition table

Disk /dev/md6: 1998 MB, 1998585856 bytes
2 heads, 4 sectors/track, 487936 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md6 doesn't contain a valid partition table

Disk /dev/md9: 39.9 GB, 39999438848 bytes
2 heads, 4 sectors/track, 9765488 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md9 doesn't contain a valid partition table

Disk /dev/md8: 50.0 GB, 50001346560 bytes
2 heads, 4 sectors/track, 12207360 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md8 doesn't contain a valid partition table

Disk /dev/md7: 50.0 GB, 50001346560 bytes
2 heads, 4 sectors/track, 12207360 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md7 doesn't contain a valid partition table

Disk /dev/md4: 29.9 GB, 29997465600 bytes
2 heads, 4 sectors/track, 7323600 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md4 doesn't contain a valid partition table

Bizarre cette dernière phrase, non ?

Merci de ton aide,
steve


Reply to: