[PATCH 2/2] tgt-admin: document ignore-errors in the config file

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

 



Document ignore-errors option usage in the config file.


Signed-off-by: Tomasz Chmielewski <mangoo@xxxxxxxx>


diff --git a/doc/targets.conf.example b/doc/targets.conf.example
index 12c3e67..449488c 100644
--- a/doc/targets.conf.example
+++ b/doc/targets.conf.example
@@ -11,6 +11,11 @@ include /etc/tgt/temp/*.conf
default-driver iscsi


+# Continue if tgtadm exits with non-zero code (equivalent of
+# --ignore-errors command line option)
+#ignore-errors yes
+
+
# Sample target with one LUN only. Defaults to allow access for all initiators:

<target iqn.2008-09.com.example:server.target1>
@@ -123,8 +128,8 @@ default-driver iscsi
    #path ...
    #mode_page 8:0:18:0x10:0:0xff....
    #mode_page 8:0:18:0x10:0:0xff....
-    #device-type
-    #allow-in-use	# if specified globally, can't be overwritten locally
+    #device-type ...
+    #allow-in-use yes	# if specified globally, can't be overwritten locally

    write-cache off
    scsi_sn multipath-10



--
Tomasz Chmielewski
http://wpkg.org

--
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

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux