Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/raidframe
On Thu, Apr 03, 2014 at 12:13:09PM -0400, Greg Troxel wrote:
>
> > Or:
> > 1. add the ability to pass the root name through the bootblocks/userconf
> > 2. add a raidctl -A forceroot and obey that.
> >
> > | It seems to me that the behavior 1 (not in case 2) isn't useful, and
> > | that we could make behavior 2 the default behavior, with 3 with -A yes.
> >
> > Yes, I think you are right. There could be an issue with having wd0a being
> > the real root and then a raid component on wd0e... In that case do we want
> > to make wd0e the root device because it is on the same drive?
>
> I don't think so. The case that matters for automatically making the
> raid root is when one has a RAID1 and the bootblocks boot off of half of
> it. So I think the narrow "if the boot device is a component of an
> autoconfigured raid, switch the boot device to that raid" really is what
> we want to do.
Agreed.
wd0a might have nothing to do with the raid component wd0e.
I keep entirely separate bootable root filesystems for old versions
and recovery.
One might be i386, the other amd64 ...
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index