seems an access right problem on /dev/st0.
I think the simpler is to add in your Device configuration in
bacula-sd.conf the directive : OfflineOnUnmount = yes
Then you can remove the shell commands with 'mt' in your script.
This directive will eject the tape if an 'umount' or a 'release' is
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Florian Schnabel
Sent: Tuesday, 30 August, 2005 02:34
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Tape ejecting problem
LHERBIER Lois wrote
Hello,
Can you show us
Florian Schnabel wrote:
now for my (hopefully) last problem with bacula :-)
the guy who had this job bevore me (he's not available for questions
right now ..)
did set it up so the tape gets ejected after the daily backup .. for
some reason this doesn't work
i don't know if it could have
LHERBIER Lois wrote
Hello,
Can you show us the content of the file '/etc/bacula/eject_tape', please ?
Loïs Lherbier
whoops .. sorry, of course :-)
#!/bin/sh
bconsole -c /etc/bacula/bconsole.conf END_OF_DATA
unmount storage=Tape
END_OF_DATA
# the following is a shell command
mt -f
Florian Schnabel wrote:
LHERBIER Lois wrote
Hello,
Can you show us the content of the file '/etc/bacula/eject_tape',
please ?
Loïs Lherbier
whoops .. sorry, of course :-)
#!/bin/sh
bconsole -c /etc/bacula/bconsole.conf END_OF_DATA
unmount storage=Tape
END_OF_DATA
# the