John Drescher wrote:
>>>> 1. Was it a bug?
>>> Probably but without the error message it is hard to tell.
>> OK. Here are the error messages:
>>
>> 09-Aug 01:12 epo-dir: Start Backup JobId 1787, 
>> Job=epowork.2007-08-09_01.12.20
>> 09-Aug 01:21 epohost-sd: epowork.2007-08-09_01.12.20 Fatal error: dev.c:362
>> dev.c:356 Unable to open device "DDS-4" (/dev/nst0): ERR=Device or resource 
>> busy
>> 09-Aug 01:21 epohost-sd: epowork.2007-08-09_01.12.20 Fatal error: 
>> device.c:296
>> Unable to open device "DDS-4" (/dev/nst0): ERR=dev.c:356 Unable to open 
>> device
>> "DDS-4" (/dev/nst0): ERR=Device or resource busy
>>
>> 09-Aug 01:21 epowork-fd: epowork.2007-08-09_01.12.20 Fatal error:
>> c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job.c:1602 Bad 
>> response
>> to Append Data command. Wanted 3000 OK data
>> , got 3903 Error append data
>>
> 
> This error looks to me that for some reason at the time of the backup
> bacula could not open the tape drive and has nothing to do with pools.

If I do a restart of the system with the correct tape loaded and then do a 
"status storage" I invariably get this message:

Device status:
Device "DDS-3" (/dev/nst0) is mounted with Volume="EPOL006" Pool="*unknown*"
     Total Bytes Read=0 Blocks Read=0 Bytes/block=0
     Positioned at File=0 Block=0
Device "DDS-4" (/dev/nst0) is not open or does not exist.
Device "FileBackup" (/downloads/bacula-backups) is not open or does not exist.
====

In Use Volume status:
EPOL006 on device "DDS-3" (/dev/nst0)
====

Bacula has correctly read the volume as EPOL006 and clearly doesn't know which 
pool it belongs to and has made a fatal guess of the storage device. At back-up 
time it correctly opens DDS-4 which fails with busy indication because someone 
else (in casu Bacula) has occupied the tape streamer.

Maybe I should report it to bugzilla?

-- 
Erik.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to