Metaphorical Dream

カテゴリ:メモ( 2 )

yum fcoe-utils

また...ψ(。。 )メモメモ

(1/4): libhbaapi-2.2-4.el5.x86_64.rpm
(2/4): libpciaccess-0.10.5-2.el5.x86_64.rpm
(3/4): fcoe-utils-1.0.7-4.el5.x86_64.rpm
(4/4): libhbalinux-1.0.7-3.el5.x86_64.rpm

libhbaapi=Lib HBA APIって、そんなことできちゃうんっすかって感じw

manも載せておこ

[root@CentOS54 ~]# man fcoeadm
FCOEADM(8) Open-FCoE Tools FCOEADM(8)

NAME
fcoeadm - The Fibre Channel over Ethernet (FCoE) administration tool

SYNOPSIS
fcoeadm [-c|--create] []

fcoeadm [-d|--destroy] []

fcoeadm [-r|--reset] []

fcoeadm [-i|--interface] []

fcoeadm [-t|--target] []

fcoeadm [-l|--lun] [ []]

fcoeadm [-s|--stats] [ [-n ]]

fcoeadm [-v|--version]

fcoeadm [-h|--help]

DESCRIPTION
The fcoeadm command is intended to be the FCoE management tool for the Linux systems. The -c, -d, and -r options are
used to create, destroy, and reset an FCoE instance on a given network interface. The other options are used to query
the information of the FCoE instance which includes the interface information, target information, LUN information, and
port statistics. The fcoeadm command invokes the HBAAPI library routines to obtain these information. The HBAAPI
library routines invoke the vendor-specific library, libhbalinux, to grab the information from the /sys file system. In
other words, the fcoeadm command requires to have libHBAAPI and libhbalinux installed on the system to work. The libh-
balinux is maintained at www.Open-FCoE.org. The installation instructions of libhbalinux also instructs how to download
the HBAAPI source code, build and install with the libhbalinux. The last option -h is used to show a brief usage message
of the supported command syntax.

OPTIONS
-c, --create
Creates an FCoE instance based on the given .

-d, --destroy
Destroys an FCoE instance based on the given .

-r, --reset
Resets the fc_host associated with the FCoE interface given by .

-i, --interface
Show the information of the FCoE instances created at . If is not specified the command will show
the information of all the FCoE instances created on the system.

-t, --target
Show the information of all the discovered targets from the FCoE instances created at . If is not
specified the command will show the information of all the discovered targets from all the FCoE instances created.

-l, --lun
Show the detailed information of a specific LUN with at the target with port id . port id
is also known as FC-ID. If is not specified, all the LUNs associated with the target will be shown.

-s, --stats -n
Show the statistics (including FC4 statistics) of the FCoE instances created at . The information will be
display in one line on the screen per given time interval. should be specified in whole intergers
greater than 0. It specifies the time interval in the unit of second. If is not specified, the default
interval is one second.

-v, --version
Displays the version of the fcoeadm command.

-h, --help
Displays the usage message of the fcoeadm command.

where is the network interface name, such as eth0, eth1, etc.

EXAMPLES
Creates an FCoE instance on eth2

$ fcoeadm -c eth2

Destroys the FCoE instance on eth2

$ fcoeadm -d eth2

Resets the FCoE instance on eth2

$ fcoeadm -r eth2

Show the information of all the adapters and their ports having FCoE instances created.

$ fcoeadm -i

Show the information of a specific interface eth3. If eth3 has no FCoE instances created, the command will show the
error "No fc_host found for eth3".

$ fcoeadm -i eth3

Show the information of all the discovered targets from all the ports having FCoE instances created (they may be on dif-
ferent adapter cards). A brief listing of discovered LUNs are listed after the target they are associated with, if any.

$ fcoeadm -t

Show the information of all the discovered targets from a given port (eth3) having FCoE instance created. A brief listing
of discovered LUNs are listed after each target they are associated with, if any.

$ fcoeadm -t eth3

Show the detailed information of all the LUNs associated with a specific target. The target is identified by its port id
(aka FC-ID) 0xD700EF.

$ fcoeadm -l 0xD700EF

$ fcoeadm -l D700EF

$ fcoeadm -l 0xd700ef

$ fcoeadm -l d700ef

Show the detailed information of a LUN associated with a specific target. The target is identified by its port id (aka
FC-ID) 0xD700EF and the LUN is identified by its LUN id.

$ fcoeadm -l 0xD700EF 1

Show the statistics information of a specific port eth3 having FCoE instances created. The statistics are displayed one
line per time interval. The default interval is one second if -n option is not specified.

$ fcoeadm -s eth3

$ fcoeadm -s eth3 -n 3

$ fcoeadm -s eth3 -n3

REPORTING BUGS
If you have identified a defect please either file a bug or engage the development mailing list at
.

SUPPORT
Open-FCoE is maintained at . There are resources available for both developers and users at
that site.

Open-FCoE Applications November 4, 2008 FCOEADM(8)
(END)

[PR]
by mdesign21 | 2010-01-14 23:36 | メモ

open-fcoe


完全...ψ(。。 )メモメモです。
http://www.open-fcoe.org/

[PR]
by mdesign21 | 2010-01-14 04:10 | メモ