Recommended gmirror solution with swap?

Rick C. Petty rick-freebsd at kiwi-computer.com
Tue Jan 2 19:46:24 UTC 2007


On Mon, Jan 01, 2007 at 09:50:16PM +0000, Thomas Hurst wrote:
> 
> 
> Are you sure you're not confusing the swapoff="YES" line many guides
> suggest adding to rc.conf with disabling swap completely?  This just
> makes the system issue swapoff -a at shutdown to make sure any mirrored
> swap devices are closed, which used to result in the mirror being
> rebuilt at startup because it was "dirty".

Where is that rc.conf option defined or used?  Certainly not in 6.x:

% grep -R swapoff /etc/
/etc/security/audit_event:355:AUE_DARWIN_SWAPOFF:swapoff():ad
/etc/security/audit_event:43045:AUE_SWAPOFF:swapoff():ad

-- Rick C. Petty


More information about the freebsd-geom mailing list