On 03.03.19 18:02, William Muriithi wrote:
> Hi Sven,

>> What version is your mtx?
> Its the default that is shipped with RHEL 7.
> 
> [root@eng-backup01 ~]# rpm -qa | grep mtx
> mtx-1.3.12-14.el7.x86_64

1.3.12 is the latest mtx version available.

The code triggering here is in scsi_linux.c:

#ifdef SG_IO
  /* It is prudent to check we have a sg device by trying an ioctl */
  if ((ioctl(DeviceFD, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000))
  {
    FatalError("%s is not an sg device, or old sg driver\n", DeviceName);
  }
#endif

So it does not check the device name (as I suspected earlier) but does
an ioctl against the device which then seems to fail in your case.

Why? Can't say, kernel internals is *way* beyond my expertise.

Grüße,
Sven.


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to