There is a bug in version 9.0.4 regarding end-of-media handling that is likely affecting you. It was fixed in 9.0.5.

On 11/10/2017 6:18 AM, Juergen Averbeck wrote:
Hi,

during a backup my tape device reached "end of medium" and instead of waiting for a new medium, bacula is trying for several minutes "aquiring" a new medium. The type device is continual reading and rewinding the old (full) medium. On umount requests I only receive the error message:

3902 Device ""LTO2" (/dev/nst0)" is busy in acquire.

For a successfull umount I have to wait until the job fails:

10-Nov 11:53 aragorn-sd JobId 41: Fatal error: Too many tries: Wrong Volume mounted on Tape device "LTO2" (/dev/nst0): Wanted lto200-0003 have lto200-0002 10-Nov 11:53 aragorn-fd JobId 41: Fatal error: job.c:2699 Bad response from SD to Append Data command. Wanted 3000 OK data , got len=117 msg="3903 Error append data: Wrong Volume mounted on Tape device "LTO2" (/dev/nst0): Wanted lto200-0003 have lto200-0002  " 10-Nov 11:53 aragorn-dir JobId 41: Error: Bacula aragorn-dir 9.0.4 (06Sep17):
  Build OS:               x86_64-pc-linux-gnu redhat (Core)
  ....
  Non-fatal FD errors:    2
  SD Errors:              1
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***


My settings in bacula-sd.conf

Device {
  Name = LTO2
  Media Type = LTO-2
  Archive Device = /dev/nst0
  AutomaticMount = no;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RequiresMount = no;
  RandomAccess = no;
  AutoChanger = no;
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

I was using this setup since bacula version 5.2 without any problems.
I setup a new server and also installed bacula in a newer version (9.0.4).

I hope, somebody can help me out of this. Since I was reading the manual and searching the internet without finding any more hints to solve this problem.

Kind regards and thanks in advance,

Juergen



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to