Hi Korbinian, I've observed similar issues in the past. A job fails part way through and the catalog is not updated leaving a mismatch in the number of files in the volume versus what's recorded in the catalog. This is then detected the next time the volume is used, and Bacula marks the volume as Error without writing anything to it.
Given the mismatch, the safest thing to do is mark the volume as Full, and wait for the retention period to expire so the volume can be recycled. Unfortunately this wastes space (more painful when you have 100GB volumes and it failed within the first few gig...), so you'll need to either have sufficient spare space on your SD that you can cope with this, or be willing to sacrifice the other jobs on the volume and delete jobs+purge or purge it immediately to regain the space. I'm not sure how Bacula would behave if you change it straight to append; whether it would leave a hole in the volume, or whether this mismatch would corrupt subsequent jobs. Regards, Ben Roberts > -----Original Message----- > From: Korbinian Grote [mailto:gr...@genomatix.de] > Sent: 21 May 2014 11:59 > To: bacula-users@lists.sourceforge.net > Subject: [Bacula-users] Change a volume from 'Error' to 'Append' > > Hi everyone. > > While I do have some basic knowledge of bacula (i.e. viewing logs, restoring > files/folders, labeling volumes) I couldn't really find conclusive > documentation on how to resolve the following situation: > > We're using bacula with a Tandberg tape library. One of the volumes (tapes) > has a status of 'Error' when I do a 'list volumes' > in bconsole. Looking at the logs at around the time of the 'Last written to' > field, I can see that a - probably running job - got cancelled due to losing > connection to the server. (Which coincides with a switch problem we had at > that point, so that is probably what happened). > The job had accessed two volumes but only one shows an 'Error' the other one > is marked full. Querying the database I get 0 files and bytes written to > either volume for the job. > > How do I go forward making the volume appendable again? (Assuming that the > reason for the 'Error' is the interrupted job?) > > Thanks in advance, > > Korbinian > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users This email and any files transmitted with it contain confidential and proprietary information and is solely for the use of the intended recipient. If you are not the intended recipient please return the email to the sender and delete it from your computer and you must not use, disclose, distribute, copy, print or rely on this email or its contents. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any comments or statements made herein do not necessarily reflect those of GSA Capital. GSA Capital Partners LLP is authorised and regulated by the Financial Conduct Authority and is registered in England and Wales at Stratton House, 5 Stratton Street, London W1J 8LA, number OC309261. GSA Capital Services Limited is registered in England and Wales at the same address, number 5320529. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users