-
Notifications
You must be signed in to change notification settings - Fork 17
/
vblade.8
93 lines (93 loc) · 2.69 KB
/
vblade.8
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.TH vblade 8
.SH NAME
vblade, vbladed \- export data via ATA over Ethernet
.SH SYNOPSIS
.nf
.B vblade [ -m mac[,mac...] ] shelf slot netif filename
.fi
.SH DESCRIPTION
The
.I vblade
command starts a process that uses raw sockets to perform ATA over
Ethernet, acting like a virtual EtherDrive (R) blade.
.PP
The
.I vbladed
script can be used to daemonize the vblade process,
detaching it from your terminal and sending its output to the system
logs.
.SS Arguments
.TP
\fBshelf\fP
This should be the shelf address (major AoE address) of the AoE device
to create.
.TP
\fBslot\fP
This should be the slot address (minor AoE address) of the AoE device
to create.
.TP
\fBnetif\fP
The name of the ethernet network interface to use for AoE
communications.
.TP
\fBfilename\fP
The name of the regular file or block device to export.
.SS Options
.TP
\fB-b\fP
The \-b flag takes an argument, the advertised buffer count, specifying
the maximum number of outstanding messages the server can queue for
processing.
.TP
\fB-d\fP
The \-d flag selects O_DIRECT mode for accessing the underlying block
device.
.TP
\fB-s\fP
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.
.TP
\fB-r\fP
The \-r flag restricts the export of the device to be read-only.
.TP
\fB-m\fP
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.
.TP
\fB-o\fP
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).
.TP
\fB-l\fP
The \-l flag takes an argument, the number of sectors to export.
Defaults to the file size in sectors minus the offset.
.SH EXAMPLE
In this example, the root user on a host named
.I 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
.I vbladed
would have resulted in the process running as a daemon in the
background.
.IP
.EX
.nf
nai:~# vblade 11 1 eth0 /data/3TB
.fi
.EE
.SH NOTES AND WARNINGS
Users of Jumbo frames should read the README file distributed with
.I vblade
to learn about a workaround for kernel buffering limitations.
.PP
At least one AoE initiator (WinAoE) has been found to enforce legacy
CHS geometry for drives by discarding sectors. You should ensure that
the underlaying regular file or block device size is a multiple of
8225280 bytes (255 heads, 63 sectors/track, 512 bytes/sector) if you
encounter filesystem corruption.
.SH REPORTING BUGS
Please report bugs to the aoetools-discuss mailing list.
.SH AUTHOR
Brantley Coile ([email protected])