* [Q] how to list #/size of dumpfiles on tape
@ 1996-04-18 4:00 John Haro
1996-04-21 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 2+ messages in thread
From: John Haro @ 1996-04-18 4:00 UTC (permalink / raw)
I need some kind of way to do a listing on my DEC TZ87 tape drive to find out
how many and number of dumpfiles so I know how much tape I have left.
On DEC Alphastation600 Digital UNIX32C, I presently do nightly advfs vdumps
that append to eachother on a TK87 DLT tape drive.
Any scripts out there that could basically give me a listing? (like VMS does on
backup saveset files).
Thanks, John.
pls email back to
haro@fclzoo.itdl.ds.boeing.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Q] how to list #/size of dumpfiles on tape
1996-04-18 4:00 [Q] how to list #/size of dumpfiles on tape John Haro
@ 1996-04-21 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1996-04-21 4:00 UTC (permalink / raw)
In article <Dq2DDn.MoD@plato.ds.boeing.com>, John Haro <haro@fclzoo.itdl.ds.boeing.com> writes:
>I need some kind of way to do a listing on my DEC TZ87 tape drive to find out
>how many and number of dumpfiles so I know how much tape I have left.
You could start with:
% dd if=/dev/nrmt#h of=/dev/null bs=block-size-of-dump
Repeat until end of tape. Each dd(1) command will print the
number of tape records read. Multiply by the block size and
you know how much uncompressed tape capacity has been used.
But, there's the problem; UNCOMPRESSED tape capacity. It may
be hard to get the running compression ratio (the drive may
keep it in a mode page). Without knowing how well the data
compresses (since the TZ87 does compression), you won't be
able to tell accurately how much more data a tape can hold.
Dump also writes this information to /dev/tty. Depending on how
your script is written, it may be possible to capture that
information.
>
>Thanks, John.
>
>pls email back to
> haro@fclzoo.itdl.ds.boeing.com
>
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-04-21 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-18 4:00 [Q] how to list #/size of dumpfiles on tape John Haro
1996-04-21 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox