Are these new tapes? I've seen weird problems like this with bulk-erased tapes. I fixed it by formatting them with Windows version Sony's TapeTool. I'm not sure which variant of Unix you are using but here is a link to the Linux one.
http://sony.storagesupport.com/tapetool/linux.htm -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan To Sent: Wednesday, November 08, 2006 2:22 AM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Backup Method with Multiple Media Types - AIT2 Issue Hi All Many Thanks to everybody who helped out on the multiple media types and correctly scheduling the Full and Differential backups for me. The schedule and media "switch" works now, but... Something is wrong with my Sony AIT2 tape device (or tapes) itself - see log below. I've checked Google for ERR-Invalid argument, and have since used my Cleaning Tape a number of times on the drive and also tried a few new blank tapes on the device. This might not be directly a Bacula issue as I am getting the same errors with btape/test and tar commands. Here is my "tar" test commands and responses: [@ bacula]# mt -f /dev/nst0 rewind [@ bacula]# tar cvf /dev/nst0 . ./ ./mtx-changer ./grant_mysql_privileges ./grant_bacula_privileges ./bacula-sd.conf tar: /dev/nst0: Cannot write: Invalid argument tar: Error is not recoverable: exiting now [@ bacula]# mt -f /dev/nst0 rewind [@ bacula]# tar tvf /dev/nst0 tar: /dev/nst0: Cannot read: Invalid argument tar: At beginning of tape, quitting now tar: Error is not recoverable: exiting now [@ bacula]# mt -f /dev/nst0 rewind Here is my "btape SonyAIT" test results: *test ... 08-Nov 09:21 btape: btape Error: block.c:552 Write error at 0:0 on device /dev/nst0. ERR=Invalid argument. 08-Nov 09:21 btape: btape Error: Backspace record at EOT failed. ERR=Input/output error btape: btape.c:782 Error writing block to device. *quit Can anybody help me out on this please? Is my tape device itself faulty or not compatable? Or are there other configurations that I need to make first? -- Many Thanks Alan To -------- 07-Nov 21:30 Server-dir: Start Backup JobId 26, Job=2006_BCo_Scheduled_Backup.2006-11-07_21.30.00 07-Nov 21:30 Server-dir: Created new Volume "Daily-0001" in catalog. 07-Nov 21:30 Server-sd: 2006_BCo_Scheduled_Backup.2006-11-07_21.30.00 Error: block.c:782 Read error at file:blk 0:0 on device /dev/nst0. ERR=Invalid argument. 07-Nov 21:30 Server-sd: 2006_BCo_Scheduled_Backup.2006-11-07_21.30.00 Error: block.c:552 Write error at 0:0 on device /dev/nst0. ERR=Invalid argument. 07-Nov 21:30 Server-sd: 2006_BCo_Scheduled_Backup.2006-11-07_21.30.00 Fatal error: askdir.c:219 NULL Volume name. This shouldn't happen!!! 07-Nov 21:30 Server-sd: 2006_BCo_Scheduled_Backup.2006-11-07_21.30.00 Fatal error: Job 26 canceled. 07-Nov 21:30 Server-fd: 2006_BCo_Scheduled_Backup.2006-11-07_21.30.00 Fatal error: job.c:1665 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data 07-Nov 21:30 Server-dir: 2006_BCo_Scheduled_Backup.2006-11-07_21.30.00 Error: Bacula 1.36.2 (28Feb05): 07-Nov-2006 21:30:36 JobId: 26 Job: 2006_BCo_Scheduled_Backup.2006-11-07_21.30.00 Backup Level: Differential, since=2006-11-06 21:30:03 Client: Server-fd FileSet: "BCo_All_Files" 2006-10-30 22:34:19 Pool: "DiffPool" Storage: "SonyAIT" Start time: 07-Nov-2006 21:30:02 End time: 07-Nov-2006 21:30:36 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 SD Bytes Written: 0 Rate: 0.0 KB/s Software Compression: None Volume name(s): Volume Session Id: 2 Volume Session Time: 1162813870 Last Volume Bytes: 0 Non-fatal FD errors: 0 SD Errors: 0 FD termination status: Error SD termination status: Error Termination: *** Backup Error *** -------- -----Original Message----- From: Alan To [mailto:[EMAIL PROTECTED] Sent: 06 November 2006 11:37 To: 'bacula-users@lists.sourceforge.net' Subject: RE: [Bacula-users] Backup Method with Multiple Media Types - Resend Hi All Just updated the configuration and attempted to restart Bacula, got this error: bacula-dir: ERROR TERMINATION at run_conf.c:192 Config error: Expected an equals, got: mon : line 610, col 53 of file /etc/bacula/bacula-dir.conf Run = Level=Full Storage="USB2" Pool="FullPool" mon at 22:30 My Schedule part of bacula.dir is: Schedule { Name = "2006BCoCycle" Run = Level=Full Storage="USB2" Pool="FullPool" mon at 22:30 Run = Level=Differential Storage="SonyAIT" DifferentialPool="DiffPool" tue-fri at 22:30 } ...just changed the offending line to say FullPool="FullPool" instead of Pool="FullPool" I'll check over the backups for the next few days and report-back if there are any more problems. -- Many Thanks Alan To ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users