Hello, In
one of our stand-alone servers, with a single tape drive, I am trying to
automate backups as much as possible by having Bacula unmount and eject a tape
when it’s time to be changed, and remount when it has been changed.
There’s a script to do this with the Bacula documentation: #!/bin/sh /full-path/console -c
/full-path/console.conf <\<END_OF_DATA unmount storage=your-storage-name END_OF_DATA # the following is a shell command mt eject /full-path/console -c
/full-path/console.conf <<END_OF_DATA mount storage=your-storage-name END_OF_DATA When I run it, however, while the
unmount and eject work beautifully, the remount fails with the following error: 3901 open device
failed: ERR=dev.c:289 stored: unable to open device /dev/nst0: ERR=Input/output
error At that
point, a subsequent mount attempt succeeds, even when run immediately after
running this script manually. Has anyone else experienced this problem? Details: ·
Gentoo Linux 2.6.13-gentoo-r3 ·
Bacula 1.36.3-r2 (the latest in ·
Internal SCSI DLT VS160 tape drive -- Jeremy Koppel |