General rule is if it is over the native capacity of the media, then compression is working. I am not aware of any tools for Linux to check the status of hardware compression, however you can
check the dip switch on the back of the tape drive to confirm it is on as well. Also, if the backup software allows you to set the job to use hardware compression only, no software, and you are still going over 1GB of the native capacity, then that is a good sign compression is working.
Yes, hardware compression does seem to be turned on by default. Thus, when I tar 37GB of data to a 36GB tape the end results returns no errors and all the data is intact. On the other hand, if it turn on compress (mt -f /dev/st0 compression 1), the compression+compression seems to happen, and the tape fills up.
While I consider this problem resolved, I feel as if the hardware was doing me a favor I didn't ask for, and/or I was making the process more difficult than it needed to be.
at5147
884 Posts
0
October 18th, 2007 05:00
ericleasemorgan
2 Posts
0
October 18th, 2007 14:00
Yes, hardware compression does seem to be turned on by default. Thus, when I tar 37GB of data to a 36GB tape the end results returns no errors and all the data is intact. On the other hand, if it turn on compress (mt -f /dev/st0 compression 1), the compression+compression seems to happen, and the tape fills up.
While I consider this problem resolved, I feel as if the hardware was doing me a favor I didn't ask for, and/or I was making the process more difficult than it needed to be.
Again, thank you very much.