From owner-freebsd-scsi Sun Jul 21 21: 9:43 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7F9037B400; Sun, 21 Jul 2002 21:09:39 -0700 (PDT) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CE2D43E3B; Sun, 21 Jul 2002 21:09:37 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.12.3/8.12.3) with ESMTP id g6M49Uji031922; Sun, 21 Jul 2002 21:09:32 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.12.3/8.12.2) with ESMTP id g6M49Uh4002967; Sun, 21 Jul 2002 21:09:30 -0700 (PDT) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.12.3/8.12.3/Submit) id g6M49Uo4002966; Sun, 21 Jul 2002 21:09:30 -0700 (PDT) From: Frank Mayhar Message-Id: <200207220409.g6M49Uo4002966@realtime.exit.com> Subject: Re: Seeking beyond EOF on SCSI DDS tapes In-Reply-To: <20020722033643.GA80263@wantadilla.lemis.com> To: "Greg 'groggy' Lehey" Date: Sun, 21 Jul 2002 21:09:30 -0700 (PDT) Cc: FreeBSD-hardware@FreeBSD.ORG, FreeBSD-scsi@FreeBSD.ORG Reply-To: frank@exit.com X-Copyright0: Copyright 2002 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg 'groggy' Lehey wrote: > Idiot that I am, I managed to overwrite the beginning of an important > tape backup with a small quantity of other data. The backup is on a > DDS-4 cartridge, a total of 31 separate files containing about 35 GB > of data. It's clear that the first one or two files have been > overwritten, but after that the original data is still on the tape, > and since it's in separate files, it should be readable--*if* I can > get to it. All positioning commands that I know stop after a double > tape mark. Is there any diagnostic command which can get beyond the > double tape mark? An 'mt -f /dev/nrsa0 fsf' a couple of times should get you past the file mark. Then just dd. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message