Re: Open/INQUIRY fails on RESERVE'd tape device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/23/2014 4:02 PM, Matthias Eble wrote:

> So: should open() fail on a reserved tape device?

	Yes, this is expected behavior for tape devices, reserve 6/release is sometimes
used by backup applications in SAN environments as an arbitration mechanism
across multiple machines.

	Its not that the INQUIRY is failing, its that the st open sequence is doing a
reserve/TUR/etc during the open.

	If that fails then you can't open the drives sufficiently to send a inquiry via
pass-through. In some environments you can bypass that processing with
O_NDELAY/O_NONBLOCK. Or you just use the sg device which doesn't perform the
tape open processing that st does.




--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux