Bacula-users

[Bacula-users] seldom working tape (auto)mount (stating user unmounted)

2009-01-15 09:25:22
Subject: [Bacula-users] seldom working tape (auto)mount (stating user unmounted)
From: Olaf Zevenboom <olaf AT artefact DOT nl>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 15 Jan 2009 15:23:16 +0100
Dear List,

We have a Seagate Scorpion DAT DDS-4 STD2401LW Internal SCSI Tape Drive 
(single slot).
I have set Bacula to automount tapes. It does this sometimes but mostly 
I have to manually mount tapes.
For some reason it does not automount although automount=yes is defined 
in Bacula's config. No info in logs on the subject afaik and also no 
email warning that the job cannot run due to a not mounted tape.
When I look at the status through bconsole the SD claims that the drive 
is "user unmounted".
We run 3 jobs every night (in this sequence):
1. backup server
2, verify
3. backup catalog
the last job has a postjob ejecting the tape.

postjob Script:
#! /bin/sh
/etc/bacula/scripts/delete_catalog_backup
echo "unmount DDS-4" | /usr/bin/bconsole -c /etc/bacula/bconsole.conf
mt -f /dev/st0 rewind
mt -f /dev/st0 eject
exit 0


Obviously I can use a cronjob or a prejob on the first job to mount the 
tape, but I prefer to tackle the issue of ignoring the automount. Any 
ideas please on how I can tackle this issue?

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>