Permissions and ownership are ok. I think I figured out the problem.

Both mtx and chio would work for a while, then stop working returning only 
“Inappropriate ioctl for device” or other errors. The culprit I think is a 
library management tool by Quantum. The library provides a web interface that 
allows you to check status, move tapes around, and various utilities. 

Problem is if you use that web interface it gets the server (both Bacula SD and 
Director on the same FreeBSD box) wedged such that mtx and chio always fail.

Unknown to me, the operations staff had been using that web interface while I 
was testing. After I asked them to stop my system seems to work reliably. 

Thanks to all that chimed in on this thread. It was very helpful.


> On 6Feb 2018, at 4:07 AM, Alan Brown <a.br...@ucl.ac.uk> wrote:
> 
> On 03/02/18 13:45, Dan Langille wrote:
>>> *ahem*
>>> 
>>> MTX is _only_ designed to interface to scsi generic devices. Unless 
>>> /dev/pass42 is another name for the generic device you'll have problems.
>> Can confirm /dev/pass* devices on FreeBSD are the right thing to use. From 
>> https://dan.langille.org/2016/02/04/dell-tl4000-tape-library-running-btape-and-configuring-baculas-mtx-changer/
> 
> What about permissions and ownership vs what bacula-sd is running as?
> 
> 


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

Reply via email to