Hi,

bacula 2.0.3 on debian etch with kernel 2.6.18-amd64 and postgres 8.1.

Some may remember, I had this problem some months ago. A full backup
job starts and an old tape is reused, then the next daemon message is
that max configured use duration of this tape exceeded.

http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.general/33773/focus=33870

After some months without this problem, it started again this weekend.

01-Jul 00:07 VU0EM005: Start Backup JobId 288,
             Job=SMTCZB0003.2007-07-01_00.05.00
01-Jul 00:07 VU0EM005: 3307 Issuing autochanger "unload slot 4,
             drive 0" command.
01-Jul 00:09 VU0EM005: 3304 Issuing autochanger "load slot 10,
             drive 0" command.
01-Jul 00:09 VU0EM005: 3305 Autochanger "load slot 10, drive 0",
             status is OK.
01-Jul 00:09 VU0EM005: 3301 Issuing autochanger "loaded? drive 0"
             command.
01-Jul 00:09 VU0EM005: 3302 Autochanger "loaded? drive 0",
             result is Slot 10.
01-Jul 00:09 VU0EM005: Recycled volume "06D129L3" on device "LTO3"
             (/dev/ULTRIUM-TD3), all previous data lost.
01-Jul 00:09 VU0EM005: Max configured use duration exceeded. Marking
             Volume "06D129L3" as Used.

01-Jul 02:11 VU0EM005: Start Backup JobId 289,
             Job=VU0EM003.2007-07-01_00.05.01
01-Jul 02:12 VU0EM005: 3307 Issuing autochanger "unload slot 10,
             drive 0" command.
01-Jul 02:13 VU0EM005: 3304 Issuing autochanger "load slot 9,
             drive 0" command.
01-Jul 02:14 VU0EM005: 3305 Autochanger "load slot 9, drive 0", 
             status is OK.
01-Jul 02:14 VU0EM005: 3301 Issuing autochanger "loaded? drive 0" command.
01-Jul 02:14 VU0EM005: 3302 Autochanger "loaded? drive 0", 
             result is Slot 9.
01-Jul 02:14 VU0EM005: Recycled volume "06D128L3" on device "LTO3"
             (/dev/ULTRIUM-TD3), all previous data lost.
01-Jul 02:14 VU0EM005: Max configured use duration exceeded. Marking
              Volume "06D128L3" as Used.


The next tape did not exceed the volume use duration right after it
was recycled.

01-Jul 05:48 VU0EM005: Recycled volume "06D136L3"
01-Jul 05:49 VU0EM005: 3307 Issuing autochanger "unload slot 9,
             drive 0" command.
01-Jul 05:50 VU0EM005: 3304 Issuing autochanger "load slot 17,
             drive 0" command.
01-Jul 05:51 VU0EM005: 3305 Autochanger "load slot 17, drive 0",
             status is OK.
01-Jul 05:51 VU0EM005: 3301 Issuing autochanger "loaded? drive 0"
             command.
01-Jul 05:51 VU0EM005: 3302 Autochanger "loaded? drive 0",
             result is Slot 17.
01-Jul 05:51 VU0EM005: 3302 Autochanger "loaded? drive 0", result is
             Slot 17.
01-Jul 05:51 VU0EM005: Recycled volume "06D136L3" on device "LTO3"
             (/dev/ULTRIUM-TD3), all previous data lost.
01-Jul 05:51 VU0EM005: Job write elapsed time = 00:00:06, Transfer
             rate = 88.79 M bytes/second



I cant' find anything in the logs when these tapes were marked as
recycled or anything about pruned jobs. Maybe I did this manually,
because these tapes were used for testing right after installing
bacula.

The voluseduration of both tapes is 345,600 (4 days), some other
parameters:

firstwritten: 2007-02-20 22:25:03
lastwritten: 2007-07-01 05:39:57
labeldate: 2007-07-01 02:11:18

I tried to rerun the jobs after pruning the 3 volumes and set them to
Append. I don't want these jobs to stay on 3 differnt tapes, they all
fit on the first one 06D128L3.

After starting a full backup manually, I got the max duration message
again:

02-Jul 09:10 VU0EM005: Start Backup JobId 291,
             Job=VU0EM003.2007-07-02_09.09.59
02-Jul 09:10 VU0EM005: Max configured use duration exceeded. Marking
             Volume "06D129L3" as Used.
02-Jul 09:10 VU0EM005: Using Volume "06D138L3" from 'Scratch' pool.

Why did this happen? The voluseduration was set to 4 days and I
changed the status to Append. I thought bacula would use this tape
again, but instead it took one from the scratch pool. 

Ralf

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to