gmirror losing drive

Andrea Venturoli ml.diespammer at netfence.it
Tue Apr 19 16:02:50 PDT 2005


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.


More information about the freebsd-questions mailing list