vblade [ -m mac[,mac...] ] shelf slot netif filename
DESCRIPTIONThe vblade command starts a process that uses raw sockets to perform ATA over Ethernet, acting like a virtual EtherDrive (R) blade.
The vbladed script can be used to daemonize the vblade process, detaching it from your terminal and sending its output to the system logs.
- This should be the shelf address (major AoE address) of the AoE device to create.
- This should be the slot address (minor AoE address) of the AoE device to create.
- The name of the ethernet network interface to use for AoE communications.
- The name of the regular file or block device to export.
- The -b flag takes an argument, the advertised buffer count, specifying the maximum number of outstanding messages the server can queue for processing.
- The -d flag selects O_DIRECT mode for accessing the underlying block device.
- The -s flag selects O_SYNC mode for accessing the underlying block device, so all writes are committed to disk before returning to the client.
- The -r flag restricts the export of the device to be read-only.
- The -m flag takes an argument, a comma separated list of MAC addresses permitted access to the vblade. A MAC address can be specified in upper or lower case, with or without colons.
- The -o flag takes an argument, the number of sectors at the beginning of the exported file that are excluded from AoE export (default zero).
- The -l flag takes an argument, the number of sectors to export. Defaults to the file size in sectors minus the offset.
EXAMPLEIn this example, the root user on a host named nai exports a file named "3TB" to the LAN on eth0 using AoE shelf address 11 and slot address 1. The process runs in the foreground. Using vbladed would have resulted in the process running as a daemon in the background.
nai:~# vblade 11 1 eth0 /data/3TB
BUGSUsers of Jumbo frames should read the README file distributed with vblade to learn about a workaround for kernel buffering limitations.
AUTHORBrantley Coile ([email protected])