From owner-freebsd-questions Thu Dec 11 08:52:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA25582 for questions-outgoing; Thu, 11 Dec 1997 08:52:20 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from relay.hq.tis.com (relay.hq.tis.com [192.94.214.100]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA25575 for ; Thu, 11 Dec 1997 08:52:14 -0800 (PST) (envelope-from cvance@tis.com) Received: by relay.hq.tis.com; id LAA26825; Thu, 11 Dec 1997 11:51:13 -0500 (EST) Received: from clipper.hq.tis.com(10.33.1.2) by relay.hq.tis.com via smap (4.0a) id xma026805; Thu, 11 Dec 97 11:50:49 -0500 Received: from tis.com (skippy.hq.tis.com [10.33.112.187]) by clipper.hq.tis.com (8.7.5/8.7.3) with ESMTP id LAA12971; Thu, 11 Dec 1997 11:47:07 -0500 (EST) Message-Id: <199712111647.LAA12971@clipper.hq.tis.com> To: freebsd-questions@freebsd.org cc: cvance@tis.com Subject: Need help recovering from tape (partially overwritten) Date: Thu, 11 Dec 1997 11:47:10 -0500 From: Chris Vance Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I generally store multiple archives on a single tape (2gig DAT) using mt eom; tar cvf /dev/nrst0 . and to restore: mt fsf xxx ; tar xvf /dev/nrst0. Unfortunately, last night I didn't jump to the end of the media before writing a new tar (actually I use scripts to do all this, and one screwed up) so it began to write a new tar file directly to the beginning of the tape. I hit ^C, but the damage was done; it wrote part of the tar file, and an end of media mark. Now I can't jump past the screwed up archive and access subsequent ones on tape; mt won't seek past the end of the first archive. I know the rest of the archives on the tape are still there, if I can just seek past that first archive (and the eom mark). I only overwrote the first 300k of the first archive. If I lose the first one on the tape, that's fine, I just want to restore the other 1+GB of archives. How can I retrieve the rest of the archives off the tape? thanks for the help, chris.