Bacula-users

Re: [Bacula-users] Restore Errors

2017-07-06 11:35:36
Subject: Re: [Bacula-users] Restore Errors
From: Kern Sibbald <kern AT sibbald DOT com>
To: Sergio Belkin <sebelk AT gmail DOT com>, bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 6 Jul 2017 17:34:10 +0200

Hello Sergio,

Yes, it has all signs of being a hardware error.

A critical target error with a sector address that is reasonable for Bacula's byte address sounds to me like the OS had a write error so the disk could not be read correctly by Bacula.  The time of the kernel error is after the Bacula read, so perhaps sometime after the disk was written by Bacula it started going bad.

About the only thing you can do now is run the the restore (either with bextract or on the bacula-sd execution line) with -p, so that Bacula will try to ignore errors.  You might be able to restore something.

Best regards,

Kern


On 07/06/2017 04:57 PM, Sergio Belkin wrote:
Thanks Kern and Wanderlei,

I've tried bls and I get:

06-Jul 11:48 bls JobId 0: Error: block.c:429 Read error on fd=3 at file:blk 0:397845547 on device "WStorage2" (/backup/external/2week). ERR=Input/output error.
06-Jul 11:48 bls JobId 0: Error: read_records.c:124 block.c:429 Read error on fd=3 at file:blk 0:397845547 on device "WStorage2" (/backup/external/2week). ERR=Input/output error.

Also, in kernel logs:

I've found:

Jul 06 11:55:22 helsinki.infoestructura.local kernel: blk_update_request: critical target error, dev sda, sector 495437784

So I guess is a hardware error, isn't it?

Greetings


2017-07-05 4:32 GMT-03:00 Kern Sibbald <kern AT sibbald DOT com>:

Yes, Bacula is telling you that it is a disk I/O error.

I suggest you check your kernel log.  This looks like a hardware I/O error.  If you find something in your kernel log, you should check your disk drive very carefully, it may be going bad.  If there are no problems noted in the kernel log, then there is some other problem -- such as an interface (or network) error with the external disk).

Best regards,

Kern


On 07/04/2017 06:50 PM, Sergio Belkin wrote:
Hi,

When  I run restore, I have the following errors:

04-Jul 13:39 bacula-sd JobId 2094: Error: block.c:429 Read error on fd=7 at file:blk 0:397845547 on device "WStorage2" (/backup/external/2week). ERR=Input/output error.
04-Jul 13:39 bacula-sd JobId 2094: Error: read_records.c:124 block.c:429 Read error on fd=7 at file:blk 0:397845547 on device "WStorage2" (/backup/external/2week). ERR=Input/output error.


I've found this documentation: http://www.bacula.org/5.2.x-manuals/en/main/main/Restore_Command.html#SECTION0021110000000000000000

but I use a File Device (on an extenal disk), not a tape

Bacula version of director is 7.0

Is a disk error? Could be a misconfiguration?

Thanks in advance
--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>

ADSM.ORG Privacy and Data Security by https://kimlaw.us