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 ? -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot openSUSE Tumbleweed Linux 4.13.10-1-default x86_64 GNU/Linux, nvidia: 384.90 Qt: 5.9.2, KDE Frameworks: 5.39.0, Plasma: 5.11.2, kmail2 5.6.2 -- 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.
