1 The EtherDrive (R) HOWTO for users of 2.6 kernels is found at ...
3 http://www.coraid.com/support/linux/EtherDrive-2.6-HOWTO.html
5 It has many tips and hints!
9 Users of udev should find device nodes created automatically. Two
10 scripts are provided in Documentation/aoe as examples of static
11 device node creation for using the aoe driver.
14 sh Documentation/aoe/mkdevs.sh /dev/etherd
16 ... or to make just one shelf's worth of block device nodes ...
18 sh Documentation/aoe/mkshelf.sh /dev/etherd 0
20 There is also an autoload script that shows how to edit
21 /etc/modprobe.conf to ensure that the aoe module is loaded when
26 "cat /dev/etherd/err" blocks, waiting for error diagnostic output,
27 like any retransmitted packets.
29 "echo eth2 eth4 > /dev/etherd/interfaces" tells the aoe driver to
30 limit ATA over Ethernet traffic to eth2 and eth4. AoE traffic from
31 untrusted networks should be ignored as a matter of security.
33 "echo > /dev/etherd/discover" tells the driver to find out what AoE
34 devices are available.
36 These character devices may disappear and be replaced by sysfs
37 counterparts, so distribution maintainers are encouraged to create
38 scripts that use these devices.
40 The block devices are named like this:
43 e{shelf}.{slot}p{part}
45 ... so that "e0.2" is the third blade from the left (slot 2) in the
46 first shelf (shelf address zero). That's the whole disk. The first
47 partition on that disk would be "e0.2p1".
51 Each aoe block device in /sys/block has the extra attributes of
52 state, mac, and netif. The state attribute is "up" when the device
53 is ready for I/O and "down" if detected but unusable. The
54 "down,closewait" state shows that the device is still open and
55 cannot come up again until it has been closed.
57 The mac attribute is the ethernet address of the remote AoE device.
58 The netif attribute is the network interface on the localhost
59 through which we are communicating with the remote AoE device.
61 There is a script in this directory that formats this information
64 root@makki root# sh Documentation/aoe/status.sh