[patch] CTL should check condition INQUIRY with invalid LUN
Chuck Tuffli
chuck at tuffli.net
Mon Mar 5 22:46:53 UTC 2012
Currently, the CTL responds to INQUIRY commands targeted at invalid
LUNs by returning valid data with the peripheral qualifier set to LU
OFFLINE. This patch instead returns a check condition with LU NOT
READY.
Linux initiators see the LU OFFLINE and start creating SG devices, but
are not able to finish. The offline also causes them to keep probing
LUNs.
https://gist.github.com/1981701
---chuck
More information about the freebsd-scsi
mailing list