Thx for this information. I will investigate why it does not work for me.
Thomas a écrit : > i can cancel the job while it is waiting for the mount. > > after loading the wrong volume, the job waits for the mount: > > 30-Okt 16:13 backup-dir JobId 55214: Start Restore Job > RestoreFiles.2008-10-30_16.13.55 > 30-Okt 16:13 backup-dir JobId 55214: Using Device "JBBB-1" > 30-Okt 16:13 backup-sd-bb JobId 55214: Invalid slot=0 defined in catalog for > Volume "FUL099" on "JBBB-1" (/dev/nst0). Ma > nual load may be > required. > 30-Okt 16:16 backup-sd-bb JobId 55214: Warning: acquire.c:260 Wrong Volume > mounted on device "JBBB-1" (/dev/nst0): Wanted FUL099 have INC012 > 30-Okt 16:16 backup-sd-bb JobId 55214: 3301 Issuing autochanger "loaded? > drive 0" command. > 30-Okt 16:16 backup-sd-bb JobId 55214: 3302 Autochanger "loaded? drive 0", > result: nothing loaded. > 30-Okt 16:16 backup-sd-bb JobId 55214: 3304 Issuing autochanger "load slot > 21, drive 0" command. > *m > 30-Okt 16:16 backup-sd-bb JobId 55214: 3305 Autochanger "load slot 21, drive > 0", status is OK. > 30-Okt 16:16 backup-sd-bb JobId 55214: 3307 Issuing autochanger "unload slot > 21, drive 0" command. > 30-Okt 16:17 backup-sd-bb JobId 55214: Warning: acquire.c:260 Wrong Volume > mounted on device "JBBB-1" (/dev/nst0): Wanted FUL099 have FUL027 > 30-Okt 16:17 backup-sd-bb JobId 55214: Please mount Volume "FUL099" for: > Job: RestoreFiles.2008-10-30_16.13.55 > Storage: "JBBB-1" (/dev/nst0) > Pool: FUL > Media type: SDLT-320 > > > > > *status dir > > > Running Jobs: > JobId Level Name Status > ====================================================================== > 55214 RestoreFiles.2008-10-30_16.13.55 is waiting for a mount request > ==== > > > > *cancel > Automatically selected Job: JobId=55214 Job=RestoreFiles.2008-10-30_16.13.55 > Confirm cancel (yes/no): yes > 2001 Job RestoreFiles.2008-10-30_16.13.55 marked to be canceled. > 3904 Job RestoreFiles.2008-10-30_16.13.55 not found. > You have messages. > *m > 30-Okt 16:17 backup-sd-bb JobId 55214: acquire.c:202 Job 55214 canceled. > 30-Okt 16:17 backup-dir JobId 55214: Bacula backup-dir 2.4.3 (10Oct08): > 30-Okt-2008 16:17:40 > Build OS: x86_64-unknown-linux-gnu debian 4.0 > JobId: 55214 > Job: RestoreFiles.2008-10-30_16.13.55 > Restore Client: xx > Start time: 30-Okt-2008 16:13:38 > End time: 30-Okt-2008 16:17:40 > Files Expected: 1 > Files Restored: 0 > Bytes Restored: 0 > Rate: 0.0 KB/s > FD Errors: 0 > FD termination status: Canceled > SD termination status: Canceled > Termination: Restore Canceled > > 30-Okt 16:17 backup-dir JobId 55214: Begin pruning Jobs. > 30-Okt 16:17 backup-dir JobId 55214: Pruned 1 Job for client from catalog. > 30-Okt 16:17 backup-dir JobId 55214: Begin pruning Files. > 30-Okt 16:17 backup-dir JobId 55214: No Files found to prune. > 30-Okt 16:17 backup-dir JobId 55214: End auto prune. > > > > > LeJav schrieb: >> Hello, >> >> I cannot cancel a restoration job which is waiting for a mount. >> >> I have an autochanger, and the tape is not in the changer. >> So, I want to cancel the job. >> The documentation states: >>> If the Job is waiting on a tape mount, you may need to >>> do a mount command before it will be canceled. >> But I cannot do the mount as the tape is not in the changer, and is not >> available now. >> >> The cancel never ends, and no other job is started. >> Everything is stuck. >> The only way I have found to release the system is to restart bacula. >> >> Any idea ? >> Thx for help >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users