Re: [Bacula-users] Restore Errors

2017-07-04 Thread 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*
http://www.huttel.com.br

2017-07-04 13:50 GMT-03:00 Sergio Belkin :

> 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#SECTION002111
>
> 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
>
>
--
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


[Bacula-users] Restore Errors

2017-07-04 Thread Sergio Belkin
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#SECTION002111

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


Re: [Bacula-users] Using two changers in same pool

2017-07-04 Thread Josh Fisher


On 7/3/2017 6:46 PM, Per olof Ljungmark wrote:

On 2017-07-03 17:01, Kern Sibbald wrote:

Hello,

There is no way to get two autochangers to work on the same Volumes. 
You can try but it is almost sure to fail, because it was not 
designed that way.  You can potentially use the two autochangers with 
two separate pools, and get Bacula to use both of them.  This 
(multiple drives with separate pools) was implemented for stand-alone 
drives, but it was never tested, because it was not needed after 
implementing autochangers.


If someone were *really* interested he/she would need to test it and 
correct any problems in the code.  I am *very* busy implementing 
other new features that are very important so I would not be the 
person to do it.


Most people in your place would simply swap out his drive and put in 
a newer one with more capacity (unless you are already using LTO-7). 
Otherwise most other people would swap out the two autochangers and 
get a single one with more cartridges.


Best regards,

Kern


Hi,

If that is the case, no, I will not try and will mess with the code, 
others do that better.


But still, even if two changers cannot work with the same volume, they 
can still work with the same pool which is good enough for me.


No. It is possible to assign different media types to the two 
autochangers so that the volumes could technically be in the same pool, 
but this will fail in practice. If a client's backups are spread across 
both changers, a restore will fail because the restore job is assigned a 
read drive on only one of the changers.




And, changers are mechanical devices that sometimes break, having two 
means you can loose one and still do your job.


Automated failover with autochangers is complex, since there are 
multiple drives, multiple tapes, etc. Automated failure detection is 
tricky. Manual failover should be possible by using only one of the 
autochangers at a time by having two different SD configs and starting 
baucla-sd with one of the two..




Cheers,

//per


On 07/03/2017 12:05 PM, Per olof Ljungmark wrote:

Hello,

As stated in the subject, how can one get two (identical) changers 
work together seamlessly in the same pool so when one has its tapes 
filled up the next will continue without intervention?


Thanks,

//per

-- 


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




-- 


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


Per olof Ljungmark
CEO



--
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