Amanda-Users

Re: howto determine tape position ???

2004-01-13 12:33:02
Subject: Re: howto determine tape position ???
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda mailing list <amanda-users AT amanda DOT org>
Date: Tue, 13 Jan 2004 12:30:56 -0500
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.

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


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]

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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