swap file using gmirror?
bobself at charter.net
Sat Aug 13 16:17:42 GMT 2005
Andrea Venturoli wrote:
> 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.
So, is there swap space somewhere? What if I run out of RAM?
More information about the freebsd-questions