Hello,
I'm having an issue after upgrading from version 7 to version 9 where if
I'm restoring from a job that spans more than one tape the job fails as
soon as bacula hits the end of the first tape. Is there a new
configuration option or something that needs to be set so it will wait
for me to load the next tape rather than failing?
Here is my SD config for the tape drive:
Device {
Name = LTO-4
Media Type = LTO-4
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AutoChanger = no;
AlwaysOpen = no;
RemovableMedia = yes;
RandomAccess = no;
Volume Poll Interval = 60;
Maximum File Size = 20GB;
Spool Directory = /mnt/md2/system/var/spool/bacula;
Maximum Open Wait = 1800;
Maximum Blocksize = 262144;
}
.. and the job def's for the restore job and the error below it.
Job {
Name = "RestoreFiles"
Type = Restore
Client=Bigmouth-fd
FileSet="Full Set"
Storage = LTO-4
Pool = File
Max Wait Time = 36000
Messages = RestMessages
Where = /tmp/bacula-restores
}
I've tried adding the "Max Wait Time" and "Volume Poll Interval" fields
but they didn't make any difference.
Server01-dir Start Restore Job RestoreFiles.2017-09-24_10.39.57_10
Using Device "LTO-4" to read.
Server01-sd Ready to read from volume "FULL-002" on Tape device "LTO-4"
(/dev/nst0).
Forward spacing Volume "FULL-002" to addr=0:1
Server01-sd End of Volume "FULL-002" at addr=0:0 on device "LTO-4"
(/dev/nst0).
Server01-sd Warning: acquire.c:279 Read acquire: Wrong Volume mounted on
Tape device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Server01-sd Warning: acquire.c:279 Read acquire: Wrong Volume mounted on
Tape device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Warning: acquire.c:279 Read acquire: Wrong Volume mounted on Tape
device "LTO-4" (/dev/nst0): Wanted FULL-008 have FULL-002
Fatal error: acquire.c:328 Too many errors trying to mount Tape device
"LTO-4" (/dev/nst0) for reading.
Server01-sd Fatal error: mount.c:843 Cannot open Tape Dev="LTO-4"
(/dev/nst0), Vol=FULL-008 for reading.
Elapsed time=03:09:31, Transfer rate=74.62 M Bytes/second
Server01-dir
Error: Bacula Server01-dir 9.0.3 (08Aug17):
Build OS: x86_64-pc-linux-gnu gentoo
JobId: 549
Job: RestoreFiles.2017-09-24_10.39.57_10
Restore Client: Server01-fd
Start time: 24-Sep-2017 10:39:59
End time: 24-Sep-2017 13:49:56
Files Expected: 7,081
Files Restored: 3,225
Bytes Restored: 848,513,430,132
Rate: 74450.6 KB/s
FD Errors: 1
FD termination status: Error
SD termination status: Error
Termination: *** Restore Error ***
Begin pruning Jobs older than 10 years .
No Jobs found to prune.
Begin pruning Files.
No Files found to prune.
End auto prune.
------------------------------------------------------------------------------
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