From owner-freebsd-questions Wed Mar 29 13:58:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.aros.net (mail.aros.net [207.173.16.20]) by hub.freebsd.org (Postfix) with ESMTP id 67E2137B623 for ; Wed, 29 Mar 2000 13:58:48 -0800 (PST) (envelope-from dreamboy@aros.net) Received: from bliss (bliss.aros.net [207.173.16.43]) by mail.aros.net (8.9.3/8.9.3) with SMTP id OAA61189 for ; Wed, 29 Mar 2000 14:58:40 -0700 (MST) From: "Brian Budnick" To: Subject: Swap Space! Date: Wed, 29 Mar 2000 15:00:53 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear FreeBSD, I have a 13gig IDE hard drive that my partition looks as follows: ******* Working on device /dev/rad0 ******* parameters extracted from in-core disklabel are: cylinders=1653 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1653 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 20563137 (10040 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 1023/ sector 63/ head 254 The data for partition 2 is: sysid 130,(Linux swap or Solaris x86) start 20563200, size 5992245 (2925 Meg), flag 0 beg: cyl 1023/ sector 63/ head 255; end: cyl 1023/ sector 63/ head 254 The data for partition 3 is: The data for partition 4 is: == The thing is when I do top or swapinfo it only shows 133MB of Swap Space but when I created the 2nd partition of 2925 Megs it doesn't seem to be seeing that as swap space. I would like to know how to get it so that the system uses this 2nd partition as swap space... When i do : df (i get) Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 49583 26838 18779 59% / /dev/ad0s1f 9763091 862089 8119955 10% /usr /dev/ad0s1e 19815 796 17434 4% /var procfs 4 4 0 100% /proc Question #1: how do i find out what the device name is for the swap partition? /dev/ad0s1x??? Question #2: how do i get it so that the system uses this partition each time it reboots as swap space? Any help would greatly be appreciated! Please respond directly back to me! Brian ///// C-@,@ Brian Budnick (dreamboy@aros.net) "\ -/ ArosNet Systems Administration To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message