linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /dev/.static/dev/md0 works - weird...
@ 2005-06-26 20:21 Mitchell Laks
  2005-07-07  6:18 ` RAID1 assembly requires manual "mdadm --run" Molle Bestefich
  0 siblings, 1 reply; 8+ messages in thread
From: Mitchell Laks @ 2005-06-26 20:21 UTC (permalink / raw)
  To: linux-raid

Now I try the following. 

I notice that on this sysem (which has that damn udev installed) 
/dev/md0 disappears on reboot.

So I see why mdadm --detail --scan came up with that weird 
/dev/.static/dev/md0, 

/dev/.static/dev/md0 at least this device persists after reboot:
that seems to stay around after reboot...


So I edit /etc/mdadm/mdadm.conf to read as follows

Device /dev/.static/dev/hdg1 /dev/.static/dev/hdb1
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=86af4f07:91fe306c:d1cb5c86:e87dc7de
   devices=/dev/.static/dev/hdg1
ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=19def19e:3995fe1e:5470d62a:c44b069c
   devices=/dev/.static/dev/hdb1

and  now I reboot the system.

And now if I run 

mdadm -A --run  /dev/.static/dev/md0 /dev/hdb1
it starts it running. and i can mount it.
mount -t ext3 /dev/.static/dev/md0  /big1


So I think that I must create a init.d script to run at the end of the boot to 
do

mdadm -A --run  /dev/.static/dev/md0 /dev/hdb1
mount -t ext3 /dev/.static/dev/md0  /big1

and then I won't have problems....

However I think that raids should boot as long as they are intact, as a matter 
of policy. Otherwise we lose our  ability to rely upon them for remote 
servers...

Mitchell Laks







^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-07-10  9:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-26 20:21 /dev/.static/dev/md0 works - weird Mitchell Laks
2005-07-07  6:18 ` RAID1 assembly requires manual "mdadm --run" Molle Bestefich
2005-07-08 11:42   ` Neil Brown
2005-07-08 18:38     ` Molle Bestefich
2005-07-08 23:12       ` Tyler
2005-07-10  9:10         ` Molle Bestefich
2005-07-09  1:44       ` Neil Brown
2005-07-10  9:45         ` Molle Bestefich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).