1823062 Members
3157 Online
109645 Solutions
New Discussion юеВ

DDS3 Compressed?

 
SOLVED
Go to solution
Dave La Mar
Honored Contributor

DDS3 Compressed?

I ran fbackup -0i path/to/file -f /dev/rmt/1mn
for a DDS 3 tape.
The file is 22g.
I was not asked for addtional tapes.
Does this mean it compressed automatically?
DDS 3 is 24g compressed.
How do I know the entire file was backed up?
Thanks for any input.
dl
"I'm not dumb. I just have a command of thoroughly useless information."
6 REPLIES 6
harry d brown jr
Honored Contributor
Solution

Re: DDS3 Compressed?

Dave,

you can use frecover, with the "-N" option to list the files on the tape (which will list the "size", which should match what you backed up.


live free or die
harry
Live Free or Die
Dave La Mar
Honored Contributor

Re: DDS3 Compressed?

Excellent Harry, Just what I was looking for.
Will try this.
Thanks.
dl
"I'm not dumb. I just have a command of thoroughly useless information."
Mark Greene_1
Honored Contributor

Re: DDS3 Compressed?

You can also run the fbackup with the -v option to see more messages during the process. Using a log file to which to route both standard out and standard error while using this flag is advisable, as there may be several screens' worth of text, depending upon how many files are being backed-up.

--
mark
the future will be a lot like now, only later
Bill Hassell
Honored Contributor

Re: DDS3 Compressed?

It's important to note that the 'compressed' capacity is nothing but a marketing term and should not be used to determine whether you have enough tapes to backup your system. The capacity of DDS3 is 12 GB. Anything more is 100% dependent on the actual data.

Highly compressable data contains long patterns of the same information or repeated combinations of short data strings. SO if you create a large test file using the prealloc command, that file will be very compressable, perhaps 100:1 or more. But since prealloc only creates a file full of zeros, the result isn't very useful.

If you use the lssf command on the device file, you should see that the BEST density will be selected, meaning compression is turned on. If the file won't completely fit on the tape, fbackup will stop and ask for a new tape.

To see the actual compression ratio on a tape, get a copy of the tapeinfo program from: ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/tapeinfo/


Bill Hassell, sysadmin
Dave La Mar
Honored Contributor

Re: DDS3 Compressed?

Bill -
You are correct. I shows best density.
Thanks.
dl
"I'm not dumb. I just have a command of thoroughly useless information."
Dave La Mar
Honored Contributor

Re: DDS3 Compressed?

For those reading this thread-
The below listed the files only and not sizes.

frecover -f /dev/rmt/1m -rNv > /tmp/logfile 2>&1


The below listed the index which includes the files and sizes.

frecover -I /tmp/logfile2 -f /dev/rmt/1

Thanks people.
dl
"I'm not dumb. I just have a command of thoroughly useless information."