problems with GEOM_MIRROR
Paul Mather
paul at gromit.dlib.vt.edu
Mon Sep 6 17:33:47 PDT 2004
On Mon, 2004-09-06 at 14:33, Krzysztof Ciepłucha wrote:
> Pawel Jakub Dawidek wrote:
>
> > +> sysctl -b kern.geom.conftxt still shows labels like da0a .. da0f, and
> > +> the mirror is still starting synchronization after every restart.
> >
> > I haven't check it yet, but maybe this is because of swap partition.
> > On shutdown, file systems are unmounted, but I think swap paritition is not.
> > Could you try to remove swap partition from fstab and try again?
>
> ok, you were right. after turning off swap the system starts without
> synchronizing whole mirror.
> and the 'sysctl -b kern.geom.conftxt' command doesn't show labels like
> da0a anymore. this is what i expected.
I use a RAIDframe RAID 1 mirror on my NetBSD/alpha system. There, they
have a "swapoff" rc.conf variable that you should set to "YES" to have
block swap devices removed (via "swapctl -U -t blk") during the rc.d
shutdown sequence.
Before that was introduced, I found that my /dev/raid1b swap device
would initiate a parity rebuild upon reboot (presumably because it
hadn't quiesced prior to shutdown).
What does geom_mirror do with respect to quiescing prior to shutdown?
Cheers,
Paul.
--
e-mail: paul at gromit.dlib.vt.edu
"Without music to decorate it, time is just a bunch of boring production
deadlines or dates by which bills must be paid."
--- Frank Vincent Zappa
More information about the freebsd-geom
mailing list