Article View: comp.sys.next.sysadmin
Article #2151Re: Dump/restore problem with DAT-drive (Major hint!!!)
From: uunetlkbalkb Larry Blische
Date: Thu, 17 Dec 1992 15:22
Date: Thu, 17 Dec 1992 15:22
131 lines
4972 bytes
4972 bytes
In article <MAX.92Dec16104919@Kolmogorov.gac.edu> writes: > In article <MAX.92Dec16102112@Kolmogorov.gac.edu> > max@Kolmogorov.gac.edu (Max Hailperin) (yes that's me) writes: > > [A bunch of stuff about tape read errors that would have been > correct, except that I'm brain dead and got "allow" and "inhibit" > backwards.] > > The correct mode of operation for restoring from a DAT drive is > *inhibit* illegal length, *not* allow. This is what Sears's > workaround does by using the exabyte device. The correct solution, > then, is *not* the mtalill program I posted, but rather the converse, > which I naturally call mtinill. This is what I actually run in my > /etc/rc.local. Please excuse my earlier error. > [mtinill c program removed] I made a level 0 dump of my 2.1 system before the 3.0 installation. I can restore -i and cd and ls all around the tape, so I know that restore can read the table of contents. I can add files to the extract list without complaints but restore seems to get confused when I say extract. % mtset -v -i setting tape device (/dev/nrst0) to variable block size mode with illegal length reporting inhibited % mtinill % mt -f /dev/nrst0 rewind % /usr/etc/restore if /dev/nrst0 restore > ls .: .NeXT/ .macros NextTour/ lost+found/ .bindings .pipedict bin/ mach .commanddict .profile brandon/ me/ .cshrc LocalApps/ cory/ odmach .cshrc~ LocalLibrary/ dev private/ .cubxwrc Mailboxes/ etc sdmach .hidden Net/ jane/ tmp .hidden.org NextAdmin/ justin/ usr/ .indent.pro NextApps/ lib/ .login NextDeveloper/ lkb/ .logout NextLibrary/ lkbassoc/ restore > cd NextLibrary restore > ls ./NextLibrary: Bookshelves/ Fonts/ Literature/ Packages/ Documentation/ Images/ Mathematica/ References/ Fax/ Keyboards/ Music/ Sounds/ restore > cd Literature restore > ls ./NextLibrary/Literature: Shakespeare/ restore > cd Shakespeare restore > ls ./NextLibrary/Literature/Shakespeare: .dir.tiff Glossary/ .index/ Plays/ .list Sonnets_and_A_Lovers_Complaint/ .places Various_Poems/ Commendatory_Poems_and_Prefaces restore > add .dir.tiff restore > extract You have not read any tapes yet. Unless you know which volume your file(s) are on you should start with the last volume and work towards towards the first. Specify next volume #: 1 You have read volumes: 1 Specify next volume #: 1 Mount tape volume 1 then enter tape name (default: /dev/nrst0) Tape/disk read error while skipping over inode 7 continue? [yn] y tape is not dump tape You have read volumes: 1 Specify next volume #: 0 Volume numbers are positive numerics You have read volumes: 1 Specify next volume #: 2 Mount tape volume 2 then enter tape name (default: /dev/nrst0) Tape/disk read error while skipping over inode 7 continue? [yn] y tape is not dump tape You have read volumes: 1 Specify next volume #: Specify next volume #: . Volume numbers are positive numerics You have read volumes: 1 Specify next volume #: ? Volume numbers are positive numerics You have read volumes: 1 Specify next volume #: quit Volume numbers are positive numerics You have read volumes: 1 Specify next volume #: 1 Mount tape volume 1 then enter tape name (default: /dev/nrst0) Tape/disk read error while skipping over inode 7 continue? [yn] n % Here is the unsuccessful result that I get after running mtinill: % mtinill % mt -f /dev/nrst0 rewind % /usr/etc/restore xf /dev/nrst0 ./NextLibrary/Literature/Shakespeare/.dir.tiff You have not read any tapes yet. Unless you know which volume your file(s) are on you should start with the last volume and work towards towards the first. Specify next volume #: 1 You have read volumes: 1 Specify next volume #: 1 Mount tape volume 1 then enter tape name (default: /dev/nrst0) Tape/disk read error while skipping over inode 7 continue? [yn] n % Any ideas? PS. I'm NOT really trying to get that tiff, it's just an example! -- Larry Blische uunet!lkba!lkb LKB Associates, Inc. 3118 Dunglow Road Dundalk, Maryland 21222-5304 USA
Technical Details
Message-ID:
<1992Dec17.152252.1591@lkba.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!lkba!lkbReferences:
<MAX.92Dec16104919@Kolmogorov.gac.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!lkba!lkb From: uunet!lkba!lkb (Larry Blische) Subject: Re: Dump/restore problem with DAT-drive (Major hint!!!) Message-ID: <1992Dec17.152252.1591@lkba.uucp> Sender: lkb@lkba.uucp (Larry Blische) Reply-To: uunet!lkba!lkb Organization: LKB Associates, Inc. References: <MAX.92Dec16104919@Kolmogorov.gac.edu> Date: Thu, 17 Dec 1992 15:22:52 GMT Lines: 131