RE logs...
Looks like the cancel request is put in, but results in an error.
Note that the message about there being no "SL500-changer" with type
"LTO-3" in the SD resources seems bogus -- that's the storage device and
type with which all the non-canceled jobs successfully run.
sample log (server lawson/client agentsmith):
16-Apr 07:41 lawson-sd JobId 315-Apr 20:00 lawson-dir JobId 36627: Start
Backup JobId 36627, Job=agentsmith.2009-04-15_20.00.00_23
16-Apr 08:31 lawson-sd JobId 36627: Job
agentsmith.2009-04-15_20.00.00_23 marked to be canceled.
16-Apr 08:31 lawson-sd JobId 36627: Failed command: Jmsg
Job=agentsmith.2009-04-15_20.00.00_23 type=6 level=1239895886 lawson-sd
JobId 36627: Job agentsmith.2009-04-15_20.00.00_23 marked to be canceled.
16-Apr 08:31 lawson-sd JobId 36627: Fatal error:
Device "SL500-changer" with MediaType "LTO-3" requested by DIR not
found in SD Device resources.
16-Apr 08:31 lawson-dir JobId 36627: Fatal error:
Storage daemon didn't accept Device "SL500-changer" because:
3924 Device "SL500-changer" not in SD Device resources.
16-Apr 08:31 lawson-dir JobId 36627: Error: Bacula lawson-dir 3.0.0
(06Apr09): 16-Apr-2009 08:31:58
Build OS: i386-pc-solaris2.10 solaris 5.10
JobId: 36627
Job: agentsmith.2009-04-15_20.00.00_23
Backup Level: Incremental, since=2009-04-14 20:01:47
Client: "agentsmith-fd" 2.4.2 (26Jul08)
x86_64-unknown-linux-gnu,redhat,Enterprise release
FileSet: "agentsmith-fs" 2008-08-15 12:09:36
Pool: "Incremental-Pool" (From Run pool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "SL500-changer" (From Job resource)
Scheduled time: 15-Apr-2009 20:00:00
Start time: 15-Apr-2009 20:00:00
End time: 16-Apr-2009 08:31:58
Elapsed time: 12 hours 31 mins 58 secs
Priority: 10
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s):
Volume Session Id: 7
Volume Session Time: 1239837527
Last Volume Bytes: 1 (1 B)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status:
SD termination status:
Termination: *** Backup Error ***
snippet from SD resources file:
.
.
.
Autochanger {
Name = SL500-changer
Device = SL500-Drive-0
Device = SL500-Drive-1
Changer Command = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/changer
}
Device {
Name = SL500-Drive-0
Drive Index = 0
Media Type = LTO-3
Archive Device = /dev/rmt/0cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
AutoSelect = yes;
Maximum block size = 262144 # 256kb
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Maximum Spool Size = 140gb
Maximum Job Spool Size = 50gb
Spool Directory = /bacula/spool
}
.
.
.
Martin Simmons wrote:
>>>>>> On Wed, 22 Apr 2009 16:07:49 -0700, Stephen Thompson said:
>> I recently upgrade from 2.4.4 to 3.0.0. Everything went very smoothly
>> and the new version is running at least as well as the previous.
>>
>> Once peculiar thing I've noticed is that if I cancel a job, rather than
>> the job being set to a "Canceled by user" state, it winds up being set
>> to "Terminated with error".
>>
>> Anyone else notice this and/or have ideas why this might be happening?
>
> What does the log output show?
>
> __Martin
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Stephen Thompson Berkeley Seismological Laboratory
stephen AT seismo.berkeley DOT edu 215 McCone Hall # 4760
404.538.7077 (phone) University of California, Berkeley
510.643.5811 (fax) Berkeley, CA 94720-4760
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|