🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #10715

Re: using maximum swap

#10715
From: Andrew Gerber
Date: Fri, 03 Feb 1989 06:40
17 lines
1278 bytes
>BTW, if you're intending to set up a second swap area on a new disk,
>*don't* make it the first partition. Unlike regular filesystems, swap
>doesn't care about the disk label in 0/0/0, and it will trash it....

I ran into the exact same problem when attempting to put dual swap
partitions on our 4/110.  After the "swapon" command, the entire disk
(sd2) was unreadable.  I had configured the swap partition as the first
partition, and it had wiped the lablel.

Luckily I had a printout of a dkinfo for that disk, rebuild the label with
diag, and everything was OK.  It's a good idea to keep a copy of the
dkinfo's for all your disks around on paper, just in case.

The solution is to set up the first partition containing only one
cylinder, and then put your swap on sd2b.

Andy Gerber
Technical Details
Message-ID: <8901262001.AA02307@pepper.baars.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!husc6!rice!sun-spots-request
From: salt!pepper!gerber@uunet.uu.net (Andrew Gerber)
Newsgroups: comp.sys.sun
Subject: Re: using maximum swap
Message-ID: <8901262001.AA02307@pepper.baars.com>
Date: 3 Feb 89 06:40:08 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 17
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 26 Jan 89 13:01:15 MST
X-Sun-Spots-Digest: Volume 7, Issue 136, message 2 of 11