swap file using gmirror?

bob self 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.
>
>  bye
>     av.
>
>

So, is there swap space somewhere? What if I run out of RAM?

thanks,
Bob



More information about the freebsd-questions mailing list