Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

aoecfg(8) [debian man page]

aoecfg(8)						      System Manager's Manual							 aoecfg(8)

NAME
aoecfg - manipulate AoE configuration strings SYNOPSIS
aoecfg [-c cmd] [-s cfgstr] [-t timeout] [shelf slot] [netif] DESCRIPTION
Aoecfg(8) sends AoE configuration commands that control the retrivial, conditional or unconditional setting of AoE configuration strings. Since configuration happens before the MAC address of the target is known, the packet is broadcast. AoE targets with a matching shelf and slot respond. Since the default shelf and slot are the wildcard values 0xffff and 0xff, with no arguments aoecfg(8) will return configura- tion strings from all targets visible on the default interface, eth0. OPTIONS
-c cmd specify the AoE configuration command. The default is read. The available commands are read Read the server config string without performing any test and respond. test Respond only if the specified string exactly matches the server configuration string. prefix Respond only if the specified string is a prefix of the server configuration string. set If the current server config string is empty, set the server config string to the argument string and respond. If the current server config string is not empty, return a response with Flags bit E set and Error set to 4. fset Force set the server config string to the argument string and respond. -s cfgstr specify the config string. -t timeout specify the timeout in seconds. The default is no timeout. If neither the shelf nor the slot are specified, aoecfg(8) will exit after the first result. Otherwise, aoecfg(8) will exit only after the timeout has expired since it does not know how many responses to expect. shelf slot specify the shelf and slot used in the query. If unspecified, they default to broadcast. netif specifiy the network interface. The default is eth0. SEE ALSO
aoe-discover(8), aoe-interfaces(8), aoe-mkdevs(8), aoe-mkshelf(8), aoe-stat(8), aoeping(8), AoE (ATA over Ethernet): http://sup- port.coraid.com/documents/AoEr10.txt, ATA specification AUTHOR
Erik Quanstrom (quanstro@coraid.com) aoecfg(8)

Check Out this Related Man Page

aoe-mkshelf(8)						      System Manager's Manual						    aoe-mkshelf(8)

NAME
aoe-mkshelf - create special device files for one shelf address SYNOPSIS
aoe-mkshelf {device-dir} {shelf-address} env n_partitions=1 aoe-mkshelf {device-dir} {shelf-address} DESCRIPTION
The aoe-mkshelf command is not needed on systems that have udev installed and is incompatible with aoe drivers that have the aoe_dyndevs module parameter set to 1. Systems lacking udev and having an aoe driver that uses static minor device numbers can use aoe-mkshelf to create the block special files necessary to access the AoE devices with the given shelf address. All aoe drivers prior to aoe6-50 use static minor device numbers. Versions 50 and up use dynamic minor device numbers when the module parameter aoe_dyndevs=1 is set. If you are using static minor device numbers and your aoe driver supports only one partition per device (whole-disk partitions), then the device files must match, and you should use the n_partitions environment variable described below. Arguments device-dir This should be the name of the directory where the block device files will be created. shelf-address This is the AoE major address, or shelf address, for which to create device nodes. For example, specifying a shelf address of 1 means that the e1.* device nodes will be created in device-dir. ENVIRONMENT VARIABLES
If the n_partitions variable is set in the environment, it will override the default number of partitions per aoe disk, namely 16. EXAMPLE
In this example, the root user on a host named nai creates special files for using the aoe disks in shelf 7. Then he remembers that the driver doesn't have partition support, so the command is called again with n_partitions set to 1. nai:~# aoe-mkshelf /dev/etherd 7 nai:~# ls /dev/etherd/e7.* | wc -l 160 nai:~# rm /dev/etherd/e7.* nai:~# n_partitions=1 aoe-mkshelf /dev/etherd 7 nai:~# ls /dev/etherd/e7.* | wc -l 10 nai:~# SEE ALSO
aoe-discover(8), aoe-interfaces(8), aoe-mkdevs(8), aoe-stat(8), aoetools(8), udev(7). AUTHOR
Ed L. Cashin (ecashin@coraid.com) aoe-mkshelf(8)
Man Page