Hello, On 9/18/2006 6:30 AM, Michael Brennen wrote: > It appears that the only way to turn off hardware tape compression > is to have RunBeforeJob execute a script that turns off h/w tape > compression with 'mt'. I did not see in either released or > development documentation that there is a %? substitution for the > tape device to be used for the Job about to run; for an autochanger > this would allow turning off compression on just the drive to be > used. Is that perhaps available but undocumented?
To my knowledge - which covers DDS and DLT drives under linux better than other combinations - compression is usually enabled on a per-tape-basis. Meaning that, once the drive encounters a tape with compressed data on it, it will continue compressing data. You have to turn of compression before writing the first blocks of data to any tape to disable compression. What you set with mt is more or less only the default mode for new tapes loaded into the drive. What should work: Load any tape, wait for the drive to settle. Turn off compression, then label the tape using Baculas btape program, for example. If you do this with tapes during recycling this should work, but I think creating a script that is called when a new tape is loaded is not a simple task. What you could try is manually executing the necessary steps, using btape to write an identical volume label, to tapes that are recycled. I used that method to initialze tapes with a new blocksize, and it worked. The above way of turning off compression for existing tapes is definitely no fun when you're dealing with lots and lots of tapes, though... Arno > It is not a problem in this case as I will simply run a script that > disables compression on all four drives. I don't think it will hurt > to hit each drive every time a job is run. > > -- Michael > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users