Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 02:03:03 +0200
From:      Andrea Venturoli <ml.diespammer@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: gmirror losing drive
Message-ID:  <42659C37.4000900@netfence.it>
In-Reply-To: <1113925642.80629.15.camel@zappa.Chelsea-Ct.Org>
References:  <20050419120110.39B3216A4CE@hub.freebsd.org> <1113925642.80629.15.camel@zappa.Chelsea-Ct.Org>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Mather wrote:

> Do you have swap on your geom_mirror?

Yes.



 > In earlier versions of
> geom_mirror, even a clean shutdown would cause a mirror to be marked
> degraded if swap was still active.  The fix at the time was to amend the
> stop_cmd in /etc/rc.d/swap1 to do an explicit "swapoff -a" (or similar).
> Later modifications rendered this explicit step unnecessary.

Yes, that hit me too (on another machine), but it would render a disk 
stale, it would not become lost.



> I also remember a short window in which I experienced the same problem
> of losing a drive/consumer at reboot when a mirror would become degraded
> (in my case, due to the TIMEOUT - WRITE_DMA problems I was having with
> 5.x/6.x).  This seemed to go away with a subsequent upgrade.

Hmm, this might be it, altough I'm usinc SCIS, so no DMA stuff...



> So, if you are planning to upgrade when 5.4-RELEASE rolls around, you
> might find that these problems disappear.

I am planning to do that as soon as it's released. I hope it will help.



  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42659C37.4000900>