Hi all, On Saturday morning, a backup job that was about to span to another volume stopped. I then realised that it could not find any other volume to use. But upon closer inspection:
1) It actually pruned volumes have expired ( 7 days ). 2) There were no jobs left on the volumes whose jobs have been pruned. This was confirmed via the query command, and then selecting "List Jobs stored for a given Volume name" 3) "list volumes" still shows that the status of the volume as "Append", despite the fact that there are no more jobs left on the volume. 4) I then manually pruned some of the the volumes that were just pruned a few minutes ago, and finally, these volumes were marked as Purged. The problem seems to be a fluke, happened only once. This happened just after I restarted bacula due to an error that jobs for several days have stopped working, because a tape got stuck in between its slot and the drive. In any case, I was wondering if anyone else experienced this before. Also, I can no longer produce the exact output that I did on Saturday. However, here are some indication of the problem from the /var/bacula/working/log file: *) You can see below jobs were pruned from several volumes: 23-Jul 10:27 syddbe220r-sd: End of medium on Volume "DailyPool-02" Bytes=48,778,696,129 Blocks=756,119 at 23-Jul-2005 10:27. 23-Jul 10:28 syddbe220r-dir: Pruned 4 Jobs on Volume "DailyPool-01" from catalog. 23-Jul 10:28 syddbe220r-dir: Pruned 4 Jobs on Volume "DailyPool-03" from catalog. 23-Jul 10:28 syddbe220r-dir: Pruned 4 Jobs on Volume "DailyPool-04" from catalog. 23-Jul 10:28 syddbe220r-dir: Pruned 4 Jobs on Volume "DailyPool-05" from catalog. 23-Jul 10:28 syddbe220r-dir: Pruned 4 Jobs on Volume "DailyPool-06" from catalog. 23-Jul 10:29 syddbe220r-dir: Pruned 5 Jobs on Volume "DailyPool-07" from catalog. *) .. but it then asked to put a new volume to write to, because it never marked them as Purged: 23-Jul 10:29 syddbe220r-sd: Job syddb280r-sybdump.2005-07-23_08.00.00 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: StorEdge L7 DLT8000 Media type: DLT8000 Pool: DailyPool *) After manually running pruning ( again! ) some of the volumes that were just pruned above, the volumes ( DailyPool-0[1,3,4] ) were then marked as Purged. I think I then did an "unmount", and then mtx unload and mtx load from the OS shell, and then did a mount: 23-Jul 11:27 syddbe220r-sd: 3301 Issuing autochanger "loaded drive 0" command. 23-Jul 11:27 syddbe220r-sd: 3302 Autochanger "loaded drive 0", result is Slot 2. 23-Jul 11:27 syddbe220r-sd: Recycled volume "DailyPool-01" on device "/dev/rmt/1mbn", all previous data lost. 23-Jul 11:27 syddbe220r-sd: New volume "DailyPool-01" mounted on device /dev/rmt/1mbn at 23-Jul-2005 11:27. 23-Jul 12:17 syddbe220r-sd: Writing spooled data to Volume. Despooling 16,894,251,634 bytes ... *) Remember I manually pruned __some__ of the volumes that were just pruned ? I did that on DailyPool-0[1,3,4]. Thus, the status of DailyPool-0[5-7] volumes were still "Full", despite the fact that there were no jobs on these volumes anymore. The log entry below finally shows that bacula marked them as Purged ... ( instead of marking them as Purged 2 days ago ): 25-Jul 09:57 syddbe220r-sd: End of medium on Volume "DailyPool-04" Bytes=34,487,853,953 Blocks=534,598 at 25-Jul-2005 09:57. 25-Jul 09:57 syddbe220r-dir: There are no Jobs associated with Volume "DailyPool-05". Marking it purged. 25-Jul 09:57 syddbe220r-dir: There are no Jobs associated with Volume "DailyPool-06". Marking it purged. 25-Jul 09:57 syddbe220r-dir: There are no Jobs associated with Volume "DailyPool-07". Marking it purged. 25-Jul 09:57 syddbe220r-dir: Recycled volume "DailyPool-05" Regards, John ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users