⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ietadm.8

📁 Ubuntu公司提供免费的iSCSI Target
💻 8
字号:
.\" Automatically generated by Pod::Man 2.09 (Pod::Simple 3.04).\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings.  \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote.  | will give a.\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to.\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'.\" expand to `' in nroff, nothing in troff, for use with C<>..tr \(*W-|\(bv\*(Tr.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\.    ds -- \(*W-.    ds PI pi.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch.    ds L" "".    ds R" "".    ds C` "".    ds C' ""'br\}.el\{\.    ds -- \|\(em\|.    ds PI \(*p.    ds L" ``.    ds R" '''br\}.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD.  Of course, you'll have to process the.\" output yourself in some meaningful fashion..if \nF \{\.    de IX.    tm Index:\\$1\t\\n%\t"\\$2"...    nr % 0.    rr F.\}.\".\" For nroff, turn off justification.  Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..hy 0.if n .na.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear.  Run.  Save yourself.  No user-serviceable parts..    \" fudge factors for nroff and troff.if n \{\.    ds #H 0.    ds #V .8m.    ds #F .3m.    ds #[ \f1.    ds #] \fP.\}.if t \{\.    ds #H ((1u-(\\\\n(.fu%2u))*.13m).    ds #V .6m.    ds #F 0.    ds #[ \&.    ds #] \&.\}.    \" simple accents for nroff and troff.if n \{\.    ds ' \&.    ds ` \&.    ds ^ \&.    ds , \&.    ds ~ ~.    ds /.\}.if t \{\.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u".    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}.    \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E.    \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'.    \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\.    ds : e.    ds 8 ss.    ds o a.    ds d- d\h'-1'\(ga.    ds D- D\h'-1'\(hy.    ds th \o'bp'.    ds Th \o'LP'.    ds ae ae.    ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "IETADM 1".TH IETADM 8 "2006-06-06" "iSCSI Enterprise Target admin" "User Manuals".SH "NAME"ietadm \- iSCSI Enterprise Target Administration Utility..SH "SYNOPSIS".IX Header "SYNOPSIS"\&\fBietadm \-\-op [operation] \-\-tid=[id] [\-\-sid [id]] [\-\-params [key=value,...]]\fR.SH "DESCRIPTION".IX Header "DESCRIPTION"ietadm is used to monitor and modify in real-time the iSCSI Enterprise Target targets and volumes..SH "USAGE".IX Header "USAGE"You'll have to get target ids from /proc/net/iet/volumes and sessions ids from /proc/net/iet/session.Some usage examples can be :.PP\&\fBietadm \-\-op show \-\-tid=1\fR.PPdisplay status of target 1 (see /proc/net/iet/volumes to get the matching target name).PP\&\fBietadm \-\-op new \-\-tid=2\fR.PPcreate dynamically a new target, numbered 2. \s-1CAUTION\s0 : the target will disappear if you restart ietd, you'll have to edit /etc/ietd.conf to make it permanent!.SH "ERROR MESSAGES".IX Header "ERROR MESSAGES"ietadm misses error messages. Look carefully the \s-1STDERR\s0 output : in case of errorit will send a 3 number error code, ending with \-1, for instance :.PPietd_request 203 3 \-1.SH "OPTIONS".IX Header "OPTIONS"\&\fB\-\-op new \-\-tid=[id] \-\-params Name=[name]\fR.PPadd a new target with [id]. [id] must not be zero..PP\&\fB\-\-op delete \-\-tid=[id]\fR.PPdelete specific target with [id]. The target musthave no active sessions..PP\&\fB\-\-op show \-\-tid=[id]\fR.PPshow target parameters of target with [id]..PP\&\fB\-\-op show \-\-tid=[id] \-\-sid=[sid]\fR.PPshow iSCSI parameters in effect for session [sid]. If[sid] is \*(L"0\*(R" (zero), the configured parameterswill be displayed..PP\&\fB\-\-op new \-\-tid=[id] \-\-lun=[lun] \-\-params Path=[path]\fR.PPadd a new logical unit with [lun] to specifictarget with [id]. The logical unit is offeredto the initiators. [path] must be block device files(including \s-1LVM\s0 and \s-1RAID\s0 devices) or regular files..PP\&\fB\-\-op delete \-\-tid=[id] \-\-lun=[lun]\fR.PPdelete specific logical unit with [lun] thatthe target with [id] has..PP\&\fB\-\-op delete \-\-tid=[id] \-\-sid=[sid] \-\-cid=[cid]\fR.PPdelete specific connection with [cid] in a sessionwith [sid] that the target with [id] has.If the session has no connections afterthe operation, the session will be deletedautomatically..PP\&\fB\-\-op delete\fR.PPstop all activity..PP\&\fB\-\-op update \-\-tid=[id] \-\-params=key1=value1,key2=value2,...\fR.PPchange iSCSI \s-1IET\s0 target parameters of specifictarget with [id]. You can use parameters in ietd.confas a key..PP\&\fB\-\-op new \-\-tid=[id] \-\-user \-\-params=[user]=[name],Password=[pass]\fR.PPadd a new account with [pass] for specific target.[user] could be [IncomingUser] or [OutgoingUser].If you don't specify a target (omit \-\-tid option),you add a new account for discovery sessions..PP\&\fB\-\-op delete \-\-tid=[id] \-\-user \-\-params=[user]=[name]\fR.PPdelete specific account having [name] of specifictarget. [user] could be [IncomingUser] or[OutgoingUser].If you don't specify a target (omit \-\-tid option),you delete the account for discovery sessions..PP\&\fB\-\-version\fR.PPdisplay version and exit.PP\&\fB\-\-help\fR.PPdisplay a list of available options and exits.SH "KNOWN ISSUES".IX Header "KNOWN ISSUES".IP "\(bu" 4ietdadm doesn't return any human-readable error message, only error codes..IP "\(bu" 4ietadm doesn't modify or read the /etc/ietd.conf ietd configuration file..IP "\(bu" 4ietadm can't use target names or aliases, only the tid found in /proc/net/iet/volumes..IP "\(bu" 4/proc/net/iet/session may list inactive sessions if the initiator doesn't logout properly..PPReport bugs to <iscsitarget\-devel@sourceforge.net>..SH "FILES".IX Header "FILES"/proc/net/iet/session, /proc/net/iet/volumes.SH "SEE ALSO".IX Header "SEE ALSO"\&\fIietd\fR\|(8),\fIietd.conf\fR\|(5).\"man page written by Emmanuel Florac <eflorac@intellique.com".\"distributed under GPL v2 licence"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -