1aoe-stat(8)                 System Manager's Manual                aoe-stat(8)
2
3
4

NAME

6       aoe-stat - print aoe device status report
7

SYNOPSIS

9       modprobe aoe
10       aoe-stat
11       env sysfs_dir=/sys aoe-stat
12

DESCRIPTION

14       The  aoe-stat  script collects information on ATA over Ethernet devices
15       from sysfs.
16
17       For each AoE device the kernel has discovered, there is one row in  the
18       script's output.  Each row has the following columns.
19
20       devicename
21              The device name is of the form eX.Y,
22               with  X being the AoE device shelf address, and Y being the AoE
23              slot address.
24
25       size   The size of the AoE device is in gigabytes (billions of bytes).
26
27       ifname The network interface name is printed in the third column.
28
29       status The device status is in the last column.   Possible  values  are
30              up,   down,  and  down,closewait.  The "up" status means the aoe
31              driver considers this device ready for I/O.  The  "down"  status
32              means the opposite.  The "down,closewait" status means that some
33              software still has the device  open,  and  when  this  straggler
34              closes the device, it will enter the "down" state.
35

ENVIRONMENT VARIABLES

37       If  the  sysfs_dir variable is set in the environment, it will override
38       the default location where aoe-stat will look for sysfs, namely  /sys.
39

EXAMPLE

41       In this example, the root user on a host named nai loads the aoe driver
42       module  and  then prints a list of all the available aoe devices.  Then
43       he remembers to bring up the storage network interfaces,  does  an  AoE
44       discovery, and prints the list again.  This time the list shows all the
45       devices in shelf seven.
46
47              nai:~# modprobe aoe
48              nai:~# aoe-stat
49              nai:~# ifconfig eth3 up
50              nai:~# aoe-discover
51              nai:~# aoe-stat
52                    e0.0     10995.116GB   eth0 up
53                    e0.1     10995.116GB   eth0 up
54                    e0.2     10995.116GB   eth0 up
55                    e1.0      1152.874GB   eth0 up
56                    e7.0       370.566GB   eth0 up
57              nai:~#
58

SEE ALSO

60       aoe-discover(8), aoe-interfaces(8), aoe-mkdevs(8), aoe-mkshelf(8).
61

AUTHOR

63       Ed L. Cashin (ecashin@coraid.com)
64
65
66
67                                                                   aoe-stat(8)
Impressum