Hello,
It looks like you stumbled into a change they made in the 2.6 kernel, which
will undoubtely cause a lot of people a *lot* of pain. The change prohibits
a program from opening a drive in read/write mode if there is no volume in
the drive.
If this is what is causing your problem, you can solve it by:
1. Ensuring that there is some tape in the drive befort starting the SD,
and before issuing a "mount" command in the console.
2. Upgrade to version 1.38.0 (you might wait for a Win32 fix if you have
Win32 clients).
On Thursday 03 November 2005 18:03, Christoph Haas wrote:
> Evening...
>
> I'm repeatedly seeing the following messages cancelling my backup jobs:
>
> ==============================
> 03-Nov 08:11 torf-dir: Start Backup JobId 206,
> Job=BackupCatalog.2005-11-03_08.10.00
>
> 03-Nov 08:13 torf-sd: BackupCatalog.2005-11-03_08.10.00 Fatal error:
> device.c:317 Unable to open device /dev/nst0. ERR=dev.c:289 stored: unable
> to open device /dev/nst0: ERR=Input/output error
>
> 03-Nov 08:13 torf-fd: BackupCatalog.2005-11-03_08.10.00 Fatal error:
> job.c:1665 Bad response to Append Data command. Wanted 3000 OK data
> , got 3903 Error append data
>
> 03-Nov 08:13 torf-dir: BackupCatalog.2005-11-03_08.10.00 Error: Bacula
> 1.36.2 (28Feb05): 03-Nov-2005 08:13:26
> ==============================
>
> The storage daemon should be able to open /dev/nst0. "lsof" shows
> no other processes accessing it. So I don't see a reason why Bacula
> is unable to open that device. Once I saw that error message (from a status
> email telling me the backup has failed) all subsequent backups will fail
> with the same error. But when I restart both the director and the storage
> daemon I can suddenly run a successful backup.
>
> This is my Device configuration in the storage daemons config file:
>
> Device {
> Name = Streamer
> Media Type = DDS-3
> Archive Device = /dev/nst0
> AutomaticMount = yes;
> AlwaysOpen = no;
> RemovableMedia = yes;
> RandomAccess = no;
> VolumePollInterval = 60
> OfflineOnUnmount = yes
> CloseOnPoll = no
> MaximumOpenWait = 2 days
> }
>
> Is there anything I can try to debug in this special case? It's a DDS-3
> streamer (SCSI) driven by a 2.6.10 Linux kernel. Currently half of my jobs
> need to be re-done manually which is a bit annoying.
>
> I'm running Bacula version 1.36.2 on Debian/Sarge.
>
> Christoph
--
Best regards,
Kern
(">
/\
V_V
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users