Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Kern Sibbald
On 12.08.2015 15:17, Andrey Tataranovich wrote: > On Tue, 11 Aug 2015 15:47:40 +0100 > Martin Simmons wrote: > >> You could use bls -j with the volume file to scan the whole volume. > I'm upset with bls behavior - it does not return non zero exit code > on error and output error messages to stdout

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Ana Emília M . Arruda
Sorry, my earlier message was incomplete :) Hello all, Looking at the 7.0.5 version code, It seems that the part that checks the checksum error (block_util.c, unser_block_header function) detects the checksum error but does not return the non zero exit code, as occurs in other parts of the code,

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Ana Emília M . Arruda
Hello all, Looking at the 7.0.5 version code, It seems that the part that checks the checksum error (block_util.c) detects the checksum error but does not return the non zero exit code, as occurs in other parts of the code. block->read_errors++; if (!forge_on) { retu

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Josip Deanovic
On Wednesday 2015-08-12 16:17:42 Andrey Tataranovich wrote: > On Tue, 11 Aug 2015 15:47:40 +0100 > > Martin Simmons wrote: > > You could use bls -j with the volume file to scan the whole volume. > > I'm upset with bls behavior - it does not return non zero exit code > on error and output error m

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Andrey Tataranovich
On Wed, 12 Aug 2015 10:37:13 -0300 (BRT) Heitor Faria wrote: > Hello Andrey: I think it was the developer option not to terminate de > bls on error if this kind of message / alert happens, after all it's > not pretty much it's purpose. I think you can change both things with > a little shell scri

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Heitor Faria
> On Tue, 11 Aug 2015 15:47:40 +0100 > Martin Simmons wrote: > >> You could use bls -j with the volume file to scan the whole volume. > > I'm upset with bls behavior - it does not return non zero exit code > on error and output error messages to stdout instead of stderr. > > # bls -j /bacula/ba

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Andrey Tataranovich
On Tue, 11 Aug 2015 15:47:40 +0100 Martin Simmons wrote: > You could use bls -j with the volume file to scan the whole volume. I'm upset with bls behavior - it does not return non zero exit code on error and output error messages to stdout instead of stderr. # bls -j /bacula/backup/Libvirt-0177

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Josh Fisher
On 8/11/2015 2:04 PM, Phil Stracchino wrote: > On 08/11/15 13:52, Andrey Tataranovich wrote: >> On Tue, 11 Aug 2015 15:47:40 +0100 >> Martin Simmons wrote: >> >>> You could use bls -j with the volume file to scan the whole volume. >>> >>> I recomend use a more secure fileserver to store your bac

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Phil Stracchino
On 08/11/15 13:52, Andrey Tataranovich wrote: > On Tue, 11 Aug 2015 15:47:40 +0100 > Martin Simmons wrote: > >> You could use bls -j with the volume file to scan the whole volume. >> >> I recomend use a more secure fileserver to store your backups (RAID, >> or ZFS). > > This error has happened o

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Andrey Tataranovich
On Tue, 11 Aug 2015 15:47:40 +0100 Martin Simmons wrote: > You could use bls -j with the volume file to scan the whole volume. > > I recomend use a more secure fileserver to store your backups (RAID, > or ZFS). This error has happened on mirror raid, so maybe only filesystems like zfs/btrfs cou

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Martin Simmons
> On Tue, 11 Aug 2015 13:43:52 +0300, Andrey Tataranovich said: > > Hello all, > > I'm using bacula 5.2.6 to backup several servers to HDD storage. > Recently I tried to restore a backup job which is about a week old and > encounter problem: > > Error: block.c:318 Volume data error at 2:1331

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Andrey Tataranovich
On Tue, 11 Aug 2015 08:40:30 -0400 Bill Arlofski wrote: > As of v5.2.x, you have the ability to specify any jobid to be > verified on the command line. From the v5.2.1 main.pdf manual: > > 8< > New Features in 5.2.x > 3.6 Ability to Verify any specified Job > > You now have the ability

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Heitor Faria
ncial Bacula Início 5 de agosto: > > http://www.bacula.com.br/?p=2174 > > 61 8268-4220 > > Site: www.bacula.com.br | Facebook: heitor.faria > > > > - Original Message ----- > >> From: "Andrey Tataranovich" > >>

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Bill Arlofski
On 08/11/2015 06:43 AM, Andrey Tataranovich wrote: > Hello all, > > I'm using bacula 5.2.6 to backup several servers to HDD storage. > Recently I tried to restore a backup job which is about a week old and > encounter problem: > > Error: block.c:318 Volume data error at 2:1331430350! > Block chec

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Kern Sibbald
- Original Message - >> From: "Andrey Tataranovich" >> To: bacula-users@lists.sourceforge.net >> Sent: Tuesday, August 11, 2015 8:46:24 AM >> Subject: Re: [Bacula-users] Way to check ANY bacula volume on disk >> On Tue, 11 Aug 2015 07:05:14 -0400 >>

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Heitor Faria
k: heitor.faria - Original Message - > From: "Andrey Tataranovich" > To: bacula-users@lists.sourceforge.net > Sent: Tuesday, August 11, 2015 8:46:24 AM > Subject: Re: [Bacula-users] Way to check ANY bacula volume on disk > On Tue,

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Andrey Tataranovich
On Tue, 11 Aug 2015 07:05:14 -0400 Josh Fisher wrote: > Bacula volumes are just normal files. You could periodically check > the filesystem with e2fsck or whatever tool is used for the > filesystem you are using. I already tried to run fsck on bacula volume when error occured, but found no error

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Josh Fisher
On 8/11/2015 6:43 AM, Andrey Tataranovich wrote: > Hello all, > > I'm using bacula 5.2.6 to backup several servers to HDD storage. > Recently I tried to restore a backup job which is about a week old and > encounter problem: > > Error: block.c:318 Volume data error at 2:1331430350! > Block checks

[Bacula-users] Way to check ANY bacula volume on disk

2015-08-11 Thread Andrey Tataranovich
Hello all, I'm using bacula 5.2.6 to backup several servers to HDD storage. Recently I tried to restore a backup job which is about a week old and encounter problem: Error: block.c:318 Volume data error at 2:1331430350! Block checksum mismatch in block=153792 len=64512: calc=782b2290 blk=5201271d