Bacula-users

Re: [Bacula-users] Cannot find any appendable volumes - Please use the "label" command to create a new Volume for:

2010-01-15 03:29:36
Subject: Re: [Bacula-users] Cannot find any appendable volumes - Please use the "label" command to create a new Volume for:
From: Juergen Mehmke <j.mehmke AT kabuco DOT de>
Date: Fri, 15 Jan 2010 09:26:49 +0100
Hi!

Thanks for your answer.
Here is the config for this pool:

Pool {
  Name = xxx_daily
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle 
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 27 days
  Volume Use Duration = 10h
}

Thanks.

Juergen


Anton Albajes-Eizagirre schrieb:
> Juergen,
>
> I'm not really expert on Volume managing (i'm new on bacula's
> world :-$), but it might have some relations about the messages you're
> getting about volume purging and recycling time. You should check you
> retention periods for volumes, for example.
>
> I'm sure it would be very helpful for anyone having exact notions about
> all this if you could provide your config files (specially sections
> configuring pools).
>
> Hope this gives you some hints,
>
> anton
>
> On Thu, 2010-01-14 at 14:46 +0100, Juergen Mehmke wrote:
>   
>> Hi!
>>
>> We have a problem with Bacula 3.0.2 (Update from 2.x).
>>
>> Some backups starts normally. Bacula purged and recycled the inserted
>> tape. Suddenly Bacula says "Can not find any appendable volumes.Please
>> use the "label" command to create a new volume for ...".
>> Exactly one hour later, then Bacula automatically turns on with the
>> backup as if nothing had happened.
>>
>> At this point, Bacula has already found the right tape and prepared
>> the tape for the next backup. Why then did he suddenly finds no tape
>> anymore?
>>
>> That makes Bacula since the update to version 3.0.2.
>>
>> Here is the excerpt from the log:
>>
>> 13-Jan 23:15 xxx-dir JobId 23366: shell command: run BeforeJob 
>> "/etc/bacula/scripts/autoupdateslots.sh"
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 
>> (18 July 2009)
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a 
>> command.
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: mount 
>> storage=Overland_ArcVault12
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: 
>> XXX
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog "XXX"
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter autochanger slot: 2
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3001 Device "HP_Ultrium3_SCSI" 
>> (/dev/nst0) is mounted with Volume "002059L3"
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages.
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 
>> (18 July 2009)
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a 
>> command.
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: update slots
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: 
>> XXX
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog "XXX"
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: The defined Storage resources 
>> are:
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:      1: File
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:      2: Overland_ArcVault12
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:      3: Dell_PV-122T
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Select Storage resource (1-3): 2
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon 
>> Overland_ArcVault12 at xxx:9103 ...
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger 
>> "slots" command.
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Device "Overland_ArcVault12" 
>> has 12 slots.
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon 
>> Overland_ArcVault12 at xxx:9103 ...
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger "list" 
>> command.
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 
>> "002018L3" updated to reference slot 3.
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 
>> "002059L3" updated to reference slot 2.
>> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages.
>> 13-Jan 23:15 xxx-dir JobId 23366: Start Backup JobId 23366, 
>> Job=backup_xxx.2010-01-13_23.15.00_32
>> 13-Jan 23:15 xxx-dir JobId 23366: There are no more Jobs associated with 
>> Volume "002018L3". Marking it purged.
>> 13-Jan 23:15 xxx-dir JobId 23366: All records pruned from Volume "002018L3"; 
>> marking it "Purged"
>> 13-Jan 23:15 xxx-dir JobId 23366: Recycled volume "002018L3"
>> 13-Jan 23:15 xxx-dir JobId 23366: Using Device "HP_Ultrium3_SCSI"
>> 13-Jan 23:15 xxx-sd JobId 23366: Job backup_xxx.2010-01-13_23.15.00_32 
>> waiting. Cannot find any appendable volumes.
>> Please use the "label"  command to create a new Volume for:
>>     Storage:      "HP_Ultrium3_SCSI" (/dev/nst0)
>>     Pool:         xxx_daily
>>     Media type:   LTO3
>> 14-Jan 00:15 xxx-sd JobId 23366: 3307 Issuing autochanger "unload slot 2, 
>> drive 0" command.
>> 14-Jan 00:16 xxx-sd JobId 23366: 3304 Issuing autochanger "load slot 3, 
>> drive 0" command.
>> 14-Jan 00:17 xxx-sd JobId 23366: 3305 Autochanger "load slot 3, drive 0", 
>> status is OK.
>> 14-Jan 00:17 xxx-sd JobId 23366: Recycled volume "002018L3" on device 
>> "HP_Ultrium3_SCSI" (/dev/nst0), all previous data lost.
>> 14-Jan 00:17 xxx-sd JobId 23366: Spooling data ...
>> 14-Jan 00:20 xxx-sd JobId 23366: User specified spool size reached.
>> 14-Jan 00:20 xxx-sd JobId 23366: Writing spooled data to Volume. Despooling 
>> 10,737,438,769 bytes ...
>> 14-Jan 00:25 xxx-sd JobId 23366: Despooling elapsed time = 00:04:31, 
>> Transfer rate = 39.62 M bytes/second
>> 14-Jan 00:25 xxx-sd JobId 23366: Spooling data again ...
>>
>>
>> Thank you!
>>
>>
>> Jürgen
>>
>> ------------------------------------------------------------------------------
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for 
>> Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> _______________________________________________ Bacula-users mailing list 
>> Bacula-users AT lists.sourceforge DOT net 
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>     
>
>
>   
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>   

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users