@Win Htin:

You are definitely on the money with your suggested change to bacula-sd.conf 
and your mt commands to set the driver options.  I was getting errors like 
these with my Tandberg SLR7 whenever I tried to append to a tape which had been 
mounted while the system rebooted:-
16-May 23:22 bacula-dir JobId 182: Start Backup JobId 182, 
Job=BackupHomeDir.2010-05-16_23.22.06_04
16-May 23:22 bacula-dir JobId 182: Using Device "SLR7"
16-May 23:22 bacula-sd JobId 182: Volume "Week5-Tape001" previously 
written, moving to end of data.
16-May 23:28 bacula-sd JobId 182: Error: Unable to position to end 
of data on device "SLR7" (/dev/nst0): ERR=
dev.c:937 ioctl MTEOM error on "SLR7" (/dev/nst0). ERR=Input/output 
error.

16-May 23:28 bacula-sd JobId 182: Marking Volume "Week5-Tape001" in 
Error in Catalog.
16-May 23:29 bacula-sd JobId 182: Job 
BackupHomeDir.2010-05-16_23.22.06_04 waiting. Cannot find any appendabl
e volumes.

I could write any time if the tape was initialised, and append while still in 
the same Linux session. This was not due to fixed block size - I had already 
had that problem after erroneously configuring bacula-sd.conf, which meant I 
could never append.

I haven't had time to work out by trial & error eactly which settings make the 
difference, but it is definitely down to the driver writing a MTEOM marker if 
the system is cycled with a tape mounted.

Thanks,
Andrew

+----------------------------------------------------------------------
|This was sent by and...@wasielewski.co.uk via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------

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

Reply via email to