Problem with adding more swap !
Sunil Sunder Raj
unixtools at hotmail.com
Mon Oct 13 06:09:11 PDT 2003
Hi,
Create a swap file system on a partition where you have excess space.
dd if=/dev/zero of=/usr/swap0 count=128 bs=1m
chmod 600 /usr/swap0
mdconfig -a -t vnode -f /usr/swap0 -u 3
swapon /dev/md3
You can check the output of swapinfo to confirm. You will have to load the
swap file system at system startup also.
Regards
SSR
>From: Supote Leelasupphakorn <pjn0211 at yahoo.com>
>To: freebsd-questions at freebsd.org
>Subject: Problem with adding more swap !
>Date: Mon, 13 Oct 2003 10:25:17 +0100 (BST)
>
>Hi, all
>
> The documents on freebsd's website suggest that,
>as a system grows, it's recommended for adding more
>swap paritition to system. My questions are: Does
>it mean adding another swap to disk or to slice ?
>
>
>The disk structure:
>
> ad0s1 --> ad0s1a / (boot from here)
> --> ad0s1b swap
> --> ad0s1e /var
> --> ad0s1f /tmp
> --> ad0s1g /usr
>
> ad0s2 --> ad0s2e /usr1 (data)
>
>Do I need to add another swap partition as "ad0s2b" ?
>
>TIA,
>pjn
>
>
>________________________________________________________________________
>Want to chat instantly with your online friends? Get the FREE Yahoo!
>Messenger http://mail.messenger.yahoo.co.uk
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe at freebsd.org"
_________________________________________________________________
Contact brides & grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag
Only on www.shaadi.com. Register now!
More information about the freebsd-questions
mailing list