Re: [Bacula-users] Cannot find any appendable volumes
> On Fri, 3 Jul 2020 16:00:10 -0600, Greg Woods said: > > I am getting this error when running copy jobs. I have an "ARCHIVE-ALL" job > that searches for any client backup jobs that terminated normally and have > not yet been copied from online to archive backups, and runs copy jobs for > each. I have been using this system for 7 years now, and it has worked well > until today. > > Here's the Pool definitions (File is the online pool, and Archive is a > vchanger with 6 removable disks as magazines): > > Pool { > Name = File > Pool Type = Backup > Recycle = yes # Bacula can automatically recycle > Volumes > AutoPrune = yes # Prune expired volumes > Volume Retention = 365 days # 1 year > Maximum Volume Bytes = 50G # Limit Volume size to something > reasonable > Maximum Volumes = 245# Limit number of Volumes in Pool > Storage = BKUP > Next Pool = Archive # Where to copy/migrate to > } > Pool { > Name = Archive > Pool Type = Backup > Recycle = yes # Bacula can automatically recycle > Volumes > AutoPrune = yes # Prune expired volumes > Volume Retention = 365 days # one year > Maximum Volume Bytes = 50G # Limit Volume size to something > reasonable > Maximum Volumes = 136# Limit number of Volumes in Pool > Storage = ARCH > } > > As you can see, the volume retention in the Archive pool is set to 365 > days., and Recycle is set to yes, which means (if I understand this > correctly) that any volume that hasn't been written to in more than a year > should be available to recycle. So why is it suddenly telling me that there > are no appendable volumes after 7 years of running this configuration? > > All of my client definitions look like this: > > Client { > Name = "myhost" > Address = myhost.my.domain > Catalog = "My Catalog" # there is only one > Password = "big secret" > File Retention = 365 days > Job Retention = 365 days > } > > Did I miss something? There are definitely some volumes in the Archive > pool that have not been written to in more than a year; shouldn't those be > available for recycling? The output of "list volumes pool=Archive" might show something. In particular, what is the volstatus of these volumes? It must be Used or Full to allow recycling. > Lastly, what command would I use to let Bacula know that a given volume can > be made available? Eventually I have to solve my configuration issue, but > for now I'd like to just mark some old volumes as available manually so > that my copy jobs can continue. You could try the purge volume command. __Martin ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes
I am getting this error when running copy jobs. I have an "ARCHIVE-ALL" job that searches for any client backup jobs that terminated normally and have not yet been copied from online to archive backups, and runs copy jobs for each. I have been using this system for 7 years now, and it has worked well until today. Here's the Pool definitions (File is the online pool, and Archive is a vchanger with 6 removable disks as magazines): Pool { Name = File Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # 1 year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 245# Limit number of Volumes in Pool Storage = BKUP Next Pool = Archive # Where to copy/migrate to } Pool { Name = Archive Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 136# Limit number of Volumes in Pool Storage = ARCH } As you can see, the volume retention in the Archive pool is set to 365 days., and Recycle is set to yes, which means (if I understand this correctly) that any volume that hasn't been written to in more than a year should be available to recycle. So why is it suddenly telling me that there are no appendable volumes after 7 years of running this configuration? All of my client definitions look like this: Client { Name = "myhost" Address = myhost.my.domain Catalog = "My Catalog" # there is only one Password = "big secret" File Retention = 365 days Job Retention = 365 days } Did I miss something? There are definitely some volumes in the Archive pool that have not been written to in more than a year; shouldn't those be available for recycling? Lastly, what command would I use to let Bacula know that a given volume can be made available? Eventually I have to solve my configuration issue, but for now I'd like to just mark some old volumes as available manually so that my copy jobs can continue. Thanks for any pointers, --Greg ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - but has plenty of unused volumes
I deleted the volume with VolStatus='Recycle' and then all problems was solved. Everything running fine now. Case closed. /hans On 09/29/2014 03:51 PM, Hans Schou wrote: I still got this problem but maybe there is a clue here 29-Sep 14:36 bohr-sd JobId 93320: Committing spooled data to Volume san-full3713. Despooling 5,718,460,096 bytes ... 29-Sep 14:37 bohr-sd JobId 93320: End of medium on Volume san-full3713 Bytes=5,368,689,055 Blocks=83,221 at 29-Sep-2014 14:37. 29-Sep 14:37 bohr-dir JobId 93320: There are no more Jobs associated with Volume san-full1855. Marking it purged. 29-Sep 14:37 bohr-dir JobId 93320: All records pruned from Volume san-full1855; marking it Purged 29-Sep 14:37 bohr-dir JobId 93320: Recycled volume san-full1855 29-Sep 14:37 bohr-sd JobId 93320: Job Backup_snell.2014-09-29_14.33.01_09 is waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: SanFull (/storage/bacula/full) Pool: SanFullPool Media type: SanFullFile It ends writing volume san-full3713 I have labeled manually. Then it purges san-full1855, and mark it Recycle. But then it cannot faind any appendable. The volume looks OK and ready to use: $ echo list volumes media pool=SanFullPool | bconsole | grep san-full1855 | 1,855 | san-full1855 | Recycle | 1 | 1 | 0 |1,209,600 | 1 |0 | 0 | SanFullFile | 2014-08-30 05:42:40 | Any help much appreciated. -- venlig hilsen Hans Schou MOC ⅍ Grønningen 19 st th 1270 København K http://moc.net/ tel:+4546923438 -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - but has plenty of unused volumes
I still got this problem but maybe there is a clue here 29-Sep 14:36 bohr-sd JobId 93320: Committing spooled data to Volume san-full3713. Despooling 5,718,460,096 bytes ... 29-Sep 14:37 bohr-sd JobId 93320: End of medium on Volume san-full3713 Bytes=5,368,689,055 Blocks=83,221 at 29-Sep-2014 14:37. 29-Sep 14:37 bohr-dir JobId 93320: There are no more Jobs associated with Volume san-full1855. Marking it purged. 29-Sep 14:37 bohr-dir JobId 93320: All records pruned from Volume san-full1855; marking it Purged 29-Sep 14:37 bohr-dir JobId 93320: Recycled volume san-full1855 29-Sep 14:37 bohr-sd JobId 93320: Job Backup_snell.2014-09-29_14.33.01_09 is waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: SanFull (/storage/bacula/full) Pool: SanFullPool Media type: SanFullFile It ends writing volume san-full3713 I have labeled manually. Then it purges san-full1855, and mark it Recycle. But then it cannot faind any appendable. The volume looks OK and ready to use: $ echo list volumes media pool=SanFullPool | bconsole | grep san-full1855 | 1,855 | san-full1855 | Recycle | 1 | 1 | 0 |1,209,600 | 1 |0 | 0 | SanFullFile | 2014-08-30 05:42:40 | Any help much appreciated. -- venlig hilsen Hans Schou MOC ⅍ Grønningen 19 st th 1270 København K http://moc.net/ tel:+4546923438 -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - but has plenty of unused volumes
Hi Just for the record. I can see my database is out of sync with the volume files. I have orphan volume files - like the file is there but not in db or the information are different. So my first step is to run bscan on all 1500 volumes which may take something around 30 hours. Case closed for now and thanks for help. -- venlig hilsen Hans Schou MOC ⅍ Grønningen 19 st th 1270 København K http://moc.net/ tel:+4546923438 -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes - but has plenty of unused volumes
Hi bacula Version: 7.0.4 I get this message Cannot find any appendable volumes in my file based storage. After adding a label and running a job it writes: 22-Sep 14:27 bohr-dir JobId 93031: Begin pruning Jobs older than 6 months . 22-Sep 14:27 bohr-dir JobId 93031: No Jobs found to prune. 22-Sep 14:27 bohr-dir JobId 93031: Begin pruning Files. 22-Sep 14:27 bohr-dir JobId 93031: No Files found to prune. (why does it says 6 months?) In the Pool I have: Recycle = yes AutoPrune = yes Maximum Volume Bytes = 5368709120 Volume Retention = 2 weeks Maximum Volumes = 1520 #Recycle Oldest Volume = yes #Action On Purge = Truncate I tried to add the last two options but it did not change anything. I have also manually tried to prune, purge and delete unused volumes without success. When I look for volumes whic should not be in use I have plenty: # mysql bacula -e SELECT COUNT(*) FROM Media WHERE PoolId=3 AND MediaId NOT IN (SELECT MediaId FROM JobMedia); +--+ | COUNT(*) | +--+ | 328 | +--+ Is that query wrong? I am beginning to have too little disk space left so I cannot just keep adding volumes. Any help much appreciated. -- venlig hilsen Hans Schou MOC ⅍ Grønningen 19 st th 1270 København K http://moc.net/ tel:+4546923438 -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - but has plenty of unused volumes
Mr. Hans, I get this message Cannot find any appendable volumes in my file based storage. This is pretty obvious but it's good to make sure: 1. Are you submitting jobs to the same pool that you have the appendable volumes? 2. Do you have Appendable volumes in this pool? After adding a label and running a job it writes: 22-Sep 14:27 bohr-dir JobId 93031: Begin pruning Jobs older than 6 months . 22-Sep 14:27 bohr-dir JobId 93031: No Jobs found to prune. 22-Sep 14:27 bohr-dir JobId 93031: Begin pruning Files. 22-Sep 14:27 bohr-dir JobId 93031: No Files found to prune. (why does it says 6 months?) This message concerns another kind of retention that just affect Bacula Catalog Indexes. Don't confuse it with the volume retention. In the Pool I have: Recycle = yes AutoPrune = yes Maximum Volume Bytes = 5368709120 Volume Retention = 2 weeks Maximum Volumes = 1520 #Recycle Oldest Volume = yes #Action On Purge = Truncate I tried to add the last two options but it did not change anything. I have also manually tried to prune, purge and delete unused volumes without success. Anyhow, list media pool=pool_name output and the full job log are necessary to provide a diagnosis. Regards, -- Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at Udemy: bacula-users https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users +55 61 2021-8260 +55 61 8268-4220 Site: www.bacula.com.br Facebook: heitor.faria http://www.facebook.com/heitor.faria Gtalk: heitorfa...@gmail.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - but has plenty of unused volumes
Hans, Everything looks right, but I'm still not sure if your volume automatic recycling is working for SanFullPool yet (probably not), but you have another jobs for another pool where recycling is working: Recycled volume admhuset-1447, Admhuset. Can we compare both pools configurations? Regards, On Mon, Sep 22, 2014 at 4:00 PM, Hans Schou h...@moc.net wrote: On 2014-09-22 20:40, Heitor Faria wrote: Hans: can you send the full job log? It is huge - here is the last part from /var/log/bacula/ Btw: if you want to ignore retention the option is: Purge Oldest Volume, not: Recycle Oldest Volume. Thanks . /hans -- Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at Udemy: bacula-users https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users +55 61 2021-8260 +55 61 8268-4220 Site: www.bacula.com.br Facebook: heitor.faria http://www.facebook.com/heitor.faria Gtalk: heitorfa...@gmail.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - but has plenty of unused volumes
On 2014-09-22 21:19, Heitor Faria wrote: Hans, Everything looks right, but I'm still not sure if your volume automatic recycling is working for SanFullPool yet (probably not), That is the problem - I guess. but you have another jobs for another pool where recycling is working: Recycled volume admhuset-1447, Admhuset. Can we compare both pools configurations? I have one director and 3 SD. Admhuset is another SD. Here is the 2 Pool { Name = SanFullPool Pool Type = Backup Next Pool = RemoteTape Recycle = yes AutoPrune = yes Maximum Volume Bytes = 5368709120 Volume Retention = 2 weeks LabelFormat = san-full Maximum Volumes = 1520 Storage = san-full #Recycle Oldest Volume = yes #Action On Purge = Truncate } Pool { Name = Admhuset Pool Type = Backup Next Pool = RemoteTape Recycle = yes AutoPrune = yes Maximum Volume Bytes = 5368709120 Volume Retention = 7 days LabelFormat = admhuset- Maximum Volumes = 180 Storage = Admhuset } -- venlig hilsen Hans Schou -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled? [SOLVED]
On 04/01/2011 14:14, Kleber Leal wrote: What pool your jobs are writing? You enabled autolabel on File pool. Your jobs are trying write on it? Verify your config files. By default (no config), the job get JobDefs definition and write on Default pool. Your default pool has not autolabeling enabled. Try change it to File pool overriding config or editing your JobDefs.conf. That was the problem! I did have everything in my configuration as I expected it to be - except i forgot autolabelling on the default pool. I've been able to fully test all I wanted to, I've got my default job, and I've run jobs across all my clients, I've tried to overload it, it just keeps on queuing the jobs, and running them very nice! Thank you bacula-list and Kleber Leal :) -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
On 04/01/2011 02:13, Dan Langille wrote: On 1/3/2011 4:53 PM, Mister IT Guru wrote: I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. This happens when Bacula cannot find appendable volumes. Disk or tape, or whatever. Show us the Pool resource for the pool in question. Below are the pool definitions that I currently have --- # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } # File Pool definition Pool { Name = File Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool LabelFormat = BaculaBackups- } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } --- -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
What pool your jobs are writing? You enabled autolabel on File pool. Your jobs are trying write on it? Verify your config files. By default (no config), the job get JobDefs definition and write on Default pool. Your default pool has not autolabeling enabled. Try change it to File pool overriding config or editing your JobDefs.conf. Verify too if you really has not volumes in append status. You can verify your pools and volumes with list command (below): list volumes Try this and post results. Kleber 2011/1/4 Mister IT Guru misteritg...@gmx.com On 04/01/2011 02:13, Dan Langille wrote: On 1/3/2011 4:53 PM, Mister IT Guru wrote: I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. This happens when Bacula cannot find appendable volumes. Disk or tape, or whatever. Show us the Pool resource for the pool in question. Below are the pool definitions that I currently have --- # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } # File Pool definition Pool { Name = File Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool LabelFormat = BaculaBackups- } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } --- -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
On Tue, January 4, 2011 8:23 am, Mister IT Guru wrote: On 04/01/2011 02:13, Dan Langille wrote: On 1/3/2011 4:53 PM, Mister IT Guru wrote: I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. This happens when Bacula cannot find appendable volumes. Disk or tape, or whatever. Show us the Pool resource for the pool in question. Below are the pool definitions that I currently have --- # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } # File Pool definition Pool { Name = File Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool LabelFormat = BaculaBackups- } I'm going to guess it's this Pool. I'm also going to guess that you have reached 100 volumes in this pool. Please confirm # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } I see no need for a scratch pool if you're backing up to disk. -- Dan Langille -- http://langille.org/ -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
Am 04.01.2011 um 14:23 schrieb Mister IT Guru: On 04/01/2011 02:13, Dan Langille wrote: On 1/3/2011 4:53 PM, Mister IT Guru wrote: I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. This happens when Bacula cannot find appendable volumes. Disk or tape, or whatever. Show us the Pool resource for the pool in question. Below are the pool definitions that I currently have --- # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } # File Pool definition Pool { Name = File Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool LabelFormat = BaculaBackups- } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } sd's config file should have Device { . . . LabelMedia = yes; # lets Bacula label unlabeled media . . . } -- PM -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
I had the same message and I had to repair some mysql tables to fix it! I thought the tables were 'Media' and 'JobMedia' Kind regards, Caspar Smit 2011/1/3 Mister IT Guru misteritg...@gmx.com I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
On 04/01/2011 14:16, Dan Langille wrote: On Tue, January 4, 2011 8:23 am, Mister IT Guru wrote: On 04/01/2011 02:13, Dan Langille wrote: On 1/3/2011 4:53 PM, Mister IT Guru wrote: I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. This happens when Bacula cannot find appendable volumes. Disk or tape, or whatever. Show us the Pool resource for the pool in question. Below are the pool definitions that I currently have --- # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } # File Pool definition Pool { Name = File Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool LabelFormat = BaculaBackups- } I'm going to guess it's this Pool. I'm also going to guess that you have reached 100 volumes in this pool. Please confirm There are no volumes here, this is a fresh setup still testing - and I'll be darned if I'm using 5000G and didn't notice! -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
On 04/01/2011 14:27, Paulo Martinez wrote: Am 04.01.2011 um 14:23 schrieb Mister IT Guru: On 04/01/2011 02:13, Dan Langille wrote: On 1/3/2011 4:53 PM, Mister IT Guru wrote: I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. This happens when Bacula cannot find appendable volumes. Disk or tape, or whatever. Show us the Pool resource for the pool in question. Below are the pool definitions that I currently have --- # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } # File Pool definition Pool { Name = File Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool LabelFormat = BaculaBackups- } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } sd's config file should have Device { . . . LabelMedia = yes; # lets Bacula label unlabeled media . . . } -- PM LabelMedia = yes; appears in all all my device definitions, and the storage daemon has been reloaded, restarted, reconfigured, reloaded, and restarted again. :) -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
On Tue, Jan 4, 2011 at 9:14 AM, Mister IT Guru misteritg...@gmx.com wrote: LabelMedia = yes; appears in all all my device definitions, and the storage daemon has been reloaded, restarted, reconfigured, reloaded, and restarted again. :) Sorry if you've already posted it and I missed it, but what's that section of your SD config look like? Does the user (likely 'bacula') that the SD is running as have rw access to the path given in your File section, and the path exists? Regards, Mark -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - But auto labeling is enabled?
On 1/3/2011 4:53 PM, Mister IT Guru wrote: I am at a loss as to why this can occur, when I've configured automatic labellings. I get this error emailed to me when jobs are trying to run Cannot find any appendable volumes It's my understanding that this happens when there are no tapes available, but I have disk based storage. Any hints and tips would be appreciated, I can attach any requested configs. This happens when Bacula cannot find appendable volumes. Disk or tape, or whatever. Show us the Pool resource for the pool in question. -- Dan Langille - http://langille.org/ -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] cannot find any appendable volumes
On Tue, 27 Jul 2010 14:45:37 -0700, Maria Mckinley said: On 7/26/10 12:13 PM, John Drescher wrote: snip Did it try to use B002 and fail? John Both B001 and B002 are in the changer. I tried loading each of them in the drive, and after each time running the mount command in bacula, but I just keep getting the message that there are no appendable volumes. Did you change the status of these volumes after the job started? John So, I just tried moving a volume from my scratch pool to my Servers pool, and pruned it. Bacula marked it purged. I then ran the mount command, and again I got the message that there are no appendable volumes: *messages 27-Jul 14:35 billie-sd JobId 1700: Job MailBackup.2010-07-25_01.10.00.28 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/st0) Using /dev/st0 is risky. You should use /dev/nst0 to prevent the tape from rewinding unexpectedly and then overwriting the label. Pool: Servers Media type: VXA-2 *list volumes pool=Servers +-++---+-+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+-+--+--+-+--+---+---+-+ | 8 | A007 | Purged| 1 | 123,725,887,488 | 196 | 864,000 | 1 |7 | 1 | VXA-2 | 2009-06-26 11:10:47 | | 10 | A010 | Full | 1 | 85,035,073,536 | 94 | 2,592,000 | 1 |9 | 1 | VXA-2 | 2010-07-04 04:21:32 | | 11 | B001 | Recycle | 1 | 1 | 0| 1,814,400 | 1 |2 | 1 | VXA-2 | 2010-06-27 06:48:34 | | 12 | B002 | Append| 1 | 0 | 0| 2,592,000 | 1 |5 | 1 | VXA-2 | 2010-06-13 05:50:03 | | 31 | C006 | Full | 1 | 71,120,738,304 | 76 | 2,592,000 | 1 |8 | 1 | VXA-2 | 2010-07-23 16:15:26 | +-++---+-+-+--+--+-+--+---+---+-+ What the heck could be going on here? Try setting debug level 200 in the Director: setdebug director level=200 trace=1 Then get Bacula to recheck the volume to use (probably unmount followed by mount will do this). The trace file from the working directory might give more clues about what it is trying to find. I have recently ran into some weirdnesses with my setup. Everything had been running fine for a long time, and then when I rebooted the machine, the tape drive showed up on a different device address. I had to change this, and then it appeared that suddenly there were some strange problems with my config file, which I fixed (stuff like it suddenly didn't like upper case letters, where apparently it didn't care before). But, now I have run a couple of successful backups since then, until I ran into this weirdness, and I'm not sure what to do... Using bacula 2.4.4-1 on debian lenny. Which parts of the config were affected by the upper case letter problem? AFAIK, all of the keywords are case-insensitive but the names of things (pools, clients, mediatypes etc) are case-sensitive. __Martin -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] cannot find any appendable volumes
On 7/26/10 12:13 PM, John Drescher wrote: snip Did it try to use B002 and fail? John Both B001 and B002 are in the changer. I tried loading each of them in the drive, and after each time running the mount command in bacula, but I just keep getting the message that there are no appendable volumes. Did you change the status of these volumes after the job started? John So, I just tried moving a volume from my scratch pool to my Servers pool, and pruned it. Bacula marked it purged. I then ran the mount command, and again I got the message that there are no appendable volumes: *messages 27-Jul 14:35 billie-sd JobId 1700: Job MailBackup.2010-07-25_01.10.00.28 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/st0) Pool: Servers Media type: VXA-2 *list volumes pool=Servers +-++---+-+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+-+--+--+-+--+---+---+-+ | 8 | A007 | Purged| 1 | 123,725,887,488 | 196 | 864,000 | 1 |7 | 1 | VXA-2 | 2009-06-26 11:10:47 | | 10 | A010 | Full | 1 | 85,035,073,536 | 94 |2,592,000 | 1 |9 | 1 | VXA-2 | 2010-07-04 04:21:32 | | 11 | B001 | Recycle | 1 | 1 | 0 |1,814,400 | 1 |2 | 1 | VXA-2 | 2010-06-27 06:48:34 | | 12 | B002 | Append| 1 | 0 | 0 |2,592,000 | 1 |5 | 1 | VXA-2 | 2010-06-13 05:50:03 | | 31 | C006 | Full | 1 | 71,120,738,304 | 76 |2,592,000 | 1 |8 | 1 | VXA-2 | 2010-07-23 16:15:26 | +-++---+-+-+--+--+-+--+---+---+-+ What the heck could be going on here? I have recently ran into some weirdnesses with my setup. Everything had been running fine for a long time, and then when I rebooted the machine, the tape drive showed up on a different device address. I had to change this, and then it appeared that suddenly there were some strange problems with my config file, which I fixed (stuff like it suddenly didn't like upper case letters, where apparently it didn't care before). But, now I have run a couple of successful backups since then, until I ran into this weirdness, and I'm not sure what to do... Using bacula 2.4.4-1 on debian lenny. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] cannot find any appendable volumes
Hello, For some reason, bacula is telling me it can't find any appendable volumes, even though there are clearly appendable volumes. Why would this be happening? Any ideas? *messages 26-Jul 11:08 billie-sd JobId 1700: Job MailBackup.2010-07-25_01.10.00.28 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/st0) Pool: Servers Media type: VXA-2 *list volumes pool=Servers +-++---+-++--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-++--+--+-+--+---+---+-+ | 10 | A010 | Full | 1 | 85,035,073,536 | 94 |2,592,000 | 1 |9 | 1 | VXA-2 | 2010-07-04 04:21:32 | | 11 | B001 | Recycle | 1 | 1 |0 |1,814,400 | 1 |2 | 1 | VXA-2 | 2010-06-27 06:48:34 | | 12 | B002 | Append| 1 | 0 |0 |2,592,000 | 1 |5 | 1 | VXA-2 | 2010-06-13 05:50:03 | | 31 | C006 | Full | 1 | 71,120,738,304 | 76 |2,592,000 | 1 |8 | 1 | VXA-2 | 2010-07-23 16:15:26 | +-++---+-++--+--+-+--+---+---+-+ * thanks, maria -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] cannot find any appendable volumes
For some reason, bacula is telling me it can't find any appendable volumes, even though there are clearly appendable volumes. Why would this be happening? Any ideas? *messages 26-Jul 11:08 billie-sd JobId 1700: Job MailBackup.2010-07-25_01.10.00.28 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/st0) Pool: Servers Media type: VXA-2 *list volumes pool=Servers +-++---+-++--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-++--+--+-+--+---+---+-+ | 10 | A010 | Full | 1 | 85,035,073,536 | 94 | 2,592,000 | 1 | 9 | 1 | VXA-2 | 2010-07-04 04:21:32 | | 11 | B001 | Recycle | 1 | 1 | 0 | 1,814,400 | 1 | 2 | 1 | VXA-2 | 2010-06-27 06:48:34 | | 12 | B002 | Append | 1 | 0 | 0 | 2,592,000 | 1 | 5 | 1 | VXA-2 | 2010-06-13 05:50:03 | | 31 | C006 | Full | 1 | 71,120,738,304 | 76 | 2,592,000 | 1 | 8 | 1 | VXA-2 | 2010-07-23 16:15:26 | +-++---+-++--+--+-+--+---+---+-+ * Did it try to use B002 and fail? John -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] cannot find any appendable volumes
On 7/26/10 11:53 AM, John Drescher wrote: For some reason, bacula is telling me it can't find any appendable volumes, even though there are clearly appendable volumes. Why would this be happening? Any ideas? *messages 26-Jul 11:08 billie-sd JobId 1700: Job MailBackup.2010-07-25_01.10.00.28 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/st0) Pool: Servers Media type: VXA-2 *list volumes pool=Servers +-++---+-++--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-++--+--+-+--+---+---+-+ | 10 | A010 | Full | 1 | 85,035,073,536 | 94 |2,592,000 | 1 |9 | 1 | VXA-2 | 2010-07-04 04:21:32 | | 11 | B001 | Recycle | 1 | 1 |0 |1,814,400 | 1 |2 | 1 | VXA-2 | 2010-06-27 06:48:34 | | 12 | B002 | Append| 1 | 0 |0 |2,592,000 | 1 |5 | 1 | VXA-2 | 2010-06-13 05:50:03 | | 31 | C006 | Full | 1 | 71,120,738,304 | 76 |2,592,000 | 1 |8 | 1 | VXA-2 | 2010-07-23 16:15:26 | +-++---+-++--+--+-+--+---+---+-+ * Did it try to use B002 and fail? John Both B001 and B002 are in the changer. I tried loading each of them in the drive, and after each time running the mount command in bacula, but I just keep getting the message that there are no appendable volumes. ~maria -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] cannot find any appendable volumes
On Mon, Jul 26, 2010 at 3:07 PM, Maria Mckinley ma...@shadlen.org wrote: On 7/26/10 11:53 AM, John Drescher wrote: For some reason, bacula is telling me it can't find any appendable volumes, even though there are clearly appendable volumes. Why would this be happening? Any ideas? *messages 26-Jul 11:08 billie-sd JobId 1700: Job MailBackup.2010-07-25_01.10.00.28 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/st0) Pool: Servers Media type: VXA-2 *list volumes pool=Servers +-++---+-++--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-++--+--+-+--+---+---+-+ | 10 | A010 | Full | 1 | 85,035,073,536 | 94 | 2,592,000 | 1 | 9 | 1 | VXA-2 | 2010-07-04 04:21:32 | | 11 | B001 | Recycle | 1 | 1 | 0 | 1,814,400 | 1 | 2 | 1 | VXA-2 | 2010-06-27 06:48:34 | | 12 | B002 | Append | 1 | 0 | 0 | 2,592,000 | 1 | 5 | 1 | VXA-2 | 2010-06-13 05:50:03 | | 31 | C006 | Full | 1 | 71,120,738,304 | 76 | 2,592,000 | 1 | 8 | 1 | VXA-2 | 2010-07-23 16:15:26 | +-++---+-++--+--+-+--+---+---+-+ * Did it try to use B002 and fail? John Both B001 and B002 are in the changer. I tried loading each of them in the drive, and after each time running the mount command in bacula, but I just keep getting the message that there are no appendable volumes. Did you change the status of these volumes after the job started? John -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] cannot find any appendable volumes
On 7/26/10 12:13 PM, John Drescher wrote: On Mon, Jul 26, 2010 at 3:07 PM, Maria Mckinleyma...@shadlen.org wrote: On 7/26/10 11:53 AM, John Drescher wrote: For some reason, bacula is telling me it can't find any appendable volumes, even though there are clearly appendable volumes. Why would this be happening? Any ideas? *messages 26-Jul 11:08 billie-sd JobId 1700: Job MailBackup.2010-07-25_01.10.00.28 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/st0) Pool: Servers Media type: VXA-2 *list volumes pool=Servers +-++---+-++--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-++--+--+-+--+---+---+-+ | 10 | A010 | Full | 1 | 85,035,073,536 | 94 |2,592,000 | 1 |9 | 1 | VXA-2 | 2010-07-04 04:21:32 | | 11 | B001 | Recycle | 1 | 1 |0 |1,814,400 | 1 |2 | 1 | VXA-2 | 2010-06-27 06:48:34 | | 12 | B002 | Append| 1 | 0 |0 |2,592,000 | 1 |5 | 1 | VXA-2 | 2010-06-13 05:50:03 | | 31 | C006 | Full | 1 | 71,120,738,304 | 76 |2,592,000 | 1 |8 | 1 | VXA-2 | 2010-07-23 16:15:26 | +-++---+-++--+--+-+--+---+---+-+ * Did it try to use B002 and fail? John Both B001 and B002 are in the changer. I tried loading each of them in the drive, and after each time running the mount command in bacula, but I just keep getting the message that there are no appendable volumes. Did you change the status of these volumes after the job started? John This is probable with B002. With B001, I think I just did prune. ~maria -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes.
Any help? I'm unable to resolve this issue. Every time I have to label media... Il giorno mer, 16/06/2010 alle 12.16 +0200, Gandalf Corvotempesta ha scritto: Il giorno mer, 16/06/2010 alle 12.10 +0200, Carlo Filippetto ha scritto: Have you create any volume in that pool? Post the Pool definition, and the schedul Schedule { Name = My Schedule Run = Full 1st sun at 11:25 Run = Differential 2nd-5th sun at 11:25 Run = Incremental mon-sat at 11:25 } Pool { Name = Full-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 month Maximum Volume Jobs = 1 Label Format = ${Year}${Month:p/2/0/r}${Day:p/2/0/r}_${Hour:p/2/0/r}h ${Minute:p/2/0/r}m-full } Pool { Name = Inc-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 month Maximum Volume Jobs = 1 Label Format = ${Year}${Month:p/2/0/r}${Day:p/2/0/r}_${Hour:p/2/0/r}h ${Minute:p/2/0/r}m-incremental } Pool { Name = Diff-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 month Maximum Volume Jobs = 1 Label Format = ${Year}${Month:p/2/0/r}${Day:p/2/0/r}_${Hour:p/2/0/r}h ${Minute:p/2/0/r}m-differential Maximum Volume Jobs = 1 } Full backups seems to work correctly even from schedule. Incremental backups doesn't works. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes.
Hello, i'm new to Bacula and I'm having some trouble. If i'll manually run a backup from bconsole, that backup will be completed correctly. But if i'll wait for the scheduled backup, that backup will abort with the following error: Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: FileStorage-mycomputer (/var/bacula/backups/clients/mycomputer) Pool: Inc-Pool Media type: File-mycomputer This is my director configuration, for each client: Job { Name = client-mycomputer Client = mycomputer-fd JobDefs = JobPredefinito Storage = storage-mycomputer } Client { Name = mycomputer-fd Address = 172.17.0.11 FDPort = 9102 Catalog = Catalog Password = ARm7qyF3lJSBKJ9NRICUj+Ry3PRJ3EZN92EnilHFVb8/ File Retention = 30 days Job Retention = 6 months AutoPrune = yes } Storage { Name = storage-mycomputer Maximum Concurrent Jobs = 20 Address = 172.17.0.1 Device = FileStorage-mycomputer Password = 8GGBGvyuXppCgc3YxoPe5nDiX5yYhKIO22gmITaKg Media Type = File-mycomputer } This is the storage configuration, for that client: Device { Name = FileStorage-mycomputer Media Type = File-mycomputer Archive Device = /var/bacula/backups/clients/mycomputer LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; Requires Mount = no; AlwaysOpen = no; } Any help? -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes.
Have you create any volume in that pool? Post the Pool definition, and the schedul CIAO --- Carlo Filippetto 2010/6/16 Gandalf Corvotempesta newsletter-...@guest.net: Hello, i'm new to Bacula and I'm having some trouble. If i'll manually run a backup from bconsole, that backup will be completed correctly. But if i'll wait for the scheduled backup, that backup will abort with the following error: Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: FileStorage-mycomputer (/var/bacula/backups/clients/mycomputer) Pool: Inc-Pool Media type: File-mycomputer This is my director configuration, for each client: Job { Name = client-mycomputer Client = mycomputer-fd JobDefs = JobPredefinito Storage = storage-mycomputer } Client { Name = mycomputer-fd Address = 172.17.0.11 FDPort = 9102 Catalog = Catalog Password = ARm7qyF3lJSBKJ9NRICUj+Ry3PRJ3EZN92EnilHFVb8/ File Retention = 30 days Job Retention = 6 months AutoPrune = yes } Storage { Name = storage-mycomputer Maximum Concurrent Jobs = 20 Address = 172.17.0.1 Device = FileStorage-mycomputer Password = 8GGBGvyuXppCgc3YxoPe5nDiX5yYhKIO22gmITaKg Media Type = File-mycomputer } This is the storage configuration, for that client: Device { Name = FileStorage-mycomputer Media Type = File-mycomputer Archive Device = /var/bacula/backups/clients/mycomputer LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; Requires Mount = no; AlwaysOpen = no; } Any help? -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes.
Il giorno mer, 16/06/2010 alle 12.10 +0200, Carlo Filippetto ha scritto: Have you create any volume in that pool? Post the Pool definition, and the schedul Schedule { Name = My Schedule Run = Full 1st sun at 11:25 Run = Differential 2nd-5th sun at 11:25 Run = Incremental mon-sat at 11:25 } Pool { Name = Full-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 month Maximum Volume Jobs = 1 Label Format = ${Year}${Month:p/2/0/r}${Day:p/2/0/r}_${Hour:p/2/0/r}h ${Minute:p/2/0/r}m-full } Pool { Name = Inc-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 month Maximum Volume Jobs = 1 Label Format = ${Year}${Month:p/2/0/r}${Day:p/2/0/r}_${Hour:p/2/0/r}h ${Minute:p/2/0/r}m-incremental } Pool { Name = Diff-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 month Maximum Volume Jobs = 1 Label Format = ${Year}${Month:p/2/0/r}${Day:p/2/0/r}_${Hour:p/2/0/r}h ${Minute:p/2/0/r}m-differential Maximum Volume Jobs = 1 } Full backups seems to work correctly even from schedule. Incremental backups doesn't works. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes
I've changed my configuration to add a 'Maximum Volumes =' directive for the pools, and have cancelled jobs, and restarted Bacula. Some of the volumes are in the loader, and some have been removed for storage. The Maximum Volumes directive is equal to the total volumes assigned to the pool (whether or not they are in the loader). Now, with another pool, I have the same error: 29-Apr 10:06 orlbacula-sd JobId 14890: Job daniel2-backup.2010-04-28_21.05.22 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-0 (/dev/nst0) Pool: Monthly Media type: ULTRIUM-LTO-4 The device status is blocked waiting to create a volume: Device status: Autochanger Autochanger with devices: Drive-0 (/dev/nst0) Drive-1 (/dev/nst1) Device Drive-0 (/dev/nst0) is not open. Device is BLOCKED waiting to create a volume for: Pool:Monthly Media type: ULTRIUM-LTO-4 Drive 0 is not loaded. Device Drive-1 (/dev/nst1) is mounted with: Volume: 05 Pool:Daily Media type: ULTRIUM-LTO-4 Slot 26 is loaded in drive 1. Total Bytes=775,870,986,240 Blocks=12,026,769 Bytes/block=64,512 Positioned at File=1,565 Block=0 I have several volumes in the loader for that pool, of which 13, 26, 27, 61 ought to be writable: Pool: Monthly +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 69 | 02 | Full | 1 | 1,823,325,815,808 |3,655 | 15,552,000 | 1 |3 | 1 | ULTRIUM-LTO-4 | 2010-04-24 00:40:00 | | 70 | 07 | Full | 1 | 2,264,186,373,120 |4,533 | 15,552,000 | 1 |7 | 1 | ULTRIUM-LTO-4 | 2010-04-23 23:01:22 | | 71 | 16 | Full | 1 | 2,714,093,641,728 |5,439 | 15,552,000 | 1 | 11 | 1 | ULTRIUM-LTO-4 | 2010-04-23 22:07:06 | | 88 | 46 | Full | 1 | 1,345,092,037,632 |2,693 | 15,552,000 | 1 | 30 | 1 | ULTRIUM-LTO-4 | 2010-04-24 08:48:06 | | 90 | 50 | Append| 1 | 2,132,869,036,032 |4,291 | 15,552,000 | 1 | 27 | 1 | ULTRIUM-LTO-4 | 2010-04-29 08:14:01 | | 97 | 19 | Full | 1 | 1,940,798,877,696 |3,887 | 15,552,000 | 1 | 19 | 1 | ULTRIUM-LTO-4 | 2010-04-28 04:37:50 | | 99 | 13 | Append| 1 |64,512 |0 | 15,552,000 | 1 |4 | 1 | ULTRIUM-LTO-4 | -00-00 00:00:00 | | 101 | 26 | Append| 1 |64,512 |0 | 15,552,000 | 1 | 15 | 1 | ULTRIUM-LTO-4 | -00-00 00:00:00 | | 102 | 27 | Append| 1 |64,512 |0 | 15,552,000 | 1 | 16 | 1 | ULTRIUM-LTO-4 | -00-00 00:00:00 | | 103 | 61 | Append| 1 |64,512 |0 | 31,104,000 | 1 | 24 | 1 | ULTRIUM-LTO-4 | -00-00 00:00:00 | +-++---+-+---+--+--+-+--+---+---+-+ +-- |This was sent by peter_rei...@wycliffe.org via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes
Hello, I'm trying to understand what condition would cause bacula to not find any appendable volumes, or recycle any tapes. *ver orlbacula-dir Version: 2.4.2 (26 July 2008) i686-redhat-linux-gnu redhat I'm getting this error: 23-Apr 07:30 orlbacula-sd JobId 14636: Job ons-nids-daily.2010-04-22_21.05.30 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-0 (/dev/nst0) Pool: Weekly Media type: ULTRIUM-LTO-4 I've have these tapes in the pool. Pool: Weekly +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 40 | 52 | Full | 1 | 1,617,950,702,592 | 3,239 |1,209,600 | 1 | 14 | 1 | ULTRIUM-LTO-4 | 2010-03-14 21:50:29 | | 42 | 03 | Full | 1 | 1,955,061,255,168 | 3,921 |1,209,600 | 1 | 21 | 1 | ULTRIUM-LTO-4 | 2010-04-18 12:17:10 | | 46 | 08 | Full | 1 | 1,874,225,009,664 | 3,753 |1,209,600 | 1 | 29 | 1 | ULTRIUM-LTO-4 | 2010-04-18 21:26:21 | | 47 | 09 | Full | 1 | 1,721,672,064,000 | 3,455 |1,209,600 | 1 | 30 | 1 | ULTRIUM-LTO-4 | 2010-04-23 02:39:29 | | 48 | 12 | Append| 1 | 1,346,732,061,696 | 2,701 |1,209,600 | 1 |3 | 1 | ULTRIUM-LTO-4 | 2010-04-23 06:11:36 | | 50 | 15 | Full | 1 | 1,505,648,083,968 | 3,017 |1,209,600 | 1 |5 | 1 | ULTRIUM-LTO-4 | 2010-03-14 01:31:53 | | 65 | 54 | Append| 1 | 1,052,429,930,496 | 2,109 |1,209,600 | 1 | 24 | 1 | ULTRIUM-LTO-4 | 2010-04-23 08:53:08 | | 73 | 49 | Full | 1 | 1,189,703,789,568 | 2,381 |1,209,600 | 1 |1 | 1 | ULTRIUM-LTO-4 | 2010-03-20 22:04:19 | | 79 | 45 | Full | 1 | 1,848,184,095,744 | 3,699 |1,209,600 | 1 |8 | 1 | ULTRIUM-LTO-4 | 2010-03-21 08:27:10 | | 80 | 62 | Recycle | 1 | 1 |0 |1,209,600 | 1 |6 | 1 | ULTRIUM-LTO-4 | 2010-03-03 05:36:10 | | 81 | 63 | Full | 1 | 2,113,247,840,256 | 4,235 |1,209,600 | 1 | 28 | 1 | ULTRIUM-LTO-4 | 2010-03-03 05:59:26 | | 83 | 48 | Full | 1 | 1,634,520,932,352 | 3,275 |1,209,600 | 1 | 25 | 1 | ULTRIUM-LTO-4 | 2010-03-07 08:59:21 | | 84 | 65 | Full | 1 | 2,100,940,434,432 | 4,209 |1,209,600 | 1 | 20 | 1 | ULTRIUM-LTO-4 | 2010-03-13 22:01:54 | +-++---+-+---+--+--+-+--+---+---+-+ With a retention period of 14 days, I was expecting the volumes 52, 15, 49, 45, 62, 63, 48, and 65 to be usable. Here are the config file relevant portions: #bacula-sd.conf Autochanger { Name = Autochanger Device = Drive-0, Drive-1 Changer Command = /usr/lib/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/sg4 } Device { Name = Drive-0 Drive Index = 0 Media Type = ULTRIUM-LTO-4 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Check Labels = yes LabelMedia = yes Label Type = ANSI Alert Command = sh -c 'smartctl -H -l error %c' } Device { Name = Drive-1 Drive Index = 1 Media Type = ULTRIUM-LTO-4 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Check Labels = yes LabelMedia = yes Label Type = ANSI Alert Command = sh -c 'smartctl -H -l error %c' } # bacula-dir.conf JobDefs { Name = Weekly Type = Backup Level = Full Client = orlbacula-fd FileSet = Full Set Maximum Concurrent Jobs = 2 #Maximum Concurrent Jobs = 4 Schedule = Weekly Storage = tape Messages = Standard Pool = Weekly Priority = 10 Max Start Delay = 23h Prefer Mounted Volumes = no } Storage { Name = tape Address = gideon.wycliffe.org SDPort = 9103 Maximum Concurrent Jobs = 4 Password = password Device = Autochanger Media Type = ULTRIUM-LTO-4 Autochanger = yes } Pool { Name = Weekly Pool Type = Backup
Re: [Bacula-users] Cannot find any appendable volumes
On 04/23/10 10:05, Peter Reilly wrote: Hello, I'm trying to understand what condition would cause bacula to not find any appendable volumes, or recycle any tapes. *ver orlbacula-dir Version: 2.4.2 (26 July 2008) i686-redhat-linux-gnu redhat I'm getting this error: 23-Apr 07:30 orlbacula-sd JobId 14636: Job ons-nids-daily.2010-04-22_21.05.30 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-0 (/dev/nst0) Pool: Weekly Media type: ULTRIUM-LTO-4 [...] Have you tried putting a 'Maximum Volumes = 13' directive in your Pool resource to tell it not to create any more new volumes besides the ones you already have? (Though if your retention is 14 days, you probably need to have at least 15 volumes.) -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, Free Stater It's not the years, it's the mileage. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes
Hi there, I've been struggling for weeks to get my previously working setup working again. :-( I read the docs multiple times but was unable to spot my fault. I've got the following setup: Pool { Name = Weekly Pool Type = Backup # volumes are moved to Scratch manually, avoid automatic recycling Recycle=no AutoPrune = no Volume Retention = 6 weeks Volume Use Duration = 23 hours RecyclePool = Scratch } Pool { Name = Scratch Pool Type = Backup RecyclePool = Scratch Recycle = yes AutoPrune = yes Volume Use Duration = 2 days Volume Retention = 14 days } Pool { Name = Daily-Autoloader Pool Type = Backup Volume Retention = 14 days Volume Use Duration = 2 days RecyclePool = Scratch } And even though there are volumes in the scratch pool, e.g.: Pool: Scratch +-++---+-+-+--+--+-+--+---+---+-+ | mediaid | volumename | volstatus | enabled | volbytes| volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +-++---+-+-+--+--+-+--+---+---+-+ | 13 | MJR258L3 | Full | 1 | 205,955,637,248 | 49 | 1,209,600 | 1 |8 | 1 | LTO-3 | 2010-01-23 16:23:37 | | 20 | MJR264L3 | Full | 1 | 202,673,155,072 | 49 | 1,209,600 | 1 |3 | 1 | LTO-3 | 2010-01-21 05:12:25 | | 31 | MJR278L3 | Used | 1 | 20,567,032,832 |5 | 1,209,600 | 1 |1 | 1 | LTO-3 | 2010-01-23 16:35:31 | | 55 | MJR289L3 | Used | 1 | 117,238,043,648 | 29 | 1,209,600 | 1 |6 | 1 | LTO-3 | 2010-01-20 05:13:19 | | 58 | MJR290L3 | Used | 1 | 231,347,448,832 | 55 | 1,209,600 | 1 |7 | 1 | LTO-3 | 2010-01-22 16:29:37 | +-++---+-+-+--+--+-+--+---+---+-+ Bacula does not pick them up for the weekly backup. The daily backups work as expected. But all the weeklies fail: Job xxx_Server.2010-02-14_06.10.36 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Superloader-Drive (/dev/nst0) Pool: Woechentlich Media type: LTO-3 What am I missing? Do I need a Recycle=yes in the Weekly pool? I suppose not - at least according to the documentation, Bacula will always look into the scratch pool for new volumes. BTW: Bacula version is 2.2.5. Thanks for any hints, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes
Hi Tino Am 2/15/10 11:10 AM, schrieb Tino Schwarze: And even though there are volumes in the scratch pool, e.g.: Pool: Scratch +-++---+-+-+--+--+-+--+---+---+-+ | mediaid | volumename | volstatus | enabled | volbytes| volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +-++---+-+-+--+--+-+--+---+---+-+ | 13 | MJR258L3 | Full | 1 | 205,955,637,248 | 49 | 1,209,600 | 1 |8 | 1 | LTO-3 | 2010-01-23 16:23:37 | | 20 | MJR264L3 | Full | 1 | 202,673,155,072 | 49 | 1,209,600 | 1 |3 | 1 | LTO-3 | 2010-01-21 05:12:25 | | 31 | MJR278L3 | Used | 1 | 20,567,032,832 |5 | 1,209,600 | 1 |1 | 1 | LTO-3 | 2010-01-23 16:35:31 | | 55 | MJR289L3 | Used | 1 | 117,238,043,648 | 29 | 1,209,600 | 1 |6 | 1 | LTO-3 | 2010-01-20 05:13:19 | | 58 | MJR290L3 | Used | 1 | 231,347,448,832 | 55 | 1,209,600 | 1 |7 | 1 | LTO-3 | 2010-01-22 16:29:37 | +-++---+-+-+--+--+-+--+---+---+-+ All your volumes are either full or used (not appendable), and volume retention time is far away for those volumes are being recycled. Regards, - Dan -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes
On Mon, Feb 15, 2010 at 11:55:35AM +0100, Daniel Kamm wrote: Hi Tino Am 2/15/10 11:10 AM, schrieb Tino Schwarze: And even though there are volumes in the scratch pool, e.g.: Pool: Scratch +-++---+-+-+--+--+-+--+---+---+-+ | mediaid | volumename | volstatus | enabled | volbytes| volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +-++---+-+-+--+--+-+--+---+---+-+ | 13 | MJR258L3 | Full | 1 | 205,955,637,248 | 49 | 1,209,600 | 1 |8 | 1 | LTO-3 | 2010-01-23 16:23:37 | | 20 | MJR264L3 | Full | 1 | 202,673,155,072 | 49 | 1,209,600 | 1 |3 | 1 | LTO-3 | 2010-01-21 05:12:25 | | 31 | MJR278L3 | Used | 1 | 20,567,032,832 |5 | 1,209,600 | 1 |1 | 1 | LTO-3 | 2010-01-23 16:35:31 | | 55 | MJR289L3 | Used | 1 | 117,238,043,648 | 29 | 1,209,600 | 1 |6 | 1 | LTO-3 | 2010-01-20 05:13:19 | | 58 | MJR290L3 | Used | 1 | 231,347,448,832 | 55 | 1,209,600 | 1 |7 | 1 | LTO-3 | 2010-01-22 16:29:37 | +-++---+-+-+--+--+-+--+---+---+-+ All your volumes are either full or used (not appendable), and volume retention time is far away for those volumes are being recycled. Regards, - Dan It might also help if you add Purge oldest Volume = yes to the pool definition, followed by update pools from resource in bconsole. This way, bacula will automatically recycle and re-use the oldest volume in the pool if there's none left in state append. Uwe -- uwe.schuerk...@nionex.net fon: [+49] 5242.91 - 4740, fax:-69 72 Hauptsitz: Avenwedder Str. 55, D-33311 Gütersloh, Germany Registergericht Gütersloh HRB 4196, Geschäftsführer: H. Gosewehr, D. Suda NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
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
[Bacula-users] Cannot find any appendable volumes.
Hello together, I hope someone can help me. Last Saturday bacula should make fullbackup for 22 clients. It starts at 20:05 with the first client. At Sunday morning 04:04 it send me messages like this: 08-Feb 04:04 backupserver-sd JobId 232: Job helios-Automatic-Backup.2009-02-07_20.05.21 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: helios-Device (/backup/helios) Pool: helios-Pool Media type: File I have no idea where the problem is. This job works fine last January. Here is the job definition: # /etc/bacula/helios-backup.conf # # Job definition for host helios # Job { Name = helios-Automatic-Backup Type = Backup Client = helios FileSet = helios-FileSet Schedule = WeeklyCycle Storage = helios-Storage Messages = Standard Pool = helios-Pool } The fileset definition: # # Fileset definition for host helios # FileSet { Name = helios-FileSet Include { Options { signature = SHA1 compression = GZIP9 @/etc/bacula/excludedAbaqusFiles.conf } File = /etc File = /var/lib/ldap File = /local/data/home } } The pool definition. It's the same definition like all other client pool definition, excepting the hostname: # # Pool Definition for host helios # Pool { Name = helios-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 months Use Volume Once = yes Maximum Volume Bytes = 4509715660.8 Label Format = helios- Maximum Volumes = 31 } The schedule definition: ## When to do the backups, full backup on first sunday of the month, ## differential (i.e. incremental since full) every other sunday, ## and incremental backups other days Schedule { Name = WeeklyCycle Run = Full first saturday at 20:05 Run = Differential second-fifth saturday at 20:05 Run = Incremental monday-friday at 20:05 } The job starts and generate some volumes. list volumes jobid=232 Jobid 232 used 7 Volume(s): helios-0331|helios-0332|helios-0333|helios-0334|helios-0335|helios-0336| helios-0337 +---+-+-+--+---+ --++---+ | JobId | Name| StartTime | Type | Level | JobFiles | JobBytes | JobStatus | +---+-+-+--+---+ --++---+ | 232 | helios-Automatic-Backup | 2009-02-08 00:46:42 | B| F | 422,492 | 31,446,205,296 | f | This job should backup 70GByte files 5 T diskspace are enough, I think: fileserver:/etc/bacula # df -h FilesystemSize Used Avail Use% Mounted on /dev/sdb5 9,9G 3,3G 6,1G 35% / udev 4,0G 164K 4,0G 1% /dev /dev/sdb6 5,0G 164M 4,6G 4% /tmp /dev/sdb7 207G 5,2G 191G 3% /var /dev/sdc5 9,9G 2,9G 6,5G 31% /local/sdc /dev/sdc6 5,0G 140M 4,6G 3% /local/sdc/tmp /dev/sdc7 207G 4,8G 192G 3% /local/sdc/var /dev/sda1 2,0T 237G 1,7T 13% /fileserverShare /dev/sda2 6,0T 781G 5,0T 14% /backup In www I red that I can fix this instead I prune some older volumes of helios. I did this. But nothing happens. Then I red about storage deamon problems. So I restarted the storage daemon. After that, bacula stopped this job and started the next job. Bacula directory and sotarge daemon are installed on the same machine. An opensuse 11.0 x86_64 pc. Bacula installed in version. fileserver:/etc/bacula # rpm -qi bacula-mysql-2.4.3-1 Name: bacula-mysql Relocations: /usr Version : 2.4.3 Vendor: The Bacula Team Release : 1 Build Date: Sa 11 Okt 2008 18:08:42 CEST Install Date: Fr 12 Dez 2008 14:07:57 CET Build Host: scott.localdomain Group : System Environment/DaemonsSource RPM: bacula-2.4.3-1.src.rpm Size: 23498608 License: GPL v2 Signature : DSA/SHA1, Sa 11 Okt 2008 20:12:19 CEST, Key ID 9e98bf3210a792ad Packager: D. Scott Barninger barnin...@fairfieldcomputers.com URL : http://www.bacula.org/ Summary : Bacula - The Network Backup Solution Description : But it is the i586 package. Not the x86_64 version. The x86_64 version didn't work on this machine. I checked the number of volumes for other clients. Other pools containes more volumes. The volume number isn't 999. After I restart the storage daemon it starts the next job. This job generates a volume called john-0338. This job was the second full backup job for this machine. So, where is the problem? Regards Manfred -- Create and Deploy Rich Internet Apps outside the browser
Re: [Bacula-users] Cannot find any appendable volumes.
On Mon, Feb 9, 2009 at 7:51 AM, KNOPS Manfred manfred.kn...@3ds.com wrote: Hello together, I hope someone can help me. Last Saturday bacula should make fullbackup for 22 clients. It starts at 20:05 with the first client. helios-Pool At Sunday morning 04:04 it send me messages like this: 08-Feb 04:04 backupserver-sd JobId 232: Job helios-Automatic-Backup.2009-02-07_20.05.21 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: helios-Device (/backup/helios) Pool: helios-Pool Media type: File how about the output of list media pool=helios-Pool John -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes.
| Full | 1 | 4,509,711,375 |1 |2,592,000 | 1 |0 | 0 | File | 2009-02-08 03:47:54 | | 337 | helios-0337 | Full | 1 | 4,509,711,488 |1 |2,592,000 | 1 |0 | 0 | File | 2009-02-08 04:04:59 | +-+-+---+-+---+- -+--+-+--+---+---+-- ---+ Regards Manfred -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Monday, February 09, 2009 2:13 PM To: KNOPS Manfred; bacula-users Subject: Re: [Bacula-users] Cannot find any appendable volumes. On Mon, Feb 9, 2009 at 7:51 AM, KNOPS Manfred manfred.kn...@3ds.com wrote: Hello together, I hope someone can help me. Last Saturday bacula should make fullbackup for 22 clients. It starts at 20:05 with the first client. helios-Pool At Sunday morning 04:04 it send me messages like this: 08-Feb 04:04 backupserver-sd JobId 232: Job helios-Automatic-Backup.2009-02-07_20.05.21 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: helios-Device (/backup/helios) Pool: helios-Pool Media type: File how about the output of list media pool=helios-Pool John -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes on MediaType=File
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Langille wrote: SZÉKELYI Szabolcs wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Drescher wrote: On Fri, Nov 28, 2008 at 3:38 PM, SZÉKELYI Szabolcs [EMAIL PROTECTED] wrote: I use files to store my backups, and all scheduled backups ran fine when I got the error 'Cannot find any appendable volumes' out of the blue. The filesystem that holds the backup file is not even close to full. The file that was used previously is there, it's writable, nothing changed since the last successful backup. What should I do to resolve the situation? I'd like bacula to continue using the the file it did before. I tried to run the sd with -d99, but looking at the output I still don't know what's wrong. post the output of list volumes from bconsole Here it goes: Pool: Default +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 5 | vol01 | Error | 1 | 5,278,560,968 | 1 | 31,536,000 | 1 |0 | 0 | File | 2008-11-26 23:47:24 | +-++---+-+---+--+--+-+--+---+---+-+ Pool: Scratch No results to list. There's your problem. That volume has status ERROR. Change it to Append using update volume within bconsole. Then issue a mount command. Works well now, thanks for the advice. - -- cc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkycfAACgkQGJRwVVqzMkMhBgCgldWPWieWtS6RUgLuNc4yyyHk V4IAnRb9Ixu1wkhybDxMfR9GkzQa3P3z =fwCb -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes on MediaType=File
On Fri, Nov 28, 2008 at 3:38 PM, SZÉKELYI Szabolcs [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I use files to store my backups, and all scheduled backups ran fine when I got the error 'Cannot find any appendable volumes' out of the blue. The filesystem that holds the backup file is not even close to full. The file that was used previously is there, it's writable, nothing changed since the last successful backup. What should I do to resolve the situation? I'd like bacula to continue using the the file it did before. I tried to run the sd with -d99, but looking at the output I still don't know what's wrong. post the output of list volumes from bconsole John - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes on MediaType=File
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Drescher wrote: On Fri, Nov 28, 2008 at 3:38 PM, SZÉKELYI Szabolcs [EMAIL PROTECTED] wrote: I use files to store my backups, and all scheduled backups ran fine when I got the error 'Cannot find any appendable volumes' out of the blue. The filesystem that holds the backup file is not even close to full. The file that was used previously is there, it's writable, nothing changed since the last successful backup. What should I do to resolve the situation? I'd like bacula to continue using the the file it did before. I tried to run the sd with -d99, but looking at the output I still don't know what's wrong. post the output of list volumes from bconsole Here it goes: Pool: Default +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 5 | vol01 | Error | 1 | 5,278,560,968 |1 | 31,536,000 | 1 |0 | 0 | File | 2008-11-26 23:47:24 | +-++---+-+---+--+--+-+--+---+---+-+ Pool: Scratch No results to list. Thanks, - -- cc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkwZ+oACgkQGJRwVVqzMkMeoQCfRG2uIzYfQyMsUdcXpF77jMTi j9gAoJp45zJgMjc4A5TaqJ4Wqc8RcKsX =dHE/ -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes on MediaType=File
SZÉKELYI Szabolcs wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Drescher wrote: On Fri, Nov 28, 2008 at 3:38 PM, SZÉKELYI Szabolcs [EMAIL PROTECTED] wrote: I use files to store my backups, and all scheduled backups ran fine when I got the error 'Cannot find any appendable volumes' out of the blue. The filesystem that holds the backup file is not even close to full. The file that was used previously is there, it's writable, nothing changed since the last successful backup. What should I do to resolve the situation? I'd like bacula to continue using the the file it did before. I tried to run the sd with -d99, but looking at the output I still don't know what's wrong. post the output of list volumes from bconsole Here it goes: Pool: Default +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 5 | vol01 | Error | 1 | 5,278,560,968 |1 | 31,536,000 | 1 |0 | 0 | File | 2008-11-26 23:47:24 | +-++---+-+---+--+--+-+--+---+---+-+ Pool: Scratch No results to list. There's your problem. That volume has status ERROR. Change it to Append using update volume within bconsole. Then issue a mount command. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes. (but they are there!)
When I have this issue I do the following. 1. Make sure that the request for an appendable volume isn't legitimate. It happens, tapes fill up and no more are available in the changer. 2. Cancel any tape jobs. Let any disk jobs complete 3. Stop bacula-dir, bacula-sd 4. Remove bacula-dir.state, bacula-sd.state 5. Restart bacula-dir, bacula-sd 6. Run canceled tape jobs. -Shon On Tue, Nov 4, 2008 at 7:31 AM, Joerg Wunsch [EMAIL PROTECTED] wrote: As Mingus Dew wrote: I hope someone answers your question. I've seen this same issue reported my me and others with no admission that there is a bug. I personally can't find anything wrong with my configuration. Could you check your bacula.log for any errors in the tape jobs prior. I've noticed that library error (mtx output) is not making it into the failure emails, only the request for an appendable volume That might explain it, but then I'd still like to know how to recover. The night before, one backup was aborted since the autochanger script somehow got confused about the slots to unload the tape into, and then the ch(4) device (this is FreeBSD which has a kernel device driver for media changer devices) refused to unload the medium because the desired destination slot was not empty. Prompted by this, I modified the autochanger script to always use the chio return drive 0 command rather than even trying to trust the slot number passed in from Bacula -- I found my L280 can always exactly remember which slot the medium has been loaded from, even after a power cycle, so there's no point in trying to move the tape to anything else but its source slot. After fixing this, I did not restart the bacula daemons though. The last messages from the previous night's failed jobs were: 03-Nov 03:13 uriah-sd JobId 35: 3304 Issuing autochanger load slot 3, drive 0 command. 03-Nov 03:14 uriah-sd JobId 35: Fatal error: 3992 Bad autochanger load slot 3, drive 0: ERR=Child exited with code 1. Results=chio: /dev/ch0: CHIOMOVE: No space left on device 03-Nov 03:14 uriah-fd JobId 35: Fatal error: job.c:1817 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data One day later (i.e. this morning), the messages were: 04-Nov 03:03 uriah-dir JobId 36: Start Backup JobId 36, Job=UriahHome.2008-11-04_03.03.24 04-Nov 03:03 uriah-dir JobId 36: Using Device Drive-1 04-Nov 03:03 uriah-sd JobId 36: Job UriahHome.2008-11-04_03.03.24 waiting. Cannot find any appendable volumes. I.e. it did not even attempt to touch the changer. So how would I have to tell the Bacula daemons my media changer problems have been fixed? Remember, even a full update slots scan did not unblock it. -- cheers, Jorg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ http://www.sax.de/%7Ejoerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes. (but they are there!)
As Mingus Dew wrote: When I have this issue I do the following. 1. Make sure that the request for an appendable volume isn't legitimate. It happens, tapes fill up and no more are available in the changer. 2. Cancel any tape jobs. Let any disk jobs complete 3. Stop bacula-dir, bacula-sd 4. Remove bacula-dir.state, bacula-sd.state 5. Restart bacula-dir, bacula-sd 6. Run canceled tape jobs. Well, for me it was even sufficient to restart just bacula-sd, this unblocks the drive in turn. I also think I found the root of all evil that was eventually causing the hardware errors the changer reported (which in turn made bacula-sd block the drive), it was probably a line in the chio-bacula script my changer couldn't really stand. Anyway, I'd still be interested in learning how to unblock the drive /without/ cancelling the job, and restarting bacula-sd, i. e. a way to tell bacula-sd: Hey, all the trouble is gone, the hardware is fixed again, please just continue now. -- cheers, Jorg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes. (but they are there!)
I see there's another message with that subject already. My problem's a little different: the appendable volume /is/ there, but Bacula refuses to use it. The drive is BLOCKED, and I don't know how to make it proceed. I eventually gave up, and killed the job so the other outstanding jobs could at least proceed, but would like to know why Bacula didn't really use the volumes, to avoid the problem in the future. The message is: 04-Nov 09:03 uriah-sd JobId 36: Job UriahHome.2008-11-04_03.03.24 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/nsa0) Pool: Home Media type: DLT-7000 status stor says: Device status: Autochanger L280 with devices: Drive-1 (/dev/nsa0) Device Drive-1 (/dev/nsa0) is not open. Device is BLOCKED waiting to create a volume for: Pool:Home Media type: DLT-7000 Drive 0 status unknown. Yet there are two media available in the pool Home that are marked Append: *list media Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Pool: Default +-++---+-+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+-+--+--+-+--+---+---+-+ | 1 | uriah-001 | Append| 1 | 14103097344 | 20 | 31536000 | 1 | 1| 1 | DLT-7000 | 2008-10-29 23:25:47 | | 3 | uriah-003 | Append| 1 | 31426375680 | 35 | 31536000 | 1 | 3| 1 | DLT-7000 | 2008-11-02 19:06:51 | | 5 | uriah-005 | Append| 1 | 64512 | 0| 31536000 | 1 | 5| 1 | DLT-7000 | 0 | | 7 | uriah-007 | Append| 1 | 64512 | 0| 31536000 | 1 | 7| 1 | DLT-7000 | 0 | | 8 | uriah-008 | Append| 1 | 64512 | 0| 31536000 | 1 | 8| 1 | DLT-7000 | 0 | +-++---+-+-+--+--+-+--+---+---+-+ Pool: Home +-++---+-+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+-+--+--+-+--+---+---+-+ | 2 | uriah-002 | Full | 1 | 19375727616 | 22 | 31536000 | 1 | 2| 1 | DLT-7000 | 2008-11-02 03:29:38 | | 4 | uriah-004 | Append| 1 | 690213888 | 4| 31536000 | 1 | 4| 1 | DLT-7000 | 2008-11-03 03:09:00 | | 6 | uriah-006 | Append| 1 | 64512 | 0| 31536000 | 1 | 6| 1 | DLT-7000 | 0 | +-++---+-+-+--+--+-+--+---+---+-+ I had to mark uriah-002 artificially Full because of the drive's power vanishing before finishing to write the last job that went onto the tape, so the tape is currently not really appendable anymore. But both, uriah-004 and uriah-006 should be OK to be written to, so what's missing? Since the drive was BLOCKED, unmount/mount did not do anything at all (the changer script was not started), and even update slots scan did not unblock it, even though it thoroughly scanned all the available volume headers (and thus confirmed the volume status). I did not attempt to relabel uriah-006 since I want it to continue filling up medium uriah-004 first, until that one is really full. -- cheers, Jorg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes. (but they are there!)
I hope someone answers your question. I've seen this same issue reported my me and others with no admission that there is a bug. I personally can't find anything wrong with my configuration. Could you check your bacula.log for any errors in the tape jobs prior. I've noticed that library error (mtx output) is not making it into the failure emails, only the request for an appendable volume -Shon On Tue, Nov 4, 2008 at 3:28 AM, Joerg Wunsch [EMAIL PROTECTED] wrote: I see there's another message with that subject already. My problem's a little different: the appendable volume /is/ there, but Bacula refuses to use it. The drive is BLOCKED, and I don't know how to make it proceed. I eventually gave up, and killed the job so the other outstanding jobs could at least proceed, but would like to know why Bacula didn't really use the volumes, to avoid the problem in the future. The message is: 04-Nov 09:03 uriah-sd JobId 36: Job UriahHome.2008-11-04_03.03.24 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Drive-1 (/dev/nsa0) Pool: Home Media type: DLT-7000 status stor says: Device status: Autochanger L280 with devices: Drive-1 (/dev/nsa0) Device Drive-1 (/dev/nsa0) is not open. Device is BLOCKED waiting to create a volume for: Pool:Home Media type: DLT-7000 Drive 0 status unknown. Yet there are two media available in the pool Home that are marked Append: *list media Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Pool: Default +-++---+-+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+-+--+--+-+--+---+---+-+ | 1 | uriah-001 | Append| 1 | 14103097344 | 20 | 31536000 | 1 | 1| 1 | DLT-7000 | 2008-10-29 23:25:47 | | 3 | uriah-003 | Append| 1 | 31426375680 | 35 | 31536000 | 1 | 3| 1 | DLT-7000 | 2008-11-02 19:06:51 | | 5 | uriah-005 | Append| 1 | 64512 | 0| 31536000 | 1 | 5| 1 | DLT-7000 | 0 | | 7 | uriah-007 | Append| 1 | 64512 | 0| 31536000 | 1 | 7| 1 | DLT-7000 | 0 | | 8 | uriah-008 | Append| 1 | 64512 | 0| 31536000 | 1 | 8| 1 | DLT-7000 | 0 | +-++---+-+-+--+--+-+--+---+---+-+ Pool: Home +-++---+-+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+-+--+--+-+--+---+---+-+ | 2 | uriah-002 | Full | 1 | 19375727616 | 22 | 31536000 | 1 | 2| 1 | DLT-7000 | 2008-11-02 03:29:38 | | 4 | uriah-004 | Append| 1 | 690213888 | 4| 31536000 | 1 | 4| 1 | DLT-7000 | 2008-11-03 03:09:00 | | 6 | uriah-006 | Append| 1 | 64512 | 0| 31536000 | 1 | 6| 1 | DLT-7000 | 0 | +-++---+-+-+--+--+-+--+---+---+-+ I had to mark uriah-002 artificially Full because of the drive's power vanishing before finishing to write the last job that went onto the tape, so the tape is currently not really appendable anymore. But both, uriah-004 and uriah-006 should be OK to be written to, so what's missing? Since the drive was BLOCKED, unmount/mount did not do anything at all (the changer script was not started), and even update slots scan did not unblock it, even though it thoroughly scanned all the available volume headers (and thus confirmed the volume status). I did not attempt to relabel uriah-006 since I want it to continue filling up medium uriah-004 first, until that one is really full. -- cheers, Jorg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ http://www.sax.de/%7Ejoerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) - This SF.Net email is sponsored by
Re: [Bacula-users] Cannot find any appendable volumes. (but they are there!)
As Mingus Dew wrote: I hope someone answers your question. I've seen this same issue reported my me and others with no admission that there is a bug. I personally can't find anything wrong with my configuration. Could you check your bacula.log for any errors in the tape jobs prior. I've noticed that library error (mtx output) is not making it into the failure emails, only the request for an appendable volume That might explain it, but then I'd still like to know how to recover. The night before, one backup was aborted since the autochanger script somehow got confused about the slots to unload the tape into, and then the ch(4) device (this is FreeBSD which has a kernel device driver for media changer devices) refused to unload the medium because the desired destination slot was not empty. Prompted by this, I modified the autochanger script to always use the chio return drive 0 command rather than even trying to trust the slot number passed in from Bacula -- I found my L280 can always exactly remember which slot the medium has been loaded from, even after a power cycle, so there's no point in trying to move the tape to anything else but its source slot. After fixing this, I did not restart the bacula daemons though. The last messages from the previous night's failed jobs were: 03-Nov 03:13 uriah-sd JobId 35: 3304 Issuing autochanger load slot 3, drive 0 command. 03-Nov 03:14 uriah-sd JobId 35: Fatal error: 3992 Bad autochanger load slot 3, drive 0: ERR=Child exited with code 1. Results=chio: /dev/ch0: CHIOMOVE: No space left on device 03-Nov 03:14 uriah-fd JobId 35: Fatal error: job.c:1817 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data One day later (i.e. this morning), the messages were: 04-Nov 03:03 uriah-dir JobId 36: Start Backup JobId 36, Job=UriahHome.2008-11-04_03.03.24 04-Nov 03:03 uriah-dir JobId 36: Using Device Drive-1 04-Nov 03:03 uriah-sd JobId 36: Job UriahHome.2008-11-04_03.03.24 waiting. Cannot find any appendable volumes. I.e. it did not even attempt to touch the changer. So how would I have to tell the Bacula daemons my media changer problems have been fixed? Remember, even a full update slots scan did not unblock it. -- cheers, Jorg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes
Hi all, I'm running Bacula 2.4.2 off a FreeBSD 7.0 server using a DDS-3 tape drive. I'm using a Grandfather/father/son tape rotational scheme where I back up the data and the catalog as two nightly jobs onto a tape each time that it runs. All is well. Except for the monthly full backup. It will start the data backup and complete it. It starts the catalog backup job and report that it cannot find any appendable volume. I have to cancel that job in order to get going with the next backup job. Monthly backup jobs are scheduled the first Saturday of each month. The weird thing is- the monthly job definition is exactly the same as the weekly job definitions. I have absolutely no issues with the weekly jobs nor with the daily jobs. 04-Oct 02:31 orion-dir JobId 2019: BeforeJob: run command /usr/local/share/bacula/make_catalog_backup bacula bacula 04-Oct 02:41 orion-dir JobId 2019: Start Backup JobId 2019, Job=BackupCatalog.2008-10-04_00.10.03 04-Oct 02:41 orion-dir JobId 2019: Using Device DDS-3 04-Oct 02:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: DDS-3 (/dev/nsa0) Pool: MonthlyPool Media type: DDS-3 04-Oct 03:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: DDS-3 (/dev/nsa0) Pool: MonthlyPool Media type: DDS-3 04-Oct 05:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: DDS-3 (/dev/nsa0) Pool: MonthlyPool Media type: DDS-3 04-Oct 09:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: DDS-3 (/dev/nsa0) Pool: MonthlyPool Media type: DDS-3 04-Oct 17:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: DDS-3 (/dev/nsa0) Pool: MonthlyPool Media type: DDS-3 05-Oct 09:42 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: DDS-3 (/dev/nsa0) Pool: MonthlyPool Media type: DDS-3 06-Oct 09:42 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: DDS-3 (/dev/nsa0) Pool: MonthlyPool Media type: DDS-3 06-Oct 13:22 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03 canceled while waiting for mount on Storage Device DDS-3 (/dev/nsa0). 06-Oct 13:22 orion-dir JobId 2019: Bacula orion-dir 2.4.2 (26Jul08): 06-Oct-2008 13:22:08 Build OS: i386-portbld-freebsd7.0 freebsd 7.0-STABLE JobId: 2019 Job:BackupCatalog.2008-10-04_00.10.03 Backup Level: Full Client: orion-fd 2.4.2 (26Jul08) i386-portbld-freebsd7.0,freebsd,7.0-STABLE FileSet:Catalog 2005-11-15 05:52:46 Pool: MonthlyPool (From Run pool override) Storage:DDS-3 (From Job resource) Scheduled time: 04-Oct-2008 00:10:00 Start time: 04-Oct-2008 02:41:58 End time: 06-Oct-2008 13:22:08 Elapsed time: 2 days 10 hours 40 mins 10 secs Priority: 13 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Storage Encryption: no Volume name(s): Volume Session Id: 2 Volume Session Time:1223079937 Last Volume Bytes: 0 (0 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Canceled SD termination status: Wait for new Volume Termination:Backup Canceled Config files as follows (edited for brevity): bacula-dir.conf # # For Bacula release 1.36.2 (28 February 2005) -- freebsd 5.3-RELEASE-p10 # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = orion-dir DIRport = 9101# where we listen for UA connections QueryFile = /usr/local/share/bacula/query.sql WorkingDirectory = /var/db/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 1 Password = ***
Re: [Bacula-users] Cannot find any appendable volumes ???
Am 22.06.2007 00:05, Martin Simmons schrieb: On Thu, 21 Jun 2007 09:33:27 +0200, Wolfgang Powisch (privat) said: Hello, My setup is as follows: - Bacula 1.38.0 - One large Pool with 1125 on-Disk Volumes (each 2GB) - about 14 Clients - Schedule: weekly full, daily incremental - Job-Retention: between 1 and 8 weeks, depending on client - Volume retention 2 month My Problem: After some time all Volume get status Full and jobs stuck with the message Cannot find any appendable volumes. I don't understand how this can happen, because: - list jobtotals shows a sum of 1494 GB - available volumes: 1125*2GB = 2250 GB Where are 756 Gb lost ??? why are no volumes recycled ? The list jobtotals command only counts what is in the catalog so maybe some job records have been pruned? Ok, but if there are many pruned jobs, why are no volumes recycled. Is there a command to recycle all volumes without any residing jobs ? (IMHO bacula does this sometimes on deman, but is it possible to trigger) I think this query will list how much Bacula thinks is on each volume (tested on PostgreSQL): SELECT VolumeName, sum(JobFiles) as Files, sum(JobBytes) as Bytes FROM (SELECT DISTINCT Media.VolumeName, Job.JobId, Job.JobFiles, Job.JobBytes FROM Media,JobMedia,Job WHERE Media.MediaId=JobMedia.MediaId AND JobMedia.JobId=Job.JobId) as JobInfo GROUP BY VolumeName; hmmm ... the query results in fictious high values ... I think this is becaus most of my jobs span over many volumes. I thought, to solve my problem, I have to find out which Volumes have no jobs on it: SELECT Media.VolumeName, JobMedia.JobId FROM Media LEFT OUTER JOIN JobMedia ON Media.MediaId=JobMedia.MediaId WHERE JobMedia.MediaId IS NULL; ... this query found lots of volumes ... but the volumes have still status Full and bacula is complaining about no appendable volumes. What's the correct way to recycle such volumes ? (dbcheck didn't help) __Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes ???
On Fri, 22 Jun 2007 08:58:43 +0200, Wolfgang Powisch (privat) said: Am 22.06.2007 00:05, Martin Simmons schrieb: On Thu, 21 Jun 2007 09:33:27 +0200, Wolfgang Powisch (privat) said: Hello, My setup is as follows: - Bacula 1.38.0 - One large Pool with 1125 on-Disk Volumes (each 2GB) - about 14 Clients - Schedule: weekly full, daily incremental - Job-Retention: between 1 and 8 weeks, depending on client - Volume retention 2 month My Problem: After some time all Volume get status Full and jobs stuck with the message Cannot find any appendable volumes. I don't understand how this can happen, because: - list jobtotals shows a sum of 1494 GB - available volumes: 1125*2GB = 2250 GB Where are 756 Gb lost ??? why are no volumes recycled ? The list jobtotals command only counts what is in the catalog so maybe some job records have been pruned? Ok, but if there are many pruned jobs, why are no volumes recycled. Is there a command to recycle all volumes without any residing jobs ? (IMHO bacula does this sometimes on deman, but is it possible to trigger) Not all volumes, but you can use the purge command on a single volume. I think this query will list how much Bacula thinks is on each volume (tested on PostgreSQL): SELECT VolumeName, sum(JobFiles) as Files, sum(JobBytes) as Bytes FROM (SELECT DISTINCT Media.VolumeName, Job.JobId, Job.JobFiles, Job.JobBytes FROM Media,JobMedia,Job WHERE Media.MediaId=JobMedia.MediaId AND JobMedia.JobId=Job.JobId) as JobInfo GROUP BY VolumeName; hmmm ... the query results in fictious high values ... I think this is becaus most of my jobs span over many volumes. Ah, right. Originally I wondered if all the volumes had a few (unpruned) jobs left on them. I thought, to solve my problem, I have to find out which Volumes have no jobs on it: SELECT Media.VolumeName, JobMedia.JobId FROM Media LEFT OUTER JOIN JobMedia ON Media.MediaId=JobMedia.MediaId WHERE JobMedia.MediaId IS NULL; ... this query found lots of volumes ... but the volumes have still status Full and bacula is complaining about no appendable volumes. What's the correct way to recycle such volumes ? (dbcheck didn't help) They should be recycled automatically if the parameters allow it. Check the recycle flag and the volretention -- they will not be recycled until lastwritten+volretention has past. __Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes ???
Hello, My setup is as follows: - Bacula 1.38.0 - One large Pool with 1125 on-Disk Volumes (each 2GB) - about 14 Clients - Schedule: weekly full, daily incremental - Job-Retention: between 1 and 8 weeks, depending on client - Volume retention 2 month My Problem: After some time all Volume get status Full and jobs stuck with the message Cannot find any appendable volumes. I don't understand how this can happen, because: - list jobtotals shows a sum of 1494 GB - available volumes: 1125*2GB = 2250 GB Where are 756 Gb lost ??? why are no volumes recycled ? thanks in advance for your help, -- wolfgang - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes ???
On Thu, 21 Jun 2007 09:33:27 +0200, Wolfgang Powisch (privat) said: Hello, My setup is as follows: - Bacula 1.38.0 - One large Pool with 1125 on-Disk Volumes (each 2GB) - about 14 Clients - Schedule: weekly full, daily incremental - Job-Retention: between 1 and 8 weeks, depending on client - Volume retention 2 month My Problem: After some time all Volume get status Full and jobs stuck with the message Cannot find any appendable volumes. I don't understand how this can happen, because: - list jobtotals shows a sum of 1494 GB - available volumes: 1125*2GB = 2250 GB Where are 756 Gb lost ??? why are no volumes recycled ? The list jobtotals command only counts what is in the catalog so maybe some job records have been pruned? I think this query will list how much Bacula thinks is on each volume (tested on PostgreSQL): SELECT VolumeName, sum(JobFiles) as Files, sum(JobBytes) as Bytes FROM (SELECT DISTINCT Media.VolumeName, Job.JobId, Job.JobFiles, Job.JobBytes FROM Media,JobMedia,Job WHERE Media.MediaId=JobMedia.MediaId AND JobMedia.JobId=Job.JobId) as JobInfo GROUP BY VolumeName; __Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes
Arno Lehmann wrote: On 1/12/2007 6:41 AM, Oliver Lehmann wrote: Why are volumes older 6 days not being reused? What does llist for one of the volumes you expect to be recycled give? for example this one - why is it used? Pool: Inc-Pool MediaId: 2 VolumeName: Inc-0001 Slot: 0 PoolId: 2 MediaType: File FirstWritten: 2006-12-28 01:05:08 LastWritten: 2006-12-29 01:09:20 LabelDate: 2006-12-28 01:05:08 VolJobs: 10 VolFiles: 0 VolBlocks: 6,586 VolMounts: 4 VolBytes: 424,580,037 VolErrors: 0 VolWrites: 10,586 VolCapacityBytes: 0 VolStatus: Used Enabled: 1 Recycle: 1 VolRetention: 1,296,000 VolUseDuration: 0 MaxVolJobs: 6 MaxVolFiles: 0 MaxVolBytes: 0 InChanger: 0 EndFile: 0 EndBlock: 424,580,036 VolParts: 0 LabelType: 0 StorageId: 1 DeviceId: 0 LocationId: 0 RecycleCount: 1 InitialWrite: -00-00 00:00:00 ScratchPoolId: 0 RecyclePoolId: 0 Comment: NULL -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes
Hi, On 1/12/2007 3:13 PM, Oliver Lehmann wrote: Arno Lehmann wrote: On 1/12/2007 6:41 AM, Oliver Lehmann wrote: Why are volumes older 6 days not being reused? Simple answer (but I wanted you to check first :-) The volumes are not eligible for pruning. What does llist for one of the volumes you expect to be recycled give? for example this one - why is it used? It is used because it has the maximum number of jobs on it. You configured that... Pool: Inc-Pool MediaId: 2 VolumeName: Inc-0001 Slot: 0 PoolId: 2 MediaType: File FirstWritten: 2006-12-28 01:05:08 LastWritten: 2006-12-29 01:09:20 LabelDate: 2006-12-28 01:05:08 VolJobs: 10 VolFiles: 0 VolBlocks: 6,586 VolMounts: 4 VolBytes: 424,580,037 VolErrors: 0 VolWrites: 10,586 VolCapacityBytes: 0 VolStatus: Used Enabled: 1 Recycle: 1 VolRetention: 1,296,000 That's 15 days. VolUseDuration: 0 MaxVolJobs: 6 MaxVolFiles: 0 MaxVolBytes: 0 InChanger: 0 EndFile: 0 EndBlock: 424,580,036 VolParts: 0 LabelType: 0 StorageId: 1 DeviceId: 0 LocationId: 0 RecycleCount: 1 InitialWrite: -00-00 00:00:00 ScratchPoolId: 0 RecyclePoolId: 0 Comment: NULL Remember: The pool settings are nothing but a template for the volumes assigned to the pool. When changing the pool settings, the existing volumes have to be updated accordingly. Use the bconsole 'update volume' command. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes
Arno Lehmann wrote: On 1/12/2007 3:13 PM, Oliver Lehmann wrote: VolRetention: 1,296,000 That's 15 days. [...] Use the bconsole 'update volume' command. This worked, thanks! :) -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot find any appendable volumes
Hi, the backups this night where not successfull because of: 12-Jan 01:05 nudel-sd: Job client-fiori-files.2007-01-12_01.05.01 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: FileStorage (/mnt/files/.bacula) Media type: File Pool: Inc-Pool I wonder why this happens. [EMAIL PROTECTED] olivleh1 ls -l /mnt/files/.bacula/Inc* -rw-r- 1 bacula bacula 424580037 Dec 29 01:09 /mnt/files/.bacula/Inc-0001 -rw-r- 1 bacula bacula 2092461769 Jan 1 01:06 /mnt/files/.bacula/Inc-0002 -rw-r- 1 bacula bacula 355410925 Jan 3 01:09 /mnt/files/.bacula/Inc-0003 -rw-r- 1 bacula bacula 334820081 Jan 5 01:06 /mnt/files/.bacula/Inc-0004 -rw-r- 1 bacula bacula 353248059 Jan 8 01:09 /mnt/files/.bacula/Inc-0005 -rw-r- 1 bacula bacula 353847147 Jan 11 01:09 /mnt/files/.bacula/Inc-0006 Pool { Name = Inc-Pool Pool Type = Backup Recycle = yes # automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 6 days Maximum Volume Jobs = 6 Label Format = Inc- Maximum Volumes = 6 } Why are volumes older 6 days not being reused? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes on already labeled tapes.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kern Sibbald wrote: On Monday 21 November 2005 22:46, Cedric Charest wrote: Cool, thanks a lot! It fixed my problem! Thanks for the confirmation. By the way, did you apply the whole patch or just the single file? I applied the full patch and since then, I had no problem at all since then Thanks! Cédric Charest Administrateur de Systèmes / System Administrator Terrascale Technologies Inc. Kern Sibbald wrote: You ran into a bug in 1.38.x that causes the Director to incorrectly handle Pool names containing spaces. Bug #492 has a patch file that will add all current patches to 1.38.1 generating 1.38.2. Note, this patch file is preliminary because there may be additional changes before the 1.38.2 release. If you only want to fix the current problem, look at the patch for src/dird/catreq.c. That part of the patch file contains a one line addition that fixes your bug ... -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDhiGpudvjQGGRi3oRAvNNAJ0ZfW4XkOq0Nmlj6LpkI9c+M1V96ACgj4Xg pUCdbnbukXJ78rLS4UUlB7g= =D0q8 -END PGP SIGNATURE- --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes on already labeled tapes.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ohh, by the way, I'm using bacula 0.38.1 on a Fedora Core 2 system (Linux), compiled on the system, with mysql. Cedric Charest wrote: Hello! I'm trying to configure Bacula for our backups at work with an Exabyte Packetloader 1x10 80/160 changer/tape backup. The changer is supported and everything, but I'm having a weird problem. Each time I start a job, I get this: -- 18-Nov 23:05 newt-sd: Job Newt_Incremental.2005-11-18_23.05.00 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Exabyte VXA2 Drive (/dev/nst0) Media type: VXA-2 Pool: Tapes Pool -- BUT, all my tapes were labeled with a label barcodes and are appendable: -- list media Pool: Tapes Pool | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+--+--+--+-+--+---+---+-+ | 41 | A001 | Append|1 |0 |1,814,400 | 1 |1 | 1 | VXA-2 | -00-00 00:00:00 | | 42 | A002 | Append|1 |0 |1,814,400 | 1 |2 | 1 | VXA-2 | -00-00 00:00:00 | | 43 | A003 | Append|1 |0 |1,814,400 | 1 |3 | 1 | VXA-2 | -00-00 00:00:00 | | 44 | A004 | Append|1 |0 |1,814,400 | 1 |4 | 1 | VXA-2 | -00-00 00:00:00 | | 45 | A005 | Append|1 |0 |1,814,400 | 1 |5 | 1 | VXA-2 | -00-00 00:00:00 | | 46 | A006 | Append|1 |0 |1,814,400 | 1 |6 | 1 | VXA-2 | -00-00 00:00:00 | | 47 | A007 | Append|1 |0 |1,814,400 | 1 |7 | 1 | VXA-2 | -00-00 00:00:00 | | 48 | A008 | Append|1 |0 |1,814,400 | 1 |8 | 1 | VXA-2 | -00-00 00:00:00 | | 49 | A009 | Append|1 |0 |1,814,400 | 1 |9 | 1 | VXA-2 | -00-00 00:00:00 | | 50 | A010 | Append|1 |0 |1,814,400 | 1 | 10 | 1 | VXA-2 | -00-00 00:00:00 | +-++---+--+--+--+-+--+---+---+-+ -- An st st gives me: -- Device status: Autochanger Exabyte VXA2 Packetloader 1x10 with devices: Exabyte VXA2 Drive (/dev/nst0) Device DiskStorage (/mnt/archive) is not open or does not exist. Device Exabyte VXA2 Drive (/dev/nst0) is mounted with Volume A001 Slot 1 is loaded in drive 0. Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=0 Block=0 In Use Volume status: A001 on device Exabyte VXA2 Drive (/dev/nst0) -- If I try to label a tape with another name, it says it's already labeled as A001, as an example. My bacula-sd.conf looks like this: -- Device { Name = Disk Storage Media Type = File Archive Device = /mnt/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Autochanger { Name = Exabyte VXA2 Packetloader 1x10 Device = Exabyte VXA2 Drive Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 } Device { Name = Exabyte VXA2 Drive Media Type = VXA-2 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' Changer Device = /dev/sg1 } -- Any help would be greatly appreciated! Thanks! - -- Cedric Charest Administrateur de Systèmes / System Administrator Terrascale Technologies Inc. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDghBaudvjQGGRi3oRAlIIAJ9yxkq/LpieI6Xo+3i7wvbSbhweKACgtR9k wLyvJn17Ahnz2yYUu3YNUwE= =T7eY -END PGP SIGNATURE- --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28alloc_id845op=click
Re: [Bacula-users] Cannot find any appendable volumes on already labeled tapes.
You ran into a bug in 1.38.x that causes the Director to incorrectly handle Pool names containing spaces. Bug #492 has a patch file that will add all current patches to 1.38.1 generating 1.38.2. Note, this patch file is preliminary because there may be additional changes before the 1.38.2 release. If you only want to fix the current problem, look at the patch for src/dird/catreq.c. That part of the patch file contains a one line addition that fixes your bug ... On Monday 21 November 2005 18:49, Cedric Charest wrote: Hello! I'm trying to configure Bacula for our backups at work with an Exabyte Packetloader 1x10 80/160 changer/tape backup. The changer is supported and everything, but I'm having a weird problem. Each time I start a job, I get this: -- 18-Nov 23:05 newt-sd: Job Newt_Incremental.2005-11-18_23.05.00 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Exabyte VXA2 Drive (/dev/nst0) Media type: VXA-2 Pool: Tapes Pool -- BUT, all my tapes were labeled with a label barcodes and are appendable: -- list media Pool: Tapes Pool | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+--+--+--+-- ---+--+---+---+-+ | 41 | A001 | Append|1 |0 |1,814,400 | 1 |1 | 1 | VXA-2 | -00-00 00:00:00 | | 42 | A002 | Append|1 |0 |1,814,400 | 1 |2 | 1 | VXA-2 | -00-00 00:00:00 | | 43 | A003 | Append|1 |0 |1,814,400 | 1 |3 | 1 | VXA-2 | -00-00 00:00:00 | | 44 | A004 | Append|1 |0 |1,814,400 | 1 |4 | 1 | VXA-2 | -00-00 00:00:00 | | 45 | A005 | Append|1 |0 |1,814,400 | 1 |5 | 1 | VXA-2 | -00-00 00:00:00 | | 46 | A006 | Append|1 |0 |1,814,400 | 1 |6 | 1 | VXA-2 | -00-00 00:00:00 | | 47 | A007 | Append|1 |0 |1,814,400 | 1 |7 | 1 | VXA-2 | -00-00 00:00:00 | | 48 | A008 | Append|1 |0 |1,814,400 | 1 |8 | 1 | VXA-2 | -00-00 00:00:00 | | 49 | A009 | Append|1 |0 |1,814,400 | 1 |9 | 1 | VXA-2 | -00-00 00:00:00 | | 50 | A010 | Append|1 |0 |1,814,400 | 1 | 10 | 1 | VXA-2 | -00-00 00:00:00 | +-++---+--+--+--+-- ---+--+---+---+-+ -- An st st gives me: -- Device status: Autochanger Exabyte VXA2 Packetloader 1x10 with devices: Exabyte VXA2 Drive (/dev/nst0) Device DiskStorage (/mnt/archive) is not open or does not exist. Device Exabyte VXA2 Drive (/dev/nst0) is mounted with Volume A001 Slot 1 is loaded in drive 0. Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=0 Block=0 In Use Volume status: A001 on device Exabyte VXA2 Drive (/dev/nst0) -- If I try to label a tape with another name, it says it's already labeled as A001, as an example. My bacula-sd.conf looks like this: -- Device { Name = Disk Storage Media Type = File Archive Device = /mnt/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Autochanger { Name = Exabyte VXA2 Packetloader 1x10 Device = Exabyte VXA2 Drive Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 } Device { Name = Exabyte VXA2 Drive Media Type = VXA-2 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' Changer Device = /dev/sg1 } -- Any help would be greatly appreciated! Thanks! -- Best regards, Kern ( /\ V_V --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
Re: [Bacula-users] Cannot find any appendable volumes on already labeled tapes.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cool, thanks a lot! It fixed my problem! Cédric Charest Administrateur de Systèmes / System Administrator Terrascale Technologies Inc. Kern Sibbald wrote: You ran into a bug in 1.38.x that causes the Director to incorrectly handle Pool names containing spaces. Bug #492 has a patch file that will add all current patches to 1.38.1 generating 1.38.2. Note, this patch file is preliminary because there may be additional changes before the 1.38.2 release. If you only want to fix the current problem, look at the patch for src/dird/catreq.c. That part of the patch file contains a one line addition that fixes your bug ... On Monday 21 November 2005 18:49, Cedric Charest wrote: Hello! I'm trying to configure Bacula for our backups at work with an Exabyte Packetloader 1x10 80/160 changer/tape backup. The changer is supported and everything, but I'm having a weird problem. Each time I start a job, I get this: -- 18-Nov 23:05 newt-sd: Job Newt_Incremental.2005-11-18_23.05.00 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Exabyte VXA2 Drive (/dev/nst0) Media type: VXA-2 Pool: Tapes Pool -- BUT, all my tapes were labeled with a label barcodes and are appendable: -- list media Pool: Tapes Pool | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+--+--+--+-- ---+--+---+---+-+ | 41 | A001 | Append|1 |0 |1,814,400 | 1 |1 | 1 | VXA-2 | -00-00 00:00:00 | | 42 | A002 | Append|1 |0 |1,814,400 | 1 |2 | 1 | VXA-2 | -00-00 00:00:00 | | 43 | A003 | Append|1 |0 |1,814,400 | 1 |3 | 1 | VXA-2 | -00-00 00:00:00 | | 44 | A004 | Append|1 |0 |1,814,400 | 1 |4 | 1 | VXA-2 | -00-00 00:00:00 | | 45 | A005 | Append|1 |0 |1,814,400 | 1 |5 | 1 | VXA-2 | -00-00 00:00:00 | | 46 | A006 | Append|1 |0 |1,814,400 | 1 |6 | 1 | VXA-2 | -00-00 00:00:00 | | 47 | A007 | Append|1 |0 |1,814,400 | 1 |7 | 1 | VXA-2 | -00-00 00:00:00 | | 48 | A008 | Append|1 |0 |1,814,400 | 1 |8 | 1 | VXA-2 | -00-00 00:00:00 | | 49 | A009 | Append|1 |0 |1,814,400 | 1 |9 | 1 | VXA-2 | -00-00 00:00:00 | | 50 | A010 | Append|1 |0 |1,814,400 | 1 | 10 | 1 | VXA-2 | -00-00 00:00:00 | +-++---+--+--+--+-- ---+--+---+---+-+ -- An st st gives me: -- Device status: Autochanger Exabyte VXA2 Packetloader 1x10 with devices: Exabyte VXA2 Drive (/dev/nst0) Device DiskStorage (/mnt/archive) is not open or does not exist. Device Exabyte VXA2 Drive (/dev/nst0) is mounted with Volume A001 Slot 1 is loaded in drive 0. Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=0 Block=0 In Use Volume status: A001 on device Exabyte VXA2 Drive (/dev/nst0) -- If I try to label a tape with another name, it says it's already labeled as A001, as an example. My bacula-sd.conf looks like this: -- Device { Name = Disk Storage Media Type = File Archive Device = /mnt/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Autochanger { Name = Exabyte VXA2 Packetloader 1x10 Device = Exabyte VXA2 Drive Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 } Device { Name = Exabyte VXA2 Drive Media Type = VXA-2 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' Changer Device = /dev/sg1 } -- Any help would be greatly appreciated! Thanks! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDgkA2udvjQGGRi3oRAk8LAJ92KjIxQFOERh/eszY2Qg9nt1xiRACfQa6v gQcruEA7ycEs6DN1ZZBHWjc=
Re: [Bacula-users] Cannot find any appendable volumes on already labeled tapes.
On Monday 21 November 2005 22:46, Cedric Charest wrote: Cool, thanks a lot! It fixed my problem! Thanks for the confirmation. By the way, did you apply the whole patch or just the single file? Cédric Charest Administrateur de Systèmes / System Administrator Terrascale Technologies Inc. Kern Sibbald wrote: You ran into a bug in 1.38.x that causes the Director to incorrectly handle Pool names containing spaces. Bug #492 has a patch file that will add all current patches to 1.38.1 generating 1.38.2. Note, this patch file is preliminary because there may be additional changes before the 1.38.2 release. If you only want to fix the current problem, look at the patch for src/dird/catreq.c. That part of the patch file contains a one line addition that fixes your bug ... On Monday 21 November 2005 18:49, Cedric Charest wrote: Hello! I'm trying to configure Bacula for our backups at work with an Exabyte Packetloader 1x10 80/160 changer/tape backup. The changer is supported and everything, but I'm having a weird problem. Each time I start a job, I get this: -- 18-Nov 23:05 newt-sd: Job Newt_Incremental.2005-11-18_23.05.00 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Exabyte VXA2 Drive (/dev/nst0) Media type: VXA-2 Pool: Tapes Pool -- BUT, all my tapes were labeled with a label barcodes and are appendable: -- list media Pool: Tapes Pool | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+--+--+--+ -- ---+--+---+---+-+ | 41 | A001 | Append|1 |0 |1,814,400 | 1 |1 | 1 | VXA-2 | -00-00 00:00:00 | | 42 | A002 | Append|1 |0 |1,814,400 | 1 |2 | 1 | VXA-2 | -00-00 00:00:00 | | 43 | A003 | Append|1 |0 |1,814,400 | 1 |3 | 1 | VXA-2 | -00-00 00:00:00 | | 44 | A004 | Append|1 |0 |1,814,400 | 1 |4 | 1 | VXA-2 | -00-00 00:00:00 | | 45 | A005 | Append|1 |0 |1,814,400 | 1 |5 | 1 | VXA-2 | -00-00 00:00:00 | | 46 | A006 | Append|1 |0 |1,814,400 | 1 |6 | 1 | VXA-2 | -00-00 00:00:00 | | 47 | A007 | Append|1 |0 |1,814,400 | 1 |7 | 1 | VXA-2 | -00-00 00:00:00 | | 48 | A008 | Append|1 |0 |1,814,400 | 1 |8 | 1 | VXA-2 | -00-00 00:00:00 | | 49 | A009 | Append|1 |0 |1,814,400 | 1 |9 | 1 | VXA-2 | -00-00 00:00:00 | | 50 | A010 | Append|1 |0 |1,814,400 | 1 | 10 | 1 | VXA-2 | -00-00 00:00:00 | +-++---+--+--+--+ -- ---+--+---+---+-+ -- An st st gives me: -- Device status: Autochanger Exabyte VXA2 Packetloader 1x10 with devices: Exabyte VXA2 Drive (/dev/nst0) Device DiskStorage (/mnt/archive) is not open or does not exist. Device Exabyte VXA2 Drive (/dev/nst0) is mounted with Volume A001 Slot 1 is loaded in drive 0. Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=0 Block=0 In Use Volume status: A001 on device Exabyte VXA2 Drive (/dev/nst0) -- If I try to label a tape with another name, it says it's already labeled as A001, as an example. My bacula-sd.conf looks like this: -- Device { Name = Disk Storage Media Type = File Archive Device = /mnt/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Autochanger { Name = Exabyte VXA2 Packetloader 1x10 Device = Exabyte VXA2 Drive Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 } Device { Name = Exabyte VXA2 Drive Media Type = VXA-2 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' Changer Device = /dev/sg1 } -- Any help would be greatly appreciated!