[Info-vax] Delete a file from a tape?
P. Sture
paul.nospam at sture.ch
Wed Oct 14 16:55:09 EDT 2009
In article <Bsn1WPrTcao1 at eisner.encompasserve.org>,
koehler at eisner.nospam.encompasserve.org (Bob Koehler) wrote:
> Do you know how many files are on the tape, prior to the partial
> file? If not you can mount the tape as a labeled tape and use
> DIRECTORY to count the files, but ask for enough directory
> information to force an output line for each file. You'll have to
> abort the operation when the tape drive reads the EOV mark.
>
> Then mount the tape /foreign. Use "set magtape/skip=file:x" where
> x is 3 times the number of backup save sets you want to keep. Then
> "set magtape/end_of_file" twice.
>
> That will make the tape logically end after the last full saveset.
Provided you know the name of the last full saveset, a BACKUP/LIST of
that saveset will also position the tape where you want it.
--
Paul Sture
More information about the Info-vax
mailing list