Amanda-Users

Re: howto determine tape position ???

2004-01-13 14:23:30
Subject: Re: howto determine tape position ???
From: Michael D Schleif <mds AT helices DOT org>
To: amanda mailing list <amanda-users AT amanda DOT org>
Date: Tue, 13 Jan 2004 13:22:10 -0600
* Jon LaBadie <jon AT jgcomp DOT com> [2004:01:13:12:30:56-0500] scribed:
> On Tue, Jan 13, 2004 at 10:17:18AM -0600, Michael D Schleif wrote:
> > At the end of an amanda dump, what is the optimal way to determine the
> > location/position on that tape where the dump completed?
> 
> Not certain what your objective is,
> so I'm not certain in what "units"
> you might need the information.

I am trying to track tape usage statistics over time.

> Do these do anything for you:
> 
> my "mt status" command reports where the tape is positioned
> by tape file number and block number
> 
>   $ mt status
>   HP DDS-3 4mm DAT loader tape drive:
>      sense key(0x0)= No Additional Sense   residual= 0   retries= 0
>      file no= 13   block no= 0
> 
> your amanda report shows the percent of the tape used and the number of
> bytes and files "successfully" written under the "tape usage" section
> 
>   USAGE BY TAPE:
>     Label        Time      Size      %    Nb
>     DS1-01       0:43    2536.3   21.7    25

What does `Nb' mean?  Is that the number of DLE's on tape?

> also in the amanda report is "taper's" report (under Notes:)
> of the ACTUAL number of bytes and files written
> (some may have failed due to an error at the end)
> 
>   NOTES:
>     ...
>     taper: tape DS1-01 kb 2598496 fm 25 [OK]

In your example, what does `fm 25' mean?

Perhaps, I can use numbers already calculated by amanda, rather than
calculating what I want from mt.

Thank you.

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>