Veritas-bu

[Veritas-bu] Tape space

2002-06-05 12:00:46
Subject: [Veritas-bu] Tape space
From: ddunham AT taos DOT com (Darren Dunham)
Date: Wed, 5 Jun 2002 09:00:46 -0700 (PDT)
> 
> Is there an easy way to determine how much actual
> space a backup is using on a DLT tape. Since Netbackup
> reports space used based on uncompressed sizes. 

No, not easily. 

The main problem is that you can't easily tell how well the compression
is working.  For the hacker, there is apparantly a code register on the
device that can be queried via a scsi command.  That register contains
the average compression over the tape.  A little math and you'd get
pretty close.  I don't know of any utilities that are written to query
it, and my programming skills have not improved over the past few years
for me to try.

A smaller problem is that the drive checks blocks during writing, and
can re-record them later in the tape if they are marginal.  This unseen
expansion can use up extra tape, even if you're writing uncompressed.
It's unlikely to add up to much total space on a tape, but it does mean
that you may not necessarily be able to fit one tapes worth of data onto
a second tape.

Most programs and admins just give up and use the total space written on
a tape as only a guideline of how much more is likely to to fit.


-- 
Darren Dunham                                           ddunham AT taos DOT com
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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