Hi!

This night I noticed (again...) a strange behaviour: The jobs running
span four or five tapes. The first one, m01, was filled; then tape
m02 (state: purged) should have been requested. What happens is that
bacula (1.38.9) apparently can't decide what it wants:
>From the log:

02-Jun 19:46 mail-sd: End of Volume "m01" at 46:1024 on device "DLT" 
(/dev/nst0). Write of 64512 bytes got -1.
02-Jun 19:47 mail-sd: Re-read of last block succeeded.
02-Jun 19:47 mail-sd: End of medium on Volume "m01" Bytes=45,208,703,408 
Blocks=700,782 at 02-Jun-2006 19:47.
02-Jun 19:47 mail-dir: Recycled volume "m02"
02-Jun 19:47 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
02-Jun 19:53 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).
    Current Volume "m01" not acceptable because:
    1998 Volume "m01" status is Full, but should be Append, Purged or Recycle.
02-Jun 20:48 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
02-Jun 22:25 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).
    Current Volume "m01" not acceptable because:
    1998 Volume "m01" status is Full, but should be Append, Purged or Recycle.
02-Jun 22:25 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
02-Jun 22:36 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).
    Current Volume "m01" not acceptable because:
    1998 Volume "m01" status is Full, but should be Append, Purged or Recycle.
02-Jun 22:36 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
02-Jun 22:51 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
03-Jun 02:55 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
03-Jun 04:27 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).
    Current Volume "m01" not acceptable because:
    1998 Volume "m01" status is Full, but should be Append, Purged or Recycle.
03-Jun 04:27 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
03-Jun 05:54 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).
    Current Volume "m01" not acceptable because:
    1998 Volume "m01" status is Full, but should be Append, Purged or Recycle.
03-Jun 05:54 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
03-Jun 08:57 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).
    Current Volume "m01" not acceptable because:
    1998 Volume "m01" status is Full, but should be Append, Purged or Recycle.
03-Jun 08:57 mail-sd: Please mount Volume "m01" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
03-Jun 10:39 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).
    Current Volume "m01" not acceptable because:
    1998 Volume "m01" status is Full, but should be Append, Purged or Recycle.
03-Jun 10:39 mail-sd: Please mount Volume "m01" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
03-Jun 11:04 mail-sd: Please mount Volume "m02" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
03-Jun 13:47 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).
    Current Volume "m01" not acceptable because:
    1998 Volume "m01" status is Full, but should be Append, Purged or Recycle.
03-Jun 13:47 mail-sd: Please mount Volume "m01" on Storage Device "DLT" 
(/dev/nst0) for Job taos.2006-06-02_14.45.03
03-Jun 18:12 mail-sd: taos.2006-06-02_14.45.03 Warning: Director wanted 
Volume "m02" for device "DLT" (/dev/nst0).

and so on...
When m02 was inserted, it was recycled and used without complaint.
The llist output for those two tapes (as of now, backup has progressed
somewhat):

          MediaId: 25
       VolumeName: m01
             Slot: 0
           PoolId: 4
        MediaType: DLT-8000
     FirstWritten: 2006-06-02 14:45:02
      LastWritten: 2006-06-02 19:46:55
        LabelDate: 2006-06-02 14:45:02
          VolJobs: 3
         VolFiles: 47
        VolBlocks: 700,781
        VolMounts: 3
         VolBytes: 45,208,638,896
        VolErrors: 0
        VolWrites: 1,416,914
 VolCapacityBytes: 0
        VolStatus: Full
          Recycle: 1
     VolRetention: 3,888,000
   VolUseDuration: 604,800
       MaxVolJobs: 0
      MaxVolFiles: 0
      MaxVolBytes: 0
        InChanger: 1
          EndFile: 23
         EndBlock: 4,393
         VolParts: 0
        LabelType: 0
        StorageId: 1

          MediaId: 26
       VolumeName: m02
             Slot: 0
           PoolId: 4
        MediaType: DLT-8000
     FirstWritten: 2006-06-02 14:51:27
      LastWritten: 2006-06-06 09:39:27
        LabelDate: 2006-06-02 14:51:27
          VolJobs: 1
         VolFiles: 13
        VolBlocks: 215,309
        VolMounts: 2
         VolBytes: 13,890,013,961
        VolErrors: 0
        VolWrites: 930,109
 VolCapacityBytes: 0
        VolStatus: Append
          Recycle: 1
     VolRetention: 3,888,000
   VolUseDuration: 604,800
       MaxVolJobs: 0
      MaxVolFiles: 0
      MaxVolBytes: 0
        InChanger: 1
          EndFile: 12
         EndBlock: 15,499
         VolParts: 0
        LabelType: 0
        StorageId: 1

Perhaps this is some interference with the Use Duration?

MfG, Ulrich

-- 
Heinz Ulrich Stille / Tel.: +49-541-9400473 / Fax: +49-541-9400450
design_d gmbh / Wilhelmstr. 16 / 49076 Osnabrück / www.design-d.de



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

Reply via email to