tgt-setup-lun man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]


tgt-setup-lun(8)					      tgt-setup-lun(8)

NAME
       tgt-setup-lun  -	 creates  a  target,  adds  a device to the target and
       defines initiators that can connect to the target

SYNOPSIS
       tgt-setup-lun -d device	-n  target_name	 [initiator_IP1	 initiator_IP2
       ...] [-h]

DESCRIPTION
       Starts tgtd if necessary and creates a target according to the supplied
       target_name. The format of the target name is as follows:
       iqn.2001-04.com.<hostname>-<target_name>	 The  target  name   must   be
       unique.

       The script then adds the requested device to the target. If specific IP
       addresses are defined, it adds them to the list of  allowed  initiators
       for  that  target.  If  no IP addresses is defined, it defines that the
       target accepts any initiator.

EXAMPLES
       Create a target that uses /dev/sdb1 and allows  connections  only  from
       192.168.10.81:
       tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81

       Create  a  target  that uses /dev/sdb1 and allows connections only from
       192.168.10.81 and 192.168.10.82:
       tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 192.168.10.82

       Create a target that uses /dev/sdb1 and	allows	connections  from  any
       initiator:
       tgt-setup-lun -d /dev/sdb1 -n my_target

       Display help:
       tgt-setup-lun -h


AUTHOR
       Written by Erez Zilber

REPORTING BUGS
       Report bugs to <erezz@voltaire.com>.

COPYRIGHT
       Copyright © Voltaire Ltd. 2008.

							      tgt-setup-lun(8)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net