Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 21:09:30 -0700 (PDT)
From:      Frank Mayhar <frank@exit.com>
To:        "Greg 'groggy' Lehey" <grog@FreeBSD.ORG>
Cc:        FreeBSD-hardware@FreeBSD.ORG, FreeBSD-scsi@FreeBSD.ORG
Subject:   Re: Seeking beyond EOF on SCSI DDS tapes
Message-ID:  <200207220409.g6M49Uo4002966@realtime.exit.com>
In-Reply-To: <20020722033643.GA80263@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207220409.g6M49Uo4002966>