From time to time my library messes up a tape change, but the mtx-changer script (modified by me) detects this and exits with return value of 1 to indicate failure. In this case, bacula kills the job with a Fatal Error. I would prefer that bacula ask for operator intervention to fix the tape load and then continue after I manually mount it. Otherwise all the time it spent writing tapes up to the point of failure is wasted and must be run again. Does that make sense? Is it possible? A feature request maybe?
Here is some sample output from such a case: 11-Jul 06:19 khyber-sd JobId 3179: End of Volume "A0000008" at 197:8966 on device "VXA3drive" (/dev/nst0). Write of 64512 bytes got -1. 11-Jul 06:20 khyber-sd JobId 3179: Re-read of last block succeeded. 11-Jul 06:20 khyber-sd JobId 3179: End of medium on Volume "A0000008" Bytes=196,927,266,816 Blocks=3,052,567 at 11-Jul-2009 06:20. 11-Jul 06:20 khyber-sd JobId 3179: 3307 Issuing autochanger "unload slot 8, drive 0" command. 11-Jul 06:23 khyber-dir JobId 3179: Recycled volume "A0000007" 11-Jul 06:23 khyber-sd JobId 3179: 3301 Issuing autochanger "loaded? drive 0" command. 11-Jul 06:23 khyber-sd JobId 3179: 3302 Autochanger "loaded? drive 0", result: nothing loaded. 11-Jul 06:23 khyber-sd JobId 3179: 3304 Issuing autochanger "load slot 7, drive 0" command. 11-Jul 06:52 khyber-sd JobId 3179: Fatal error: 3992 Bad autochanger "load slot 7, drive 0": ERR=Child exited with code 1. Results=libTool V1.62 - (c) 2002-2004 Exabyte Corp. -- then a bunch of garbage -- 11-Jul 06:52 khyber-sd JobId 3179: Job write elapsed time = 05:43:30, Transfer rate = 9.529 M bytes/second 11-Jul 06:52 khyber-sd JobId 3179: Fatal error: fd_cmds.c:170 Command error with FD, hanging up. Append data error. 11-Jul 06:52 gecko-fd JobId 3179: Fatal error: backup.c:948 Network send error to SD. ERR=Connection reset by peer 11-Jul 06:52 khyber-dir JobId 3179: Error: Bacula khyber-dir 3.0.1 (30Apr09): 11-Jul-2009 06:52:00 -- Mark Nienberg Sent from an invalid address. Please reply to the group. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users