Re: [Bacula-users] Lost label?
2008-06-03 02:10:10
Dan,
Thanks for the quick reply - I have had a closer look and there is indeed an error before hand (I should have paid more attention to this, sorry):
02-Jun 23:53 backup-sd JobId 66: Volume "ProdBackup" previously written, moving to end of data. 02-Jun 23:53 backup-sd JobId 66: Error: Bacula cannot write on disk Volume "ProdBackup" because: The sizes do not match! Volume=20398787447 Catalog=19398851448
However, I have no idea why it would be reporting that. The last job that touched this Volume prior to this backup was the restore I ran for which the messages reported:
*messages 02-Jun 09:11 backup-dir JobId 62: Using Device "ProdStorage" 02-Jun 09:11 backup-sd JobId 62: Ready to read from volume "ProdBackup" on device "ProdStorage" (/opt/bacula/prod). 02-Jun 09:11 backup-sd JobId 62: Forward spacing Volume "ProdBackup" to file:block 3:3211621965. 02-Jun 09:11 backup-sd JobId 62: End of Volume at file 3 on device "ProdStorage" (/opt/bacula/prod), Volume "ProdBackup" 02-Jun 09:11 backup-sd JobId 62: End of all volumes. 02-Jun 09:11 backup-dir JobId 62: Bacula backup-dir 2.2.8 (26Jan08): 02-Jun-2008 09:11:28 Build OS: i686-redhat-linux-gnu redhat JobId: 62 Job: Restore.2008-06-02_09.10.03 Restore Client: test04-fd Start time: 02-Jun-2008 09:10:10 End time: 02-Jun-2008 09:11:28 Files Expected: 1 Files Restored: 1 Bytes Restored: 144,902,418 Rate: 1857.7 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination: Restore OK
prior to the restore, the last backup to that volume reported:
01-Jun 04:16 backup-dir JobId 50: Start Backup JobId 50, Job=NS2Job.2008-05-31_23.05.36 01-Jun 04:16 backup-dir JobId 50: Using Device "ProdStorage" 01-Jun 04:16 backup-sd JobId 50: Volume "ProdBackup" previously written, moving to end of data. 01-Jun 04:16 backup-sd JobId 50: Ready to append to end of Volume "ProdBackup" size=16399043089 01-Jun 04:16 backup-sd JobId 50: Job write elapsed time = 00:00:01, Transfer rate = 0 bytes/second 01-Jun 04:16 backup-dir JobId 50: Bacula backup-dir 2.2.8 (26Jan08): 01-Jun-2008 04:16:47 Build OS: i686-redhat-linux-gnu redhat JobId: 50 Job: NS2Job.2008-05-31_23.05.36 Backup Level: Incremental, since=2008-05-31 04:58:05 Client: "ns2-fd" 2.2.8 (26Jan08) i686-redhat-linux-gnu,redhat, FileSet: "Default Set" 2008-05-29 12:05:51 Pool: "Prod" (From Job resource) Storage: "Prod" (From Pool resource) Scheduled time: 31-May-2008 23:05:00 Start time: 01-Jun-2008 04:16:46 End time: 01-Jun-2008 04:16:47 Elapsed time: 1 sec Priority: 10 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): ProdBackup Volume Session Id: 50 Volume Session Time: 1211782773 Last Volume Bytes: 16,399,043,455 (16.39 GB) Non-fatal FD errors: 0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: Backup OK
01-Jun 04:16 backup-dir JobId 50: Begin pruning Jobs. 01-Jun 04:16 backup-dir JobId 50: No Jobs found to prune. 01-Jun 04:16 backup-dir JobId 50: Begin pruning Files. 01-Jun 04:16 backup-dir JobId 50: No Files found to prune. 01-Jun 04:16 backup-dir JobId 50: End auto prune.
but other than that, this machine is not used by anyone and why the file size would arbitrarily change is a mystery to me. All the old bacula emails I received indicated success with no warnings that I could see.
Cheers, David ----- Original Message ----- From: "Dan Langille" <dan AT langille DOT org> To: "David Hobley" <david.hobley AT mionegroup DOT com> Cc: bacula-users AT lists.sourceforge DOT net Sent: Tuesday, 3 June, 2008 2:54:13 PM GMT +10:00 Brisbane Subject: Re: [Bacula-users] Lost label?
On Jun 2, 2008, at 11:16 PM, David Hobley wrote:
> Hello, > > I have just installed bacula (2.2.8) across our network - excellent > product btw. It has been running without issue for a week or so, > but last night, I started getting the following error: > > 02-Jun 23:53 backup-sd JobId 66: Marking Volume "ProdBackup" in > Error in Catalog.
This is the problem. What was before this? Why was it marked in error?
A volume in error cannot be appended to. This is the problem.
> > 02-Jun 23:53 backup-sd JobId 66: Job DB1Job.2008-06-02_23.05.07 > waiting. Cannot find any appendable volumes.
This is what you need to understand. Appendable volumes.
> > Please use the "label" command to create a new Volume for: > Storage: "ProdStorage" (/opt/bacula/prod) > Pool: Prod > Media type: File
Translation: Can't find an appendable volume, please give me a new one.
> > > Nothing had changed in the config files except for a new client > being added (a test machine - purely so I could restore a backup > from our prod database machine (db2). > > If I run the label command, I can't use the existing label because > it tells me it already exists. I am backing up to disk currently, > not tape and there is plenty of disk space available. The files all > exists and are accessible. I am confused. > > How do I convince the system that actually the label hasn't changed > and that is should continue doing what it has been for the last week?
The system does not think the label has changed. There are no appendable volumes.
You can use the 'update volume' command to change volume status, but don't do that until you answer the above questions.
-- Dan Langille -- http://www.langille.org/
-- Cheers, David Hobley
IT Manager Creators of Miessence, MiVitality and MiEnviron
Phone: +61 (7) 5582 7020 Fax: +61 (7) 5539 6719 USA Fax 1800 840 0827 Email : david.hobley AT mionegroup DOT com Website: www.mionegroup.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|