[PATCH 2/7] dont set modepages in the example

Ronnie Sahlberg ronniesahlberg
Fri May 2 14:32:13 CEST 2008


Done tset the modepages in the example, these pages are added by
default for the device anyway during initialization

Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
---
 doc/README.mmc |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/doc/README.mmc b/doc/README.mmc
index 514e15a..265b95a 100644
--- a/doc/README.mmc
+++ b/doc/README.mmc
@@ -65,13 +65,6 @@ tgtadm --lld iscsi --mode logicalunit --op new
--tid 1 --lun 1 -b /tmp/empty-dis
 SN=XYZ123
 tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1
--params vendor_id=STGT_DVD,product_id=DVD101,product_rev=0010,scsi_sn=$SN,removable=1

-# Vendor Uniq - Mode page 0..
-tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1
--params mode_page=0:0:0
-# ctrl mode page
-tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1
--params mode_page=10:0:10:2:0:0:0:0:0:0:0:2:0
-# Informational Exceptions Control Mode Page
-tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1
--params mode_page=0x1c:0:10:8:0:0:0:0:0:0:0:0:0
-

 # Allow ALL initiators to connect to this target
 tgtadm --lld iscsi --mode target --op bind --tid 1 -I ALL
-- 
1.5.5



More information about the stgt mailing list