Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2012 14:46:52 -0800
From:      Chuck Tuffli <chuck@tuffli.net>
To:        freebsd-scsi <freebsd-scsi@freebsd.org>
Subject:   [patch] CTL should check condition INQUIRY with invalid LUN
Message-ID:  <CAM0tzX1=OrfYK3za9s5xkiUDmnO=maHPbhmyv0k50y=6-WTT9w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0tzX1=OrfYK3za9s5xkiUDmnO=maHPbhmyv0k50y=6-WTT9w>