home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 19774 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  4.6 KB

  1. Path: sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Writeback Cache and other trivia
  5. Date: 23 Dec 1992 12:24:19 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 81
  8. Distribution: world
  9. Message-ID: <1h9lpjINN1c9@gap.caltech.edu>
  10. References: <1992Dec22.220607.8221@news.acns.nwu.edu>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <1992Dec22.220607.8221@news.acns.nwu.edu>, jweiss@casbah.acns.nwu.edu (Jerry Weiss) writes:
  15. =During a regular test of my backup procedures (ie: my system crashed and
  16. =when it came back up a few things didn't work ;-( )
  17.  
  18. But for it to be a REAL test of you BACKUP procedures, it had to happen while
  19. you were doing a BACKUP:
  20.     FIRST RULE OF SYSTEM MANAGEMENT:  You system WILL crash while you're
  21.     doing a BACKUP, especially if it's the first BACKUP in 6 months!
  22.  
  23. =I discovered that I did
  24. =not have a copy of jbsysqueue.dat on my daily incremental backups
  25. =[backup/mod/since=backup....].
  26.  
  27. A suggestion:  Use:
  28.     BACKUP/MOD/SINCE=BACKUP/IGNORE=INTERLOCK
  29. unless you've got a lot of relational database stuff going.  When BACKUP comes
  30. across JBCSYSQUE.DAT, it'll WARN you that someone else (JOBCTL) has the file
  31. open for WRITE, but it'll STILL make a copy of it.  For JBCSYSQUE.DAT, the only
  32. problem you're risking is that when you reboot after restoring from the BACKUP,
  33. an old batch job might get restarted.
  34.  
  35. =I pulled a slightly older copy off my full
  36. =image backup and sat down and tried to understand why.  Jbsysqueue.dat is
  37. =one of those files that is always open and the modified field in the
  38. =directory header is not updated.
  39.  
  40. Yup.  That's why I recommend /IGNORE=INTERLOCK unless you've got files where
  41. that qualifier would cause problems.
  42.  
  43. =Is there a standard way to mark the file as modified so it gets picked
  44. =up normally in this situation?  I've RTFM but it doesn't give me any
  45. =insight into this particular situation.
  46.  
  47. You can't "mark" it.  But, if your system doesn't have applications that put
  48. files in inconsistent states across QIOs, /IGNORE=INTERLOCK will solve your
  49. problem.
  50.  
  51. =Should I just make a copy before my daily backups ?
  52. =[backup/ignore=(interlock) jbsysqueue.dat copy_of_jbsysqueue.dat]
  53.  
  54. That's one way to do it.  In fact, if you've got other applications that might
  55. not like the /IGNORE=INTERLOCK qualifier, that's the BEST way to do it;  for a
  56. vanilla VMS system, JBCSYSQUE.DAT is the *ONLY* file that you'd really want to
  57. back up that needs this qualifier (well, OK, if you're REALLY
  58. security-conscious, things like OPERATOR.LOG should also be backed up, but I'm
  59. assuming the querant isn't working for the NSA).
  60.  
  61. =Does the mount/cache=writethrough option have any bearing on this problem?
  62. =If so, how does one set this for the system disk?
  63.  
  64. No.  Caching is "transparent to the user."  Including a user running BACKUP. 
  65. Caching only becomes non-transparent when, e.g. you have a power failure, and
  66. the stuff you "wrote" to disk during the last few minutes turns out only to
  67. have been written to cache, but never actually made it to the disk.
  68.  
  69. =Any there other files in VMS (not counting 3rd party software) that
  70. =require special attention?
  71.  
  72. For vanilla VMS, at least through v5.4-2, JBCSYSQUE.DAT is the only special
  73. file, if you're concerned mostly about rebooting and having everything work
  74. right.  If your real security-conscious, there are a couple of other files
  75. (OPERATOR.LOG, and at least one AUDIT file) that you've got to worry about.
  76.  
  77. =Thanks for any help, pointers or suggestions you may offer.
  78.  
  79. Once again, I beg Jerry's pardon for using him as a good example.  Here is a
  80. man who's taken the trouble to learn everything that the on-line HELP facility
  81. can tell him, and even to RTFM.  He's now wondering about some items that TFM
  82. wasn't very clear on.  He's stated his question clearly, and shown that if he
  83. gets an answer, he's capable of understanding it.  He's clearly demonstrated a
  84. willingness to take the trouble to learn about VMS.  It's my fervent hope that
  85. he'll become a long-time participant in this newsgroup.  We need more people
  86. like him!
  87. --------------------------------------------------------------------------------
  88. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  89.  
  90. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  91. understanding of astronomy is purely at the amateur level (or below).  So
  92. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  93. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  94. hold me responsible for it, but my organization had nothing to do with it.
  95.