Date: Mon, 13 Oct 2003 18:39:10 +0530 From: "Sunil Sunder Raj" <unixtools@hotmail.com> To: pjn0211@yahoo.com Cc: freebsd-questions@freebsd.org Subject: Re: Problem with adding more swap ! Message-ID: <BAY8-F741UInT3bJ6zs0000b91c@hotmail.com>
next in thread | raw e-mail | index | archive | help
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@yahoo.com> >To: freebsd-questions@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@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Contact brides & grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag Only on www.shaadi.com. Register now!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY8-F741UInT3bJ6zs0000b91c>