/dev/md1 is already in use. SW raid

David Dreezer dave at socialstrata.com
Mon May 2 02:47:51 CEST 2011


Hi Michael,

I do have that machine available, and in it's semi broken state. Here are the results, in the order that you asked me to run the commands.

#mdadm --assemble --scan
mdadm: /dev/md1 is already in use.
mdadm: /dev/md5 is already in use.
mdadm: /dev/md6 is already in use.
mdadm: /dev/md7 is already in use.
mdadm: /dev/md9 is already in use.
mdadm: /dev/md10 is already in use.
mdadm: /dev/md11 is already in use.

# mdadm --stop -scan
mdadm: stopped /dev/md11
mdadm: stopped /dev/md10
mdadm: stopped /dev/md9
mdadm: stopped /dev/md8
mdadm: stopped /dev/md7
mdadm: stopped /dev/md6
mdadm: stopped /dev/md5
mdadm: stopped /dev/md1

# mdadm --assemble --scan
mdadm: /dev/md1 has been started with 1 drive (out of 2).
mdadm: /dev/md5 has been started with 1 drive (out of 2).
mdadm: /dev/md6 has been started with 1 drive (out of 2).
mdadm: /dev/md7 has been started with 1 drive (out of 2).
mdadm: /dev/md8 has been started with 2 drives.
mdadm: /dev/md9 has been started with 1 drive (out of 2).
mdadm: /dev/md10 has been started with 1 drive (out of 2).
mdadm: /dev/md11 has been started with 1 drive (out of 2).

# mdadm --assemble --scan
mdadm: /dev/md1 is already in use.
mdadm: /dev/md5 is already in use.
mdadm: /dev/md6 is already in use.
mdadm: /dev/md7 is already in use.
mdadm: /dev/md9 is already in use.
mdadm: /dev/md10 is already in use.
mdadm: /dev/md11 is already in use.

Thanks!
David Dreezer


> 
> Sorry for getting back to this one very late. If you still have this system
> available (and in its semi-broken state):
> 
> What is the result of doing the
> 
> - mdadm --assemble --scan
>  (should bring to life all the arrays; maybe also do the explicit stop before)
> - mdadm --assemble --scan
>  (that is, yet another call to --assemble *without* stopping the arrays before)
> 
> Do we then get "... is already in use" !?
> 
> Thanks a lot,
> Michael
> 



More information about the linux-fai mailing list