swap and gmirror

Mark Bucciarelli mark at gaiahost.coop
Mon May 9 06:46:18 PDT 2005


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


More information about the freebsd-geom mailing list