swap file using gmirror?
ml.diespammer at netfence.it
Fri Aug 12 11:53:18 GMT 2005
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.
More information about the freebsd-questions