From owner-freebsd-questions Sat Aug 9 13:43:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA12525 for questions-outgoing; Sat, 9 Aug 1997 13:43:37 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts17-line5.uoregon.edu [128.223.150.222]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA12515 for ; Sat, 9 Aug 1997 13:43:31 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id NAA06083; Sat, 9 Aug 1997 13:43:18 -0700 (PDT) Date: Sat, 9 Aug 1997 13:43:18 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Mike Tancsa cc: questions@FreeBSD.ORG Subject: Re: changing a partition to swap, is this OK ? In-Reply-To: <3.0.2.32.19970809130127.00b09d80@sentex.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 9 Aug 1997, Mike Tancsa wrote: > Since upgrading to our news server to 2.2-STABLE, I have run out of swap > space a couple of times. Its a Pentium 133 with 128meg of RAM and 128meg > of swap space, and previously the 2.1.5 system running with the same RAM > and swap never ran out of swap space. On one of my newsspool drives, I > have been using it for the misc.* hierarchy. I dont have any more room in > the box to add another drive just yet, so as a temp measure, I was thinking > of reclaiming a partition. Disklabel shows the following > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 4224992 0 unused 0 0 # (Cyl. 0 - 2062*) > e: 1228800 0 4.2BSD 0 0 0 # (Cyl. 0 - 599) > f: 1331200 1228800 4.2BSD 0 0 0 # (Cyl. 600 - 1249) > g: 1664992 2560000 4.2BSD 0 0 0 # (Cyl. 1250 - 2062*) > > > Can I just change it via disklabel -e sd2 to > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > b: 1228800 0 swap 0 0 0 # (Cyl. 0 - 599) > c: 4224992 0 unused 0 0 # (Cyl. 0 - 2062*) > f: 1331200 1228800 4.2BSD 0 0 0 # (Cyl. 600 - 1249) > g: 1664992 2560000 4.2BSD 0 0 0 # (Cyl. 1250 - 2062*) I think that's OK. I'm not a total pro at disklabel tho, I'd recommend keeping a backup. > Does changing the value to 5400 from 3600 have any effect, or is it just > info ? It means nothing. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo