From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 06:09:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4DBB16A4B3 for ; Mon, 13 Oct 2003 06:09:11 -0700 (PDT) Received: from hotmail.com (bay8-f74.bay8.hotmail.com [64.4.27.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B11A43FB1 for ; Mon, 13 Oct 2003 06:09:11 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 13 Oct 2003 06:09:11 -0700 Received: from 203.199.109.165 by by8fd.bay8.hotmail.msn.com with HTTP; Mon, 13 Oct 2003 13:09:10 GMT X-Originating-IP: [203.199.109.165] X-Originating-Email: [unixtools@hotmail.com] From: "Sunil Sunder Raj" To: pjn0211@yahoo.com Date: Mon, 13 Oct 2003 18:39:10 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Oct 2003 13:09:11.0129 (UTC) FILETIME=[315EE490:01C3918B] cc: freebsd-questions@freebsd.org Subject: Re: Problem with adding more swap ! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2003 13:09:11 -0000 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 >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!