* Autostart RAID1 on boot
@ 2005-11-15 16:50 Spencer Tuttle
2005-11-15 17:06 ` Ross Vandegrift
0 siblings, 1 reply; 3+ messages in thread
From: Spencer Tuttle @ 2005-11-15 16:50 UTC (permalink / raw)
To: linux-raid
Why do I need to run mdadm -A -ap /dev/md_d0 /dev/sda /dev/sdb to start
my array everytime I boot? This seems like I will never be able to boot
from this array if I have to run this command.
What do I have to do to autostart this array on boot?
Thanks,
Spencer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Autostart RAID1 on boot
2005-11-15 16:50 Autostart RAID1 on boot Spencer Tuttle
@ 2005-11-15 17:06 ` Ross Vandegrift
2005-11-15 23:05 ` Spencer Tuttle
0 siblings, 1 reply; 3+ messages in thread
From: Ross Vandegrift @ 2005-11-15 17:06 UTC (permalink / raw)
To: Spencer Tuttle; +Cc: linux-raid
On Tue, Nov 15, 2005 at 09:50:59AM -0700, Spencer Tuttle wrote:
> What do I have to do to autostart this array on boot?
Read Documentation/md.txt in your kernel source. Has lots of cool
options for setting up kernel assembly on boot.
If you have a reasonably recent array with persistent superblocks,
something like this will do you fine for your root partition:
md=0,/dev/hda1,/dev/hdc1
If you use initrd/early userspace stuff then you can also drop mdadm
in your initrd image and get it to start the array. If you're using
Debian, it's mkinitrd scripts automatically support that if you get
things setup properly.
--
Ross Vandegrift
ross@lug.udel.edu
"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Autostart RAID1 on boot
2005-11-15 17:06 ` Ross Vandegrift
@ 2005-11-15 23:05 ` Spencer Tuttle
0 siblings, 0 replies; 3+ messages in thread
From: Spencer Tuttle @ 2005-11-15 23:05 UTC (permalink / raw)
Cc: linux-raid
Ross Vandegrift wrote:
> On Tue, Nov 15, 2005 at 09:50:59AM -0700, Spencer Tuttle wrote:
>
>>What do I have to do to autostart this array on boot?
>
>
> Read Documentation/md.txt in your kernel source. Has lots of cool
> options for setting up kernel assembly on boot.
>
> If you have a reasonably recent array with persistent superblocks,
> something like this will do you fine for your root partition:
> md=0,/dev/hda1,/dev/hdc1
>
> If you use initrd/early userspace stuff then you can also drop mdadm
> in your initrd image and get it to start the array. If you're using
> Debian, it's mkinitrd scripts automatically support that if you get
> things setup properly.
>
That was it I was appending "md=d0,hda,hdb".
I changed to to "md=d0,/dev/hda,/dev/hdb" and It starting working like a
champ.
Thank You
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-15 23:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 16:50 Autostart RAID1 on boot Spencer Tuttle
2005-11-15 17:06 ` Ross Vandegrift
2005-11-15 23:05 ` Spencer Tuttle
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).