Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 17:44:06 +0200
From:      Andrea Venturoli <ml.diespammer@netfence.it>
To:        bob self <bobself@charter.net>, freebsd-questions@freebsd.org
Subject:   Re: swap file using gmirror?
Message-ID:  <42FB7246.9090908@netfence.it>
In-Reply-To: <42FB4312.7040201@charter.net>
References:  <42FB4312.7040201@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
bob self wrote:
> I'm running 5.4 RELEASE. I have two identical hard drives. I installed 
> FreeBSD on the first drive and then
> turned on gmirror. The 2nd drive sync'd in about 3 hours. I did create a 
> swap partition, but part of the
> procedure that I found to start gmirror adds
> 
> swapoff="YES"' to /etc/rc.conf
> 
> Is that the right thing to do? Should gmirror run without swap?

You are interpreting it incorrectly.
If you put your swap partition on a gmirror drive, your swap partition 
will benefit from RAID 1.
swapoff="YES" only allows for a clean shutdown, so that gmirror won't 
rebuild everything on next boot.

  bye
	av.



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