home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / ultrix / 8940 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  2.1 KB

  1. Path: sparky!uunet!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!nabeth!alan
  2. From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: Swap area on Dec5000
  5. Message-ID: <1992Dec17.184603.19062@nntpd2.cxo.dec.com>
  6. Date: 17 Dec 92 18:46:03 GMT
  7. References: <16DEC199221211918@csa1.lbl.gov>
  8. Sender: alan@nabeth (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
  9. Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
  10. Organization: Digital Equipment Corporation
  11. Lines: 36
  12.  
  13.  
  14. In article <16DEC199221211918@csa1.lbl.gov>, tonse@csa1.lbl.gov (Shaheen R Tonse (510)-486-6349) writes:
  15. >
  16. > [ Example partition tables deleted... ]
  17. >
  18. >A colleague tells me that it is useless to just make new b partitions and 
  19. >expect the system to know that they are available for swap area, unless one 
  20. >somehow re-compiles this information into the kernel. Is this true, and if so, 
  21. >is it "easy" to do?
  22.  
  23. It is both true and easy to do.  Find the config line in the kernel
  24. configuration file (/sys/conf/mips/YOURHOSTNAME).  Observe the "swap on ..."
  25. part of the line.  This is what you modify to add new page/swap devices.
  26. For example, if I want to add rz8b and rz16b:
  27.  
  28. config vmunix root on rz0b swap on rz0b and rz8b and rz16b dumps on rz0b
  29.  
  30. Then use "doconfig -c YOURHOSTNAME" to build the new kernel.  It will
  31. say where the new kernel is when done.  Save the old one somewhere and
  32. copy the new to /vmunix and reboot.  Then add lines to /etc/fstab to
  33. let swapon(8) know that it can use those devices.  Such lines would
  34. look like:
  35.  
  36.     /dev/rz8b::sw:0:0:ufs::
  37.     /dev/rz16b::sw:0:0:ufs::
  38.  
  39. P.S.  Recently, in answer to another page/swap space question, I had
  40.       wondered at what would happen if the devices were different
  41.       sizes.  Earlier this week, I found it out; it uses the smallest
  42.       size as the limit on the size of all the members.  I haven't
  43.       yet checked to see if the extra space, shows up as "wasted".
  44.  
  45. >                Regards, S.Tonse.
  46. >
  47. --
  48. Alan Rollow                alan@nabeth.cxo.dec.com
  49.