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

Re: raid-1 via mdam : limite du nombre de mdx ? ou mauvais choix ?



Bulot Grégory a écrit :

Le Vendredi 3 Juin 2005 10:13, Daniel Huhardeaux a écrit :
Bulot Grégory a écrit :
Bonjour,

je reviens vous embêter au sujet du raid (1)

j'ai voulu créer un md4, et je me suis fait jeter :
# mdadm --create /dev/md4 --level 1 --raid-devices=2 /dev/hdb7 /dev/hdd7
mdadm: error opening /dev/md4: No such file or directory

Je n'ais eu aucun soucis pour md0->md3 :

Ton type de partition est bien à FD pour hdb7 et hdd7?

Oui, tous (hd[bd]*) en "Linux raid autodetect" soit efffectivement 'FD' type

j'ai fait mon premier disque a la main via fdisk, ensuite, copie via sfdisk sur le 2iem disque :
sfdisk -d /dev/hdb >/root/sfdisk.hdb
sfdisk /dev/hdd < /root/sfdisk.hdb


sfdisk -d /dev/hdb
# partition table of /dev/hdb
unit: sectors

/dev/hdb1 : start=       63, size=  1558242, Id=fd, bootable
/dev/hdb2 : start=  1558305, size=  5992245, Id=fd
/dev/hdb3 : start=  7550550, size=312608835, Id= 5
/dev/hdb4 : start=        0, size=        0, Id= 0
/dev/hdb5 : start=  7550613, size= 19133352, Id=fd
/dev/hdb6 : start= 26684028, size= 19920537, Id=fd
/dev/hdb7 : start= 46604628, size= 60002712, Id=fd
/dev/hdb8 : start=106607403, size=120005487, Id=fd
/dev/hdb9 : start=226612953, size= 60002712, Id=fd
/dev/hdb10: start=286615728, size= 29993292, Id=fd
/dev/hdb11: start=316609083, size=  3550302, Id=fd
Une recherche sur google te donne plein d'infos, en particulier

[...]
while trying to use md to overcome limitations of dm, I
stumbled upon the following problem: It is impossible to
have more than 4 partitioned md devices since mdadm will
create the 5th device with major:minor 255:0, which is
bogus.

Bref, semble qu'effectivement il y ait un bug et que tu sois limité à 4 partitions. A verifier, je ne suis pas allé plus loin, le message datant du 11/2004.

--
Daniel  Huhardeaux       ______ _____ _____ ______ ______ __
enum    +48 32 285 5276 /_   _// _  // _  //_   _// __  // /
iaxtel   1-700-849-6983  / /  / // // // /  / /  / /_/ // /
sip/iax:callto 101@voip./_/  /____//____/  /_/  /_/ /_//_/.net



Reply to: