File: aoe-interfaces.8

package info (click to toggle)
aoetools 11-1.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 168 kB
  • ctags: 115
  • sloc: ansic: 523; sh: 156; makefile: 59
file content (67 lines) | stat: -rw-r--r-- 1,978 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.TH aoe-interfaces 8
.SH NAME
aoe-interfaces \- restrict aoe driver to specified network interfaces
.SH SYNOPSIS
.nf
.B aoe-interfaces [dev1] [dev2 ...]
.fi
.SH DESCRIPTION
The
.I aoe-interfaces
command tells the aoe driver to ignore ATA over Ethernet (AoE) traffic
on all but the specified network interfaces.  It is analogous to the
\fIaoe_iflist\fP module load option.
.PP
If neither the \fIaoe_iflist\fP module load option nor the
\fIaoe-interfaces\fP command are used, the aoe driver will use any
network interface for AoE traffic.
.PP
If the aoe driver is a module, then calling 
.I aoe-interfaces
without arguments will display the current interfaces list.  If it
hasn't been set then the output will be blank.
.PP
It's good to run the 
.I aoe-discover
command after setting the AoE interfaces list.
.SH EXAMPLE
In this example, the root user on a host named
.I nai
loads the aoe module with only eth0 allowable for AoE traffic.  After
remembering that shelf 7 is on eth3, this
sysadmin uses 
.I aoe-interfaces
to add eth3 to the list of allowable network interfaces and then
calls
.I aoe-discover
to ask the aoe driver to look for new AoE devices.
.IP
.EX
 nai:~# modprobe aoe aoe_iflist="eth0"
 nai:~# aoe-stat
    e10.9            eth0              up
 nai:~# aoe-interfaces eth0 eth3
 nai:~# aoe-discover
 nai:~# aoe-stat
     e7.0            eth3              up
     e7.1            eth3              up
     e7.2            eth3              up
     e7.3            eth3              up
     e7.4            eth3              up
     e7.5            eth3              up
     e7.6            eth3              up
     e7.7            eth3              up
     e7.8            eth3              up
     e7.9            eth3              up
    e10.9            eth0              up
 nai:~# aoe-interfaces
 eth0 eth3
.EE
.LP
.SH "SEE ALSO"
.IR aoe-discover (8),
.IR aoe-mkdevs (8),
.IR aoe-mkshelf (8),
.IR aoe-stat (8).
.SH AUTHOR
Ed L. Cashin (ecashin@coraid.com)