home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sysv386
- Path: sparky!uunet!maxed!ed
- From: ed@maxed.amg.com (Ed Whittemore)
- Subject: Re: DEcreasing ISC swap space?
- Message-ID: <By2MCF.Lt3@maxed.amg.com>
- Organization: American Micro Group, Ft. Lee NJ
- References: <1992Nov18.230005.20675@gremlin.muug.mb.ca>
- Date: Sat, 21 Nov 1992 14:45:50 GMT
- Lines: 37
-
- In article <1992Nov18.230005.20675@gremlin.muug.mb.ca> charles@gremlin.muug.mb.ca (Charles) writes:
- >
- >Is there anyway to decrease the amount of swap space I gave ISC 2.2.1 when
- >I installed it? I originally gave it 30 megs of space,
- >and now 6 months later, I find the most I've ever used is 5 megs, so I
- >figure I can safely drop it down to 16 meg and put the other 14 megs to
- >better use.
- >
- >I would hate to have to take the chance reformatting and reinstalling if I
- >don't have to.
- >
- >Thanks..Charles
- >
- Your swap space is a 'soft' partition. You can reduce it in size by
- making a smaller soft partition for swap and making another mountable
- filesystem partition with what's left over, in place of your current
- swap partition, or effectively add the left over space by deleting
- the adjacent partition and remaking both as one.
-
- If you want to see what partitions are available for use and what
- you have allocated now give the command:
-
- mkpart -tvpa disk0
-
- or if not disk0 whatever your disk is called in the /etc/partitions
- file. You'll want to check out the man pages for mkpart, mkfs, labelit,
- swap. You will have to edit the parttions file by hand to reflect your
- new values, and use them with mkpart. You may want to practice on
- an unneccesary partition first!
-
- But you need at least as much swap space as you have memory and you
- actually swap to, since in the case of a panic and crash you need
- someplace for the memory image to go, and if it reaches the end of
- your swap space it will happily begin writing over the next partition.
- --
- Ed Whittemore uunet!maxed!ed ed@maxed.amg.com
- American Micro Group, Inc. 201-944-3293
-