home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20562 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  2.2 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ucbvax!lrw.com!leichter
  2. From: leichter@lrw.com (Jerry Leichter)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: SYSDUMP.DMP File Question...
  5. Message-ID: <9301080512.AA12581@uu3.psi.com>
  6. Date: 8 Jan 93 03:50:14 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 43
  11.  
  12. I just wanted to correct a small, very common error:
  13.  
  14.     The crash-dump file must be on the system disk.
  15.  
  16. The crash dump file is opened early in startup, way before you can mount any
  17. disks, so it must, indeed, be on the system disk.
  18.  
  19.                                  You can, however,
  20.     have the system write its crash-dump to the pagefile, but I believe
  21.     that pagefile must be on the system disk to be used as a crash-dump
  22.     area.
  23.  
  24. The dump can go only to the primary pagefile.  The primary pagefile must be
  25. on the system disk, since it is opened at about the same time the crash dump
  26. file is located, very early during system boot.
  27.  
  28. Note that in recent versions of (VMS V5.2 or later?  I'm not sure) you don't
  29. need to have a primary pagefile.
  30.  
  31.            This is done by setting SAVEDUMP to 1.
  32.  
  33. No; SAVEDUMP does something very different.
  34.  
  35. If a crash takes place, there was no SYSDUMP.DMP file when the system booted,
  36. but there is a primary page file, then the dump will be taken to the primary
  37. pagefile.  (Note:  NOT there was no USEFUL SYSDUMP.DMP file - a 0-block
  38. SYSDUMP.DMP file will prevent dumping to the pagefile.)  SAVEDUMP is not
  39. checked.
  40.  
  41. SAVEDUMP is checked AT THE NEXT BOOT.  If, at that time, it is 0, the dump
  42. in the pagefile is ignored and system just starts using the pagefile.  If,
  43. however, it is 1, the parts of the pagefile that contain the dump are marked
  44. off-limits, preserving the dump.  (You normally free them up for use in paging
  45. by using ANALYZE/CRASH/COPY to copy the information to a more convenient
  46. location.  You can also use ANALYZE/CRASH/RELEASE to simply discard the dump.)
  47.  
  48. Note, BTW, that because the dump is ALWAYS taken, and it is the value of
  49. SAVEDUMP defined at the NEXT boot that matters, you can run with SAVEDUMP=0,
  50. effectively ignoring the dumps, and then at some point after a crash do an
  51. interactive boot, set SAVEDUMP to 1, and analyze the dump.
  52.  
  53.                             -- Jerry
  54.  
  55.