home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sysv386 / 16676 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.9 KB  |  48 lines

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