Re: Autostart RAID1 on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx

"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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux