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

Raid 5 logiciel debian squeeze: problème lors de la création



Bonjour,

je souhaite monter un raid5 sous debian squeeze:

j'ai formaté mes disques dur comme ceci:

root@debian-serveur:~# fdisk -l /dev/sdb

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00026ffb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121602   976762552   fd  Linux raid autodetect
root@debian-serveur:~# fdisk -l /dev/sdc

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00029e62

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc2               1      121602   976762552   fd  Linux raid autodetect
root@debian-serveur:~# fdisk -l /dev/sdd

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002c2be

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd3               1      121602   976762552   fd  Linux raid autodetect
root@debian-serveur:~# fdisk -l /dev/sde

Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002e391

   Device Boot      Start         End      Blocks   Id  System
/dev/sde4               1      121602   976762552   fd  Linux raid autodetect

ensuite:
mdadm --create /dev/md0 --level 5 --raid-devices=4 --spare-devices=0
/dev/sdb1 /dev/sdc2 /dev/sdd3 /dev/sde4

et je fais:

root@debian-serveur:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : active raid5 sdb1[0] sde4[4] sdd3[2] sdc2[1]
      2930284032 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]
      [>....................]  recovery =  4.1% (40082372/976761344)
finish=220.6min speed=70737K/sec


Le soucis est que ma grappe à 4 disque or:  algorithm 2 [4/3] [UUU_]
--> il manque un U

Si je crée le RAID 5 pendant l'installation de Debian j'ai pas de
soucis. Par contre j'ai un problème vu que les disques dur que j'ai
ont un soucis: cf ce lien
http://linuxconfig.org/linux-wd-ears-advanced-format


Une idée? merci

-- 
Cordialement,

Cyrille Germain


Reply to: