Martin Simmons wrote:
>>>>>>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
> 
> 

hi

it failed again. the admin job was ok. the volume was pruned and
recycled but "thepig"-job failed.
here comes the output:

01-Aug 21:58 pe2800oracle-dir: RunBefore: Connecting to Director
pe2800oracle:9101
01-Aug 21:58 pe2800oracle-dir: RunBefore: 1000 OK: pe2800oracle-dir
Version: 1.36.3 (22 April 2005)
01-Aug 21:58 pe2800oracle-dir: RunBefore: Enter a period to cancel a
command.
01-Aug 21:58 pe2800oracle-dir: RunBefore: @[EMAIL PROTECTED] /dev/null
01-Aug 21:58 pe2800oracle-dir: RunBefore: mount storage="LTO-G2"
01-Aug 21:58 pe2800oracle-dir: RunBefore: Using default Catalog
name=MyCatalog DB=bacula
01-Aug 21:58 pe2800oracle-dir: RunBefore: 3001 Mounted Volume: montag2
01-Aug 21:58 pe2800oracle-dir: RunBefore: 3001 Device /dev/nst0 is
mounted with Volume "montag2"
01-Aug 21:58 pe2800oracle-dir: RunBefore: You have messages.
01-Aug 21:58 pe2800oracle-dir: RunBefore: quit
01-Aug 21:58 pe2800oracle-dir: Start Admin JobId 486,
Job=_before.2005-08-01_20.00.00
01-Aug 21:58 pe2800oracle-dir: Bacula 1.36.3 (22Apr05): 01-Aug-2005 21:58
  JobId:                  486
  Job:                    _before.2005-08-01_20.00.00
  Start time:             01-Aug-2005 20:00
  End time:               01-Aug-2005 21:58
  Termination:            Admin OK

01-Aug 21:58 pe2800oracle-dir: Begin pruning Jobs.
01-Aug 21:58 pe2800oracle-dir: No Jobs found to prune.
01-Aug 21:58 pe2800oracle-dir: Begin pruning Files.
01-Aug 22:03 pe2800oracle-dir: Pruned 239,024 Files from 2 Jobs for
client pe2800oracle-fd from catalog.
01-Aug 22:03 pe2800oracle-dir: End auto prune.

01-Aug 22:03 pe2800oracle-dir: Start Backup JobId 487,
Job=thepig.2005-08-01_20.00.01
01-Aug 22:13 pe2800oracle-dir: Pruned 5 Jobs on Volume "montag2" from
catalog.
01-Aug 22:13 pe2800oracle-sd: Job thepig.2005-08-01_20.00.01 waiting.
Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      LTO Ultrium 2
    Media type:   LTO-G2
    Pool:         Default
01-Aug 23:13 pe2800oracle-dir: Recycled volume "montag2"
01-Aug 23:13 pe2800oracle-sd: Please mount Volume "montag2" on Storage
Device "LTO Ultrium 2" for Job thepig.2005-08-01_20.00.01
Use "mount" command to release Job.
02-Aug 01:13 pe2800oracle-sd: Please mount Volume "montag2" on Storage
Device "LTO Ultrium 2" for Job thepig.2005-08-01_20.00.01
Use "mount" command to release Job.
02-Aug 05:13 pe2800oracle-sd: Please mount Volume "montag2" on Storage
Device "LTO Ultrium 2" for Job thepig.2005-08-01_20.00.01
Use "mount" command to release Job.
02-Aug 07:33 pe2800oracle-dir: Bacula 1.36.3 (22Apr05): 02-Aug-2005 07:33:11
  JobId:                  487
  Job:                    thepig.2005-08-01_20.00.01
  Backup Level:           Full
  Client:                 thepig-fd
  FileSet:                "thepig" 2005-06-09 22:00:08
  Pool:                   "Default"
  Storage:                "LTO-G2"
  Start time:             01-Aug-2005 22:03:09
  End time:               02-Aug-2005 07:33:11
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0
  SD Bytes Written:       0
  Rate:                   0.0 KB/s
  Software Compression:   None
  Volume name(s):
  Volume Session Id:      19
  Volume Session Time:    1122445046
  Last Volume Bytes:      1
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  Canceled
  SD termination status:  Canceled
  Termination:            Backup Canceled

02-Aug 05:30 pe2800oracle-dir: JobId 492, Job _after.2005-08-01_20.00.06
marked to be canceled.
02-Aug 05:30 pe2800oracle-dir: JobId 491, Job
BackupCatalog.2005-08-01_20.00.05 marked to be canceled.
02-Aug 05:30 pe2800oracle-dir: JobId 490, Job
pyrotrans.2005-08-01_20.00.04 marked to be canceled.
02-Aug 05:30 pe2800oracle-dir: JobId 489, Job rr2.2005-08-01_20.00.03
marked to be canceled.
02-Aug 05:30 pe2800oracle-dir: JobId 488, Job
pe2800oracle.2005-08-01_20.00.02 marked to be canceled.
02-Aug 07:33 pe2800oracle-dir: 2001 Job thepig.2005-08-01_20.00.01
marked to be canceled.
02-Aug 07:33 pe2800oracle-dir: 3000 Job thepig.2005-08-01_20.00.01
marked to be canceled.



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




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