[PATCH] DOC: Document the blocksize argument to tgtadm

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

 



Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
---
 doc/tgtadm.8.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/doc/tgtadm.8.xml b/doc/tgtadm.8.xml
index 18813dc..16d7f28 100644
--- a/doc/tgtadm.8.xml
+++ b/doc/tgtadm.8.xml
@@ -21,6 +21,7 @@
 		<arg choice="opt">-m --mode &lt;mode&gt;</arg>
 		<arg choice="opt">-t --tid &lt;id&gt;</arg>
 		<arg choice="opt">-T --targetname &lt;targetname&gt;</arg>
+		<arg choice="opt">-y --blocksize &lt;size&gt;</arg>
 		<arg choice="opt">-Y --device-type &lt;type&gt;</arg>
 		<arg choice="opt">-l --lun &lt;lun&gt;</arg>
 		<arg choice="opt">-b --backing-store &lt;path&gt;</arg>
@@ -59,6 +60,23 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry><term><option>-y, --blocksize &lt;size&gt;</option></term>
+        <listitem>
+          <para>
+	    Block devices are created with a default block size of 512 bytes.
+	    This argument can be used to create block devices with different
+	    block sizes.
+          </para>
+        </listitem>
+      </varlistentry>
+      <screen format="linespecific">
+Example:
+
+tgtadm --lld iscsi --mode logicalunit --op new \
+       --tid &lt;TID&gt; --lun &lt;LUN&gt; \
+       -b &lt;backing-file&gt; --blocksize=4096
+      </screen>
+
       <varlistentry><term><option>-Y, --device-type &lt;type&gt;</option></term>
         <listitem>
           <para>
-- 
1.7.3.1

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