Software raid on Sparc64
Bernd Walter
ticso at cicely12.cicely.de
Sat Mar 4 05:10:28 PST 2006
On Sat, Mar 04, 2006 at 01:55:43PM +0100, Joacim Melin wrote:
> Thanks!
>
> However, there is no loader.conf in /boot. There is one in /boot/
> defaults though. Is that just a template file for a loader.conf or is
> that the actual one where I put in geom_mirror_load="YES" ?
Both are used - first the one in defaults is parsed to get the default
definitions and if exists the one in /boot is parsed next to overwrite
or define additional variables.
Just create /boot/loader.conf, if you don't have one yet.
> On 3 mar 2006, at 12.20, Bernd Walter wrote:
>
> >On Fri, Mar 03, 2006 at 09:06:34AM +0100, Joacim Melin wrote:
> >>I created the raid, did a dump from my current root (/dev/ad0) to the
> >>second drive /dev/ad1). I then take it that the box would start
> >>from /
> >>dev/ad1 so I could put /dev/ad0 into the raid with gmirror but it
> >>just rebooted to /dev/ad0 and the raid, /dev/mirror/gm0, was gone.
> >
> >You have to put the following into /boot/loader.conf:
> >geom_mirror_load="YES"
> >If you don't then GEOM won't check for gmirror labels.
> >
> >And of course put the name of the mirrored partition into fstab.
> >If you still have ad0 in the fstab on your boot drive, why should
> >the system mount anything else?
--
B.Walter http://www.bwct.de http://www.fizon.de
bernd at bwct.de info at bwct.de support at fizon.de
More information about the freebsd-sparc64
mailing list