On 01.02.2011 10:36, michaelc@xxxxxxxxxxx wrote:
From: Mike Christie<michaelc@xxxxxxxxxxx> targets.onf/tgt-admin does not support the readonly feature. To set this with tgtadm you can run: tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1 \ --params readonly=1 This patch attempts to add it so you can set it in targets.conf by doing: <target iqn.2008-09.com.target> readonly 1 backing-store /storage/lun1 </target> Signed-off-by: Mike Christie<michaelc@xxxxxxxxxxx> Cc: Tomasz Chmielewski<mangoo@xxxxxxxx>
Looks good, thanks. Acked-by: Tomasz Chmielewski <mangoo@xxxxxxxx> -- Tomasz Chmielewski -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html