summaryrefslogtreecommitdiffabout
path: root/doc/eclat-atvol.1
blob: e6d364b763ac3dfb27d1c39ff2cea30b936a0e2e (plain)
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
.\" This file is part of Eclat -*- nroff -*-
.\" Copyright (C) 2012, 2013 Sergey Poznyakoff
.\"
.\" Eclat is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 3, or (at your option)
.\" any later version.
.\"
.\" Eclat is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with Eclat.  If not, see <http://www.gnu.org/licenses/>.
.TH ECLAT\-ATVOL 1 "April 20, 2013" "ECLAT" "Eclat User Reference"
.SH NAME
eclat atvol, attach\-volume \- attach a volume to an instance
.SH SYNOPSIS
\fBeclat atvol\fR \fIVOL\-ID\fR \fIINST\-ID\fR \fIDEV\-NAME\fR

\fBeclat atvol\fR \fB\-\-help\fR
.SH DESCRIPTION
The \fBatvol\fR command attaches an existing volume to an EC2
instance.  The
.I VOL\-ID
argument specifies the identifier of the volume to attach.  If ID
mapping is enabled (see the section \fBMAPS\fR
in
.BR eclat (1)),
\fIVOL\-ID\fR is treated as a volume name and is translated
it to the AWS ID using the \fBVolumeId\fR map.  The
.I INST\-ID
argument specifies the ID of the instance to attach the volume to.  If
ID mapping is enabled, this argument is translated using the
.B InstanceId
map.  Finally, the
.I DEV\-NAME
argument specifies the name of the device to use for this volume.
.SH EXAMPLE
.PP
.EX
$ eclat atvol vol-12340156 i-40ed7ef3 /dev/xvdf
vol-12340156 attaching i-40ed7ef3 /dev/xvdf
.EE
.SH "SEE ALSO"
.BR eclat (1),
.BR eclat-mkvol (1),
.BR eclat-rmvol (1),
.BR eclat-lsvol (1),
.BR eclat-devol (1).
.SH AUTHORS
Sergey Poznyakoff
.SH "BUG REPORTS"
Report bugs to <bug\-eclat@gnu.org.ua>.
.SH COPYRIGHT
Copyright \(co 2012, 2013 Sergey Poznyakoff
.br
.na
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
.br
.ad
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.\" Local variables:
.\" eval: (add-hook 'write-file-hooks 'time-stamp)
.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \""
.\" time-stamp-format: "%:B %:d, %:y"
.\" time-stamp-end: "\""
.\" time-stamp-line-limit: 20
.\" end:

Return to:

Send suggestions and report system problems to the System administrator.