Aller au contenu

Featured Replies

Posté(e)
  • Auteur
DS1010> mdadm -v --build --raid-device=4 /dev/md3 /dev/sda6 /dev/sdb6 /dev/sdd6 /dev/sde6
mdadm: RUN_ARRAY failed: Invalid argument
DS1010> mdadm -v --build --raid-device=5 /dev/md3 /dev/sda6 /dev/sdb6 /dev/sdd6 /dev/sde6
mdadm: requested 5 devices in array but listed 4
:(
Posté(e)

peut etre ceci :

mdadm --create /dev/md3 --verbose --level=5 --raid-devices=5 /dev/sda6 /dev/sdb6 /dev/sdd6 /dev/sde6 missing /dev/sdc6
Posté(e)
  • Auteur
Toujours pas
DS1010> mdadm --create /dev/md3 --verbose --level=5 --raid-devices=5 /dev/sda6 /dev/sdb6 /dev/sdd6 /dev/sde6 missing /dev/sdc6
mdadm: You have listed more devices (6) than are in the array(5)!
Posté(e)

j'en compte 5 pourtant pas 6 :unsure:

bon, alors, on va supposer qu'il prend le missing pour un disk

donc, si il aime pas, on passe a 4

mdadm --create /dev/md3 --verbose --level=5 --raid-devices=4 /dev/sda6 /dev/sdb6 /dev/sdd6 /dev/sde6 missing /dev/sdc6

si quelqu'un a une bonne iddée, suis aussi preneur :P

Posté(e)
  • Auteur

J'ai le même message

mdadm: You have listed more devices (6) than are in the array(5)!

J'ai bien peur que c'est la fin !!!!

Posté(e)

On dirait que le mot clé missing n'est pas reconnu. Ça va être dur aujourd'hui, mais v essayer de reproduire cela en virtualisation. Ainsi, je teste toute les commande les une a la suite des autres

Posté(e)
  • Auteur

Salut,

Ok merci beaucoup :)

Posté(e)

En fait tu aura les même problèmes pour monter le raid mais sur ton PC. J'ai pas encore su reproduire ton problème vu les fêtes mais j'ai pas oublié ;)

Posté(e)
  • Auteur

Tinkiet pas :)

Bonnes fêtes au passage

Posté(e)

J'ai eu une petite heure pour reproduire le problème et cela donne ceci :

Si le disque 4 contient bien les données, ca va fonctionner

Voici la commande :

mdadm --create /dev/md3 --verbose --level=5 --raid-devices=5 /dev/sd[a,b,d,e]6 missing

après tu confirma la creation et après, si tout va bien :

cat / proc/mdstat

tu devrait voir ton raid md3 avec 4 disque sur 5

après :

pvs
pvdisplay
vgdisplay

et ensuite on voit, mais normalement un reboot et c'est ok

Modifié par Gaetan Cambier

Posté(e)
  • Auteur

Bonjour,

Voici le résultat:

DS1010> mdadm --create /dev/md3 --verbose --level=5 --raid-devices=5 /dev/sd[a,b,d,e]6 missing
mdadm: layout defaults to left-symmetric
mdadm: chunk size defaults to 64K
mdadm: layout defaults to left-symmetric
mdadm: layout defaults to left-symmetric
mdadm: /dev/sda6 appears to be part of a raid array:
level=raid5 devices=5 ctime=Sat Aug 4 11:32:33 2012
mdadm: layout defaults to left-symmetric
mdadm: /dev/sdb6 appears to be part of a raid array:
level=raid5 devices=5 ctime=Sat Aug 4 11:32:33 2012
mdadm: layout defaults to left-symmetric
mdadm: layout defaults to left-symmetric
mdadm: /dev/sde6 appears to be part of a raid array:
level=raid5 devices=5 ctime=Sat Aug 4 11:32:33 2012
mdadm: size set to 976742784K
Continue creating array? yes
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md3 started.
DS1010> cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md3 : active raid5 sde6[3] sdd6[2] sdb6[1] sda6[0]
3906971136 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/4] [uUUU_]
md4 : active raid1 sde7[0]
976743808 blocks super 1.1 [2/1] [u_]
md2 : active raid5 sdb5[6] sde5[9] sdd5[5] sda5[7]
7795122688 blocks super 1.1 level 5, 64k chunk, algorithm 2 [5/4] [uUU_U]
md1 : active raid1 sda2[0] sdb2[1] sdc2[2] sdd2[3] sde2[4]
2097088 blocks [5/5] [uUUUU]
md0 : active raid1 sda1[0] sdb1[1] sdc1[2] sdd1[3] sde1[4]
2490176 blocks [5/5] [uUUUU]
unused devices: <none>
DS1010> pvs
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
DS1010> pvdisplay
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
DS1010> vgdisplay
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Posté(e)

coté positif, en avance

j'ai encore des iddée :

l'endroit du disque manquant (missing) a une importante normalement :

et le raid c'est monté avec des metedata 1.2 au lieu de 1.1

tu peux essayer ceci :

mdadm --stop /dev/md3

mdadm --create /dev/md3 --verbose --level=5 --raid-devices=5 --metadata=1.1 /dev/sd[a,b]6 missing /dev/sd[d,e]6

le reste des commande est identique ;)

Modifié par Gaetan Cambier

Posté(e)
  • Auteur
Voici le résultat :
DS1010> mdadm --create /dev/md3 --verbose --level=5 --raid-devices=5 --metadata=1.1 /dev/sd[a,b]6 missing /dev/sd[d,e]6
mdadm: layout defaults to left-symmetric
mdadm: chunk size defaults to 64K
mdadm: layout defaults to left-symmetric
mdadm: /dev/sda6 appears to be part of a raid array:
level=raid5 devices=5 ctime=Mon Dec 29 10:52:48 2014
mdadm: layout defaults to left-symmetric
mdadm: /dev/sdb6 appears to be part of a raid array:
level=raid5 devices=5 ctime=Mon Dec 29 10:52:48 2014
mdadm: layout defaults to left-symmetric
mdadm: /dev/sdd6 appears to be part of a raid array:
level=raid5 devices=5 ctime=Mon Dec 29 10:52:48 2014
mdadm: layout defaults to left-symmetric
mdadm: /dev/sde6 appears to be part of a raid array:
level=raid5 devices=5 ctime=Mon Dec 29 10:52:48 2014
mdadm: size set to 976743808K
Continue creating array? yes
mdadm: array /dev/md3 started.
pvs
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
pvdisplay
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Skipping volume group vg1
vgdisplay
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Couldn't find device with uuid 'KRO7sE-rOpW-urI2-pUyV-OR4A-4qxg-Qr3b6O'.
Couldn't find all physical volumes for volume group vg1.
Volume group "vg1" not found
Posté(e)
  • Auteur

Merci beaucoup.

Bon je vais formater les autres disques :(

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.