Re: swap file using gmirror?

2005-08-16 Thread Andrea Venturoli

bob self wrote:


I ran swapinfo:

Device1K-blocks Used Avail Capacity
/dev/mirror/gm0s1b 31457280   3145728   0%

So, I have swap space?


Yes, 3GiB.

 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file using gmirror?

2005-08-15 Thread bob self

Andrea Venturoli wrote:


bob self wrote:

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?



Maybe yes, maybe not: you won't find the answer in rc.conf and 
swapoff="YES" doesn't say anything about that.


Try "swapinfo".

 bye
av.



I ran swapinfo:

Device1K-blocks Used Avail Capacity
/dev/mirror/gm0s1b 31457280   3145728   0%

So, I have swap space?

Bob


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file using gmirror?

2005-08-15 Thread Andrea Venturoli

bob self wrote:

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?


Maybe yes, maybe not: you won't find the answer in rc.conf and 
swapoff="YES" doesn't say anything about that.


Try "swapinfo".

 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file using gmirror?

2005-08-13 Thread bob self

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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: swap file using gmirror?

2005-08-13 Thread Chris St Denis
As far as I understand, Swapoff="Yes" doesn't disable the swapfile, it just
purges it on shutdown or something. I'm not quite sure of the need of this
with mirroring but I do see it in the gmirror doc.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of bob self
Sent: Thursday, August 11, 2005 5:23 AM
To: freebsd-questions@freebsd.org
Subject: swap file using gmirror?

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?

thanks,
Bob

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file using gmirror?

2005-08-12 Thread Andrea Venturoli

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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


swap file using gmirror?

2005-08-11 Thread bob self
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?

thanks,
Bob

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"