[stgt] [PATCH] DOC: Document the blocksize argument to tgtadm

ronnie sahlberg ronniesahlberg at gmail.com
Sun Jul 7 01:36:10 CEST 2013


ping

On Mon, Jul 1, 2013 at 1:26 PM, Ronnie Sahlberg
<ronniesahlberg at gmail.com> wrote:
>
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> ---
>  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 <mode></arg>
>                 <arg choice="opt">-t --tid <id></arg>
>                 <arg choice="opt">-T --targetname <targetname></arg>
> +               <arg choice="opt">-y --blocksize <size></arg>
>                 <arg choice="opt">-Y --device-type <type></arg>
>                 <arg choice="opt">-l --lun <lun></arg>
>                 <arg choice="opt">-b --backing-store <path></arg>
> @@ -59,6 +60,23 @@
>          </listitem>
>        </varlistentry>
>
> +      <varlistentry><term><option>-y, --blocksize <size></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 <TID> --lun <LUN> \
> +       -b <backing-file> --blocksize=4096
> +      </screen>
> +
>        <varlistentry><term><option>-Y, --device-type <type></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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list