Aller au contenu

Perte Des Donn


foxraph

Messages recommandés

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
:(
Lien vers le commentaire
Partager sur d’autres sites

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

Lien vers le commentaire
Partager sur d’autres sites

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
Lien vers le commentaire
Partager sur d’autres sites

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
Lien vers le commentaire
Partager sur d’autres sites

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
Lien vers le commentaire
Partager sur d’autres sites

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
Lien vers le commentaire
Partager sur d’autres sites

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…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...

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.