>>>>> On Mon, 01 Aug 2005 08:34:39 +0200, Rico <[EMAIL PROTECTED]> said:

  Rico> Martin Simmons wrote:
  >>>>>>> On Fri, 29 Jul 2005 11:00:05 +0200, Rico <[EMAIL PROTECTED]> said:
  >> 
  >> 
  Rico> hi
  >> 
  Rico> i have made a "donothing"-backup-job.
  >> 
  Rico> then "run donothing".
  >> 
  Rico> 29-Jul 10:23 pe2800oracle-dir: Start Backup JobId 477,
  Rico> Job=donothing.2005-07-29_10.23.49
  >> 
  >> 
  >> 
  >> 
  Rico> volumeretentionperiod is "over". bacula pruned the current volume and
  Rico> changed status to recycle. till here all right.
  >> 
  Rico> 29-Jul 10:37 pe2800oracle-dir: Pruned 5 Jobs on Volume "freitag1" from
  Rico> catalog.
  Rico> 29-Jul 10:37 pe2800oracle-dir: Recycled volume "freitag1"
  >> 
  >> 
  >> 
  >> 
  Rico> BUT then received this "error"-message:
  >> 
  Rico> 29-Jul 10:37 pe2800oracle-sd: Job donothing.2005-07-29_10.23.49 waiting.
  Rico> Cannot find any appendable volumes.
  Rico> Please use the "label"  command to create a new Volume for:
  Rico> Storage:      LTO Ultrium 2
  Rico> Media type:   LTO-G2
  Rico> Pool:         Default
  >> 
  >> 
  >> 
  Rico> after certain time job will be canceled automatic.
  >> 
  Rico> why "donothing" is not using the purged and recycled volume? the jobs
  Rico> dont wait till the purging is ready.
  >> 
  Rico> it schould working like this.
  Rico> 1. job start
  Rico> 2. purge volume and set status to recycle.(job must wait till purging is
  Rico> ready)
  Rico> 3. use the currently purged volume for backup
  >> 
  >> It would be useful to post the output of
  >> 
  >> list media
  >> 
  >> in the console and also your pool definition for Default.
  >> 
  >> __Martin
  >> 
  >> 

  Rico> ok here ist my pool:

  Rico> Pool {
  Rico>   Name = Default
  Rico>   Pool Type = Backup
  Rico>   Recycle = yes
  Rico>   AutoPrune = yes
  Rico>   Volume Retention = 325 hours
  Rico>   Accept Any Volume = yes
  Rico>   Recycle Current Volume = yes
  Rico>   Maximum Volumes = 10
  Rico>   Maximum Volume Jobs = 5
  Rico> }

  Rico> and here "list media". this evening "montag2" will be used(tape is
  Rico> inserted and volumeretentionperiod is over). but i know the same error
  Rico> like above WILL occur. if i purge the volume manuell before backup these
  Rico> evening, then the backup runs without problems. but i wont do this
  Rico> manuell every day.

  Rico> Using default Catalog name=MyCatalog DB=bacula
  Rico> Pool: Default
  Rico> 
+---------+-------------+-----------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+
  Rico> | MediaId | VolumeName  | VolStatus | VolBytes     | VolFiles |
  Rico> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
  Rico>     |
  Rico> 
+---------+-------------+-----------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+
  Rico> | 1       | montag1     | Read-Only | 1            | 0        | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-12 03:40:57 |
  Rico> | 2       | dienstag1   | Used      | 289249453970 | 290      | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-27 02:00:11 |
  Rico> | 3       | mittwoch1   | Used      | 378584181984 | 381      | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-28 03:35:06 |
  Rico> | 4       | donnerstag1 | Used      | 378406052002 | 381      | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-29 03:35:51 |
  Rico> | 5       | freitag1    | Used      | 376792810971 | 380      | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-30 03:45:38 |
  Rico> | 7       | dienstag2   | Used      | 372883955813 | 376      | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-20 04:55:07 |
  Rico> | 9       | mittwoch2   | Read-Only | 1            | 0        | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-07 04:06:36 |
  Rico> | 10      | donnerstag2 | Read-Only | 1            | 0        | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-08 03:56:32 |
  Rico> | 11      | freitag2    | Used      | 380277899635 | 382      | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-23 17:41:14 |
  Rico> | 12      | montag2     | Used      | 373419137501 | 376      | 1170000
  Rico>      | 1       | 0    | 1         | LTO-G2    | 2005-07-19 04:30:11 |
  Rico> 
+---------+-------------+-----------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+

I can't anything obvious here.  If it fails again this evening with "montag2",
please post the full console output and the output of list media again after
the failure so we can see the VolStatus in the failing case.

__Martin


-------------------------------------------------------
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

Reply via email to