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 the block device nodes created
10 automatically, but to create all the necessary device nodes, use the
11 udev configuration rules provided in udev.txt (in this directory).
13 There is a udev-install.sh script that shows how to install these
16 If you are not using udev, two scripts are provided in
17 Documentation/aoe as examples of static device node creation for
21 sh Documentation/aoe/mkdevs.sh /dev/etherd
23 ... or to make just one shelf's worth of block device nodes ...
25 sh Documentation/aoe/mkshelf.sh /dev/etherd 0
27 There is also an autoload script that shows how to edit
28 /etc/modprobe.conf to ensure that the aoe module is loaded when
33 "cat /dev/etherd/err" blocks, waiting for error diagnostic output,
34 like any retransmitted packets.
36 "echo eth2 eth4 > /dev/etherd/interfaces" tells the aoe driver to
37 limit ATA over Ethernet traffic to eth2 and eth4. AoE traffic from
38 untrusted networks should be ignored as a matter of security.
40 "echo > /dev/etherd/discover" tells the driver to find out what AoE
41 devices are available.
43 These character devices may disappear and be replaced by sysfs
44 counterparts, so distribution maintainers are encouraged to create
45 scripts that use these devices.
47 The block devices are named like this:
50 e{shelf}.{slot}p{part}
52 ... so that "e0.2" is the third blade from the left (slot 2) in the
53 first shelf (shelf address zero). That's the whole disk. The first
54 partition on that disk would be "e0.2p1".
58 Each aoe block device in /sys/block has the extra attributes of
59 state, mac, and netif. The state attribute is "up" when the device
60 is ready for I/O and "down" if detected but unusable. The
61 "down,closewait" state shows that the device is still open and
62 cannot come up again until it has been closed.
64 The mac attribute is the ethernet address of the remote AoE device.
65 The netif attribute is the network interface on the localhost
66 through which we are communicating with the remote AoE device.
68 There is a script in this directory that formats this information
71 root@makki root# sh Documentation/aoe/status.sh