Discussion:
[Bacula-users] Restore Errors
Sergio Belkin
2017-07-04 16:50:31 UTC
Permalink
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
Wanderlei Huttel
2017-07-04 17:19:55 UTC
Permalink
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*
http://www.huttel.com.br
Post by Sergio Belkin
Hi,
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
https://lists.sourceforge.net/lists/listinfo/bacula-users
Kern Sibbald
2017-07-05 07:32:31 UTC
Permalink
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Sergio Belkin
2017-07-06 14:57:34 UTC
Permalink
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
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
Hi,
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
_______________________________________________
--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
Heitor Faria
2017-07-06 15:18:42 UTC
Permalink
Post by Sergio Belkin
Thanks Kern and Wanderlei,
Hello, Sergio,
Post by Sergio Belkin
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.
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
===========================================================================
Kern Sibbald
2017-07-06 15:34:10 UTC
Permalink
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Loading...