Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2005 12:17:31 -0400
From:      bob self <bobself@charter.net>
To:        Andrea Venturoli <ml.diespammer@netfence.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: swap file using gmirror?
Message-ID:  <42FE1D1B.6090407@charter.net>
In-Reply-To: <42FB7246.9090908@netfence.it>
References:  <42FB4312.7040201@charter.net> <42FB7246.9090908@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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