In previous two tutorials we managed to get
Bacula Software installed on our system. If you have missed the two previous articles I recommend to pay a visit to them.
Using Bacula with HP autoloaders | Basics
Using Bacula with HP autoloaders | Installation
So our installation is now complete. The Bacula files will be located in /usr/local/bacula with the following directory structure:
The above shows us that we have 4 tape cassettes loaded in the autoloader, left magazine(count starts from left magazine, slot 1) and the cassette in slot 4 (left magazine, the one in the back of the autoloader) is loaded into slot 0. This means that we can write to it.
Here are some useful commands:
mt -f /dev/st0 rewind - rewind the cassette, this works just like the cassette in your ex-walkman :)
mt -f /dev/st0 weof - write EndOfFile marks at position 0 on the cassette
mt -f /dev/st0 status - check the status of the cassette.