Date: Sat, 9 Aug 1997 13:43:18 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: Mike Tancsa <mike@sentex.net> Cc: questions@FreeBSD.ORG Subject: Re: changing a partition to swap, is this OK ? Message-ID: <Pine.BSF.3.96.970809134217.6064C-100000@localhost> In-Reply-To: <3.0.2.32.19970809130127.00b09d80@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970809134217.6064C-100000>