Booting with multiple RAID1 configs

Steve Bertrand iaccounts at ibctech.ca
Sat Jun 18 14:50:00 GMT 2005


> You might use loader(8) to set the root device ("rootdev" 
> variable) explicitly to ar1s1a. Then you should also update 
> fstab to reflect the numbering change.
> I don't know of any way to change the ata numbering scheme.
> Mainboard controllers always seem to be probed (and numbered) 
> first. I think there is no way to get your original raid back 
> to ar0 if you also use your mainboard controllers.

Thank you so, so much.

After trying to mount / to ufs:/dev/ar1s1a at the MountRoot prompt and
it failing, I thought something more serious was the problem, so:

- I added kern.rootdev=/dev/ar1s1a to sysctl.conf
- Changed the / fs in /etc/fstab to point to /dev/ar1s1a

At that point, the system loaded the root filesystem, but since that was
the only one I changed, it errored out mounting the rest (which was
expected).

I simply mounted them manually /dev/ar1s1N to /usr /var and /home,
remounted the / filesystem rw, ee the /etc/fstab and changed all the
mountpoints to ar1, rebooted, and all is well!

I now have 2 RAID1 configs on the same box, and am successfully booting
off of the promise raid properly before the motherboard disks!!

Thanks to all who provided feedback! I hope this situation can help
someone else who wants to boot off of an arbitrary disk before the
motherboard disk in the future!

Steve

> 
> Cheers
> Titus
> 



More information about the freebsd-questions mailing list