home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / software / 892 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  2.1 KB

  1. Path: sparky!uunet!tdat!tos28.teradata.com!cyk
  2. From: cyk@tos28.teradata.com
  3. Newsgroups: comp.sys.next.software
  4. Subject: SwapFile.
  5. Keywords: /etc/fstab /private/vm/swapfile /etc/swaptab
  6. Message-ID: <776@tdat.teradata.COM>
  7. Date: 29 Jul 92 00:29:55 GMT
  8. Sender: news@tdat.teradata.COM
  9. Reply-To: cyk@tos28.teradata.com ()
  10. Distribution: world
  11. Organization: ATT/NCR Teradata Business Unit
  12. Lines: 48
  13. Originator: cyk@tos28
  14.  
  15. Hi guys,
  16.  
  17.    I have been trying to designate the 240 MB internal drive, which
  18. is not my boot device, as to be the swap device without success.  Can
  19. anybody give me some help?   Thanks in advance.
  20.  
  21.    A little bit more detail about my hardware configuration and the
  22. unsuccessful attemp I tried are given in the following:
  23.  
  24.      1) My NeXT is equipped with one 220 MB internal drive and
  25.         one 520 MB external drive.  The external drive has a SCSI
  26.         ID of 0; and it's the boot device.  The internal drive 
  27.         has a SCSI ID of 1; and it's mounted at "/local".
  28.  
  29.      2) The internal drive currently does not contain any data
  30.         other than a copy of the system software.  It acts as a
  31.         backup boot device in case the external drive fails. 
  32.  
  33.         In order to  better utilize the internal drive, I would
  34.         like to put the swap file on it.  
  35.  
  36.      3) I made the following unsuccessful attempt:
  37.  
  38.          Step 1: My internal drive is mounted at /local.
  39.  
  40.          Step 2: I deleted /local/private/vm/swapfile.
  41.  
  42.          Step 3: I modified the /etc/swaptab file to
  43.                  contain a single entry looking like:
  44.  
  45.                  /local/private/vm/swapfile .....
  46.  
  47.          Step 4: I rebooted the machine in verbose
  48.                  mode; and, observed a message like:
  49.  
  50.                  mach_swapon: /local/private/vm/swapfile failed.
  51.  
  52.          Step 6: After the machine was up, I logged on
  53.                  and observed that /local/private/vm/swapfile
  54.                  was not created.  
  55.  
  56.          Step 7: I backed out the change to /etc/swaptab,
  57.                  rebooted the machine in verbose mode and
  58.                  mach_swapon was successful.
  59.  
  60.           
  61.                              ------  Chi Ku
  62.  
  63.