Restore Errors

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Restore Errors

Sergio Belkin-2
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: Restore Errors

Wanderlei Huttel
Hello Sergio

Probably you have some error in the volume.

You can try BLS and BEXTRACT to try to restore some data from the volume.

In the shell command line:

Syntax
bls -c /etc/bacula/bacula-sd.conf -V Volume-0001 /path/for/storage

bextract -c /etc/bacula/bacula-sd.conf -V Volume-0001 /path/for/storage   /path/for/restore



Best regards

Wanderlei Hüttel

2017-07-04 13:50 GMT-03:00 Sergio Belkin <[hidden email]>:
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: Restore Errors

Kern Sibbald
In reply to this post by Sergio Belkin-2

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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: Restore Errors

Sergio Belkin-2
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 <[hidden email]>:

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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: Restore Errors

Heitor Faria
Thanks Kern and Wanderlei,
Hello, Sergio,
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?
Sorry for the para jump. Did you try to fsck?

Regards,
--
===========================================================================
Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula Systems Certified Administrator II
Do you need Bacula training? http://bacula.us/video-classes/
+55 61 98268-4220 | http://bacula.us
===========================================================================

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: Restore Errors

Kern Sibbald
In reply to this post by Sergio Belkin-2

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 <[hidden email]>:

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
[hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users