home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aux / 3250 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.7 KB

  1. Path: sparky!uunet!sun-barr!ames!data.nas.nasa.gov!taligent!apple!mumbo.apple.com!gallant.apple.com!chuq
  2. From: chuq@gallant.apple.com (Chuq Von Rospach)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: rdump/dump.bsd --> bad sblock magic number
  5. Message-ID: <1992Aug27.220048.21817@gallant.apple.com>
  6. Date: 27 Aug 92 22:00:48 GMT
  7. References: <khj.714865647@beagle>
  8. Organization: I is a writur
  9. Lines: 37
  10.  
  11. khj@cs.appstate.edu (Kenneth H. Jacker) writes:
  12.  
  13. >    # rdump 0uf sc:/dev/rmt0h /
  14. >      DUMP: Date of this level 0 dump: Wed Aug 26 16:25:02 1992
  15. >      DUMP: Date of last level 0 dump: the epoch
  16. >      DUMP: Dumping / to /dev/rmt0h on host sc
  17. >  ==>      DUMP: bad sblock magic number
  18. >      DUMP: The ENTIRE dump is aborted.
  19.  
  20. bad sblock messages usually mean that whatever you're trying to dump doesn't
  21. have a superblock. Every time I've seen it it's because of a problem in the
  22. parameter list (i.e. a typo). 
  23.  
  24. In this case, it's because the file specification is wrong. A/UX's dump.bsd
  25. doesn't understand '/' as a filesystem, opens up '/' as a special device and
  26. tries to read the superblock out of it, which doesn't work.
  27.  
  28. instead of 
  29.  
  30. # dump.bsd 0uf /dev/null /
  31.  
  32. you should use
  33.  
  34. # dump.bsd 0uf /dev/null /dev/dsk/c0d0s0
  35.  
  36. and it'll work (at least, on my box).
  37.  
  38. Note: some versions of dump do accept '/', others don't. This one doesn't.
  39. Confusing as hell until you figure it out, but invariably the sblock
  40. message is because whatever filespec it's given to back up isn't a special
  41. device.
  42.  
  43. -- 
  44. Chuq "IMHO" Von Rospach, ESD Support & Training (DAL/AUX) =+= Member, SFWA
  45.   chuq@apple.com | GEnie: MAC.BIGOT | ALink:CHUQ =+= Editor, OtherRealms
  46.     A real SF writur with stories in ALTERNATE KENNEDYS and THE 
  47.       FURTHER ADVENTURES OF BATMAN, in better bookstores now!
  48.