home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10194 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.8 KB

  1. Path: sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!news
  2. From: jyacc!dtroxell%aspen@uunet.uu.net (Dan Troxell - SysAdm (NE))
  3. Newsgroups: comp.unix.questions
  4. Subject: dump/rdump in single-user
  5. Message-ID: <32121@adm.brl.mil>
  6. Date: 20 Aug 92 03:20:08 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 38
  9.  
  10. Mark,
  11.  
  12.   >I'm trying to set up a dump schedule for various Suns. I want to dump to a
  13.   >cartridge drive on an IBM RS/6000. So I read the FM and it says that I need
  14.   >to use rdump, and that I should use it from single-user mode. 
  15.   >
  16.   >Mark Flynn
  17.   >Liquid Crystal Institute
  18.   >Kent State University
  19.   >flynn@nematic.kent.edu
  20.  
  21.  
  22. Forget the single-user stuff -- the keywords here for SUN's dump/rdump
  23. are ( quote from SUN ) 
  24.  
  25.     '... on a quiescent system.'
  26.  
  27. This means you will lose updates to files made after the 'dump' takes it's
  28. inode count. Bringing the system up single-user ensures that no one can 
  29. get in the way with their pesky file updates.
  30.  
  31. One way around this is to simply distribute the file /etc/nologin to
  32. all systems. A check for this file's existence takes place during every
  33. login attempt -- if it exists, it displays its text ( like motd ) and boots
  34. the user out. The shutdown command also does this with a certain flag 
  35. ( i ferget ) but then you get those stupid broadcast messages ( and who's
  36. gonna see them at 3am, anyway? ). I have a simple script that sends the 
  37. /etc/nologin's out and then deletes them again upon completion. Be sure to 
  38. run a cron job later on to check for /etc/nologin's -- if there's any 
  39. hangin' around you'll get some angry users. :^)
  40.  
  41. dan
  42.  
  43. ================================================================= 
  44. dan troxell, SysAdm    Jyacc,Inc.    55 William Street Ste 300 
  45. dtroxell@jyacc.com            Wellesley, MA 02181 
  46. uunet!jyacc!dtroxell            617.431.7431 x113 
  47. =================================================================
  48.