Zitat von Bruno Friedmann <[email protected]>:

On jeudi, 2 novembre 2017 11.38:03 h CET [email protected] wrote:
Hello,

we are testing our desaster restore and with this the question arises
if it is really possible to restore for example LTO-4 tapes with a
LTO-6 drive/changer?
We are failed to do so with LTO-4 tapes written by some HP drive
reading with a IBM LTO-6 drive. The error from Bareos 15.2 is :

30-Okt 14:44 bareos-sd JobId 5: Ready to read from volume "000028L4"
on device "Drive-1" (/dev/nst0).
30-Okt 14:44 bareos-sd JobId 5: Error: block.c:1003 Read error on fd=6
at file:blk 0:0 on device "Drive-1" (/dev/nst0). ERR=Device or
resource busy.

Long time ago I was doing similar things with sdlt and dds drive and I don't
remember this kind of trouble.
(could be also emulated with the hardware switch to R/O on the tape)

did you check is there's some other tools using /dev/nst0 (lsof)
and I guess you have double-check the permission that bareos user (normally
used by bareos-sd) is part of the rw group of /dev/nst0 ?


Ok, so in theorie it should work ;-)
I'm pretty sure that nothing is using /dev/nst0 because the obvious tests with btape and LTO6 tapes succeed. As they are done with "bareos" user permissions should be ok as suggested by the permissions on /dev/nst0 and the group assignment. A error of the LTO device should be logged kernel log, no?
I will do some more tests and let you know.

Regards

Andreas


--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to