Re: [Bacula-users] Cannot find any appendable volumes - Please use the label command to create a new Volume for:
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
Re: [Bacula-users] Cannot find any appendable volumes - Please use the label command to create a new Volume for:
In my opinion, it looks correct mine is there with more information and it work fine Pool { Name = Weekly Pool Type = Backup Recycle = yes AutoPrune = yes VolumeRetention = 31d # recycle in 31 days (default) Maximum Volumes = 28 Purge Oldest Volume = yes Recycle Oldest Volume = yes #reciclo volume precedente Use Volume Once = yes } CIAO, Carlo 2010/1/15 Juergen Mehmke j.meh...@kabuco.de: 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:
Re: [Bacula-users] Cannot find any appendable volumes - Please use the label command to create a new Volume for:
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