home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / sysadmin / 7106 < prev    next >
Encoding:
Text File  |  1992-12-17  |  4.7 KB  |  144 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!lkba!lkb
  3. From: uunet!lkba!lkb (Larry Blische)
  4. Subject: Re: Dump/restore problem with DAT-drive (Major hint!!!)
  5. Message-ID: <1992Dec17.152252.1591@lkba.uucp>
  6. Sender: lkb@lkba.uucp (Larry Blische)
  7. Reply-To: uunet!lkba!lkb
  8. Organization: LKB Associates, Inc.
  9. References: <MAX.92Dec16104919@Kolmogorov.gac.edu>
  10. Date: Thu, 17 Dec 1992 15:22:52 GMT
  11. Lines: 131
  12.  
  13. In article <MAX.92Dec16104919@Kolmogorov.gac.edu>  writes:
  14. > In article <MAX.92Dec16102112@Kolmogorov.gac.edu>
  15. > max@Kolmogorov.gac.edu (Max Hailperin) (yes that's me) writes:
  16. >    [A bunch of stuff about tape read errors that would have been
  17. >     correct, except that I'm brain dead and got "allow" and "inhibit"
  18. >     backwards.]
  19. > The correct mode of operation for restoring from a DAT drive is
  20. > *inhibit* illegal length, *not* allow.  This is what Sears's
  21. > workaround does by using the exabyte device.  The correct solution,
  22. > then, is *not* the mtalill program I posted, but rather the converse,
  23. > which I naturally call mtinill.  This is what I actually run in my
  24. > /etc/rc.local.  Please excuse my earlier error.
  25. [mtinill c program removed]
  26.  
  27. I made a level 0 dump of my 2.1 system before the 3.0 installation.  I can  
  28. restore -i and cd and ls all around the tape, so I know that restore can  
  29. read the table of contents.  I can add files to the extract list without  
  30. complaints but restore seems to get confused when I say extract.
  31.  
  32. % mtset -v -i     
  33. setting tape device (/dev/nrst0) to variable block size mode with illegal  
  34. length reporting inhibited
  35. % mtinill
  36. % mt -f /dev/nrst0 rewind
  37. % /usr/etc/restore if /dev/nrst0
  38. restore > ls
  39. .:
  40.  .NeXT/           .macros          NextTour/        lost+found/
  41.  .bindings        .pipedict        bin/             mach
  42.  .commanddict     .profile         brandon/         me/
  43.  .cshrc           LocalApps/       cory/            odmach
  44.  .cshrc~          LocalLibrary/    dev              private/
  45.  .cubxwrc         Mailboxes/       etc              sdmach
  46.  .hidden          Net/             jane/            tmp
  47.  .hidden.org      NextAdmin/       justin/          usr/
  48.  .indent.pro      NextApps/        lib/
  49.  .login           NextDeveloper/   lkb/
  50.  .logout          NextLibrary/     lkbassoc/
  51.  
  52. restore > cd NextLibrary
  53. restore > ls
  54. ./NextLibrary:
  55.  Bookshelves/     Fonts/           Literature/      Packages/
  56.  Documentation/   Images/          Mathematica/     References/
  57.  Fax/             Keyboards/       Music/           Sounds/
  58.  
  59. restore > cd Literature
  60. restore > ls
  61. ./NextLibrary/Literature:
  62.  Shakespeare/
  63.  
  64. restore > cd Shakespeare
  65. restore > ls
  66. ./NextLibrary/Literature/Shakespeare:
  67.  .dir.tiff                         Glossary/
  68.  .index/                           Plays/
  69.  .list                             Sonnets_and_A_Lovers_Complaint/
  70.  .places                           Various_Poems/
  71.  Commendatory_Poems_and_Prefaces
  72.  
  73. restore > add .dir.tiff
  74. restore > extract
  75. You have not read any tapes yet.
  76. Unless you know which volume your file(s) are on you should start
  77. with the last volume and work towards towards the first.
  78. Specify next volume #: 1
  79. You have read volumes: 1
  80. Specify next volume #: 1
  81. Mount tape volume 1
  82. then enter tape name (default: /dev/nrst0) 
  83. Tape/disk read error while skipping over inode 7
  84. continue? [yn] y
  85. tape is not dump tape
  86. You have read volumes: 1
  87. Specify next volume #: 0
  88. Volume numbers are positive numerics
  89. You have read volumes: 1
  90. Specify next volume #: 2
  91. Mount tape volume 2
  92. then enter tape name (default: /dev/nrst0) 
  93. Tape/disk read error while skipping over inode 7
  94. continue? [yn] y
  95. tape is not dump tape
  96. You have read volumes: 1
  97. Specify next volume #: 
  98. Specify next volume #: .
  99. Volume numbers are positive numerics
  100. You have read volumes: 1
  101. Specify next volume #: ?
  102. Volume numbers are positive numerics
  103. You have read volumes: 1
  104. Specify next volume #: quit
  105. Volume numbers are positive numerics
  106. You have read volumes: 1
  107. Specify next volume #: 1
  108. Mount tape volume 1
  109. then enter tape name (default: /dev/nrst0) 
  110. Tape/disk read error while skipping over inode 7
  111. continue? [yn] n
  112.  
  113. Here is the unsuccessful result that I get after running mtinill:
  114.  
  115. % mtinill
  116. % mt -f /dev/nrst0 rewind
  117. % /usr/etc/restore xf /dev/nrst0  
  118. ./NextLibrary/Literature/Shakespeare/.dir.tiff
  119. You have not read any tapes yet.
  120. Unless you know which volume your file(s) are on you should start
  121. with the last volume and work towards towards the first.
  122. Specify next volume #: 1
  123. You have read volumes: 1
  124. Specify next volume #: 1
  125. Mount tape volume 1
  126. then enter tape name (default: /dev/nrst0) 
  127. Tape/disk read error while skipping over inode 7
  128. continue? [yn] n
  129.  
  130. Any ideas?
  131.  
  132. PS. I'm NOT really trying to get that tiff, it's just an example!
  133.  
  134. -- 
  135. Larry Blische              uunet!lkba!lkb
  136. LKB Associates, Inc.
  137. 3118 Dunglow Road
  138. Dundalk, Maryland 21222-5304 USA
  139.