On 8/12/2014 4:42 AM, Huub Van Niekerk
wrote:
Linux has a SCSI emulation layer in its device driver structure. Most SAS, SATA, and USB devices are accessed by applications as SCSI devices through the emulation layer, or in other words the user-mode applications use SCSI commands to access the device and the SCSI commands are transparently translated by the emulation layer. Look at dmesg output right after plugging the tape drive in. That should tell you what device udev has assigned to the drive. It is likely handled by the st driver, so there should be multiple device nodes attached to the drive. By convention, /dev/st0 will rewind on open and /dev/nst0 will not automatically rewind. Use the non-rewinding device node for Bacula. When the device node(s) have been determined, check the permissions. Bacula-sd does not usually run as root, so the permissions must allow read/write access for whatever uid:gid: bacula-sd runs as. You may need to change the user or group that bacula-sd runs as. If SeLinux is being used then it could also be blocking access to the device node(s).
|
------------------------------------------------------------------------------
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users