On Sun, 8 Dec 2013 15:32:42 -0800 Christopher Hoover <ch@xxxxxxxxxxxxxx> wrote: > hi folks, > > what's the safest way to get this array back into r/o mode? > > thanks, > -ch > ch@xxxxxxxxxxxxxx > > > 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
Attachment:
signature.asc
Description: PGP signature