Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2005 09:46:13 -0400
From:      Mark Bucciarelli <mark@gaiahost.coop>
To:        freebsd-geom@freebsd.org
Subject:   swap and gmirror
Message-ID:  <200505090946.13708.mark@gaiahost.coop>

next in thread | raw e-mail | index | archive | help
I have two drives where the first slice is mirrored using gmirror.

Last night I thought I was being very clever by creating a swap slice on each 
drive and not mirroring those.  Better performance as swap is distributed 
across two disks and faster writes because swap is not mirrored.  Also, I saw 

This morning, I started having second thoughts.  Isn't there a chance that if 
a disk dies, some running process may lose the data it has swapped to disk.  
That, I imagine, would be a very bad thing.

If so, is there any safe way to configure swap so it is not mirrored?

Regards,

Mark



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