Thread (9 messages) 9 messages, 3 authors, 2013-12-09

Re: unable to assemble (mostly?) clean array

From: NeilBrown <hidden>
Date: 2013-12-08 23:55:07

On Sun, 8 Dec 2013 15:32:42 -0800 Christopher Hoover [off-list ref]
wrote:
hi folks,

what's the safest way to get this array back into r/o mode?

thanks,
-ch
ch@murgatroid.com


ch@snaggle:~$ sudo mdadm --examine /dev/sd[defg]1 | egrep 'Event|^/dev/sd'

/dev/sdd1:

         Events : 286024

/dev/sde1:

         Events : 286011

/dev/sdf1:

         Events : 286024

/dev/sdg1:

         Events : 286024

ch@snaggle:~$ sudo mdadm --assemble --force  /dev/md0 /dev/sdd1
/dev/sde1 /sdg1

mdadm: cannot open device /sdg1: No such file or directory

mdadm: /sdg1 has no superblock - assembly aborted
You missed a "/dev" there!

Did you try just giving all the devices to mdadm and letting it pick the best?

 mdadm --assemble --force /dev/md0 /dev/sd[defg]1

?

NeilBrown

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help