Operating System - HP-UX
1752770 Members
5534 Online
108789 Solutions
New Discussion юеВ

How to convert the total blocks written to tap to Gigs

 
SOLVED
Go to solution

How to convert the total blocks written to tap to Gigs

I am backing up to a DLT tape with 40Gig natural and 80Gig compressed format. I am using the compressed format and need to know how to convert what is being backed up to Gigs.

fbackup(3056): total blocks written to output file /dev/rmt/0m: 257433486

What is the conversion to Gigs?
Here is my config file that fbackup uses...
blocksperrecord 256
records 64
checkpointfreq 128
readerprocesses 6
maxretries 4

Thank you for your help.
Mike

2 REPLIES 2
Dave Hutton
Honored Contributor
Solution

Re: How to convert the total blocks written to tap to Gigs

Looking at the man page (fbackup) it says this about block size:
Note also that the blocksize used in
earlier releases (7.0 and before) was 512 bytes, whereas it is now
1024 bytes.

So if a block is 1024 bytes and you wrote 257433486 blocks. You had written 263611889664 bytes.

It's my guess.

Dave

Re: How to convert the total blocks written to tap to Gigs

Ok, I saw that, however... that would mean that my 80Gig compressed mode tape is actually holding 245.51Gig by your 263611889664.00 bite calculation. That is
(((263611889664.00 /1024)/1024)/1024) = 245.51 Gigs. Wouldn't that be impossible?