1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage storagectl
|
---|
4 |
|
---|
5 | Copyright (C) 2006-2020 Oracle Corporation
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | -->
|
---|
15 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
16 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
|
---|
17 | <!ENTITY % all.entities SYSTEM "all-entities.ent">
|
---|
18 | %all.entities;
|
---|
19 | ]>
|
---|
20 | <refentry id="vboxmanage-storagectl" lang="en">
|
---|
21 | <refentryinfo>
|
---|
22 | <pubdate>August 2019</pubdate>
|
---|
23 | <title>VBoxManage storagectl</title>
|
---|
24 | </refentryinfo>
|
---|
25 |
|
---|
26 | <refmeta>
|
---|
27 | <refentrytitle>VBoxManage-storagectl</refentrytitle>
|
---|
28 | <manvolnum>1</manvolnum>
|
---|
29 | </refmeta>
|
---|
30 |
|
---|
31 | <refnamediv>
|
---|
32 | <refname>VBoxManage-storagectl</refname>
|
---|
33 | <refpurpose>manage a storage controller</refpurpose>
|
---|
34 | <refclass>Oracle VM VirtualBox</refclass>
|
---|
35 | </refnamediv>
|
---|
36 |
|
---|
37 | <refsynopsisdiv>
|
---|
38 | <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
|
---|
39 | <cmdsynopsis id="synopsis-vboxmanage-storagectl">
|
---|
40 | <command>VBoxManage storagectl</command>
|
---|
41 | <group choice="req">
|
---|
42 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
43 | <arg choice="plain"><replaceable>vmname</replaceable></arg>
|
---|
44 | </group>
|
---|
45 | <arg choice="req">--name=<replaceable>controller-name</replaceable></arg>
|
---|
46 | <arg>--add=<group choice="plain">
|
---|
47 | <arg choice="plain">floppy</arg>
|
---|
48 | <arg choice="plain">ide</arg>
|
---|
49 | <arg choice="plain">pcie</arg>
|
---|
50 | <arg choice="plain">sas</arg>
|
---|
51 | <arg choice="plain">sata</arg>
|
---|
52 | <arg choice="plain">scsi</arg>
|
---|
53 | <arg choice="plain">usb</arg>
|
---|
54 | </group></arg>
|
---|
55 | <arg>--controller=<group choice="plain">
|
---|
56 | <arg choice="plain">BusLogic</arg>
|
---|
57 | <arg choice="plain">I82078</arg>
|
---|
58 | <arg choice="plain">ICH6</arg>
|
---|
59 | <arg choice="plain">IntelAhci</arg>
|
---|
60 | <arg choice="plain">LSILogic</arg>
|
---|
61 | <arg choice="plain">LSILogicSAS</arg>
|
---|
62 | <arg choice="plain">NVMe</arg>
|
---|
63 | <arg choice="plain">PIIX3</arg>
|
---|
64 | <arg choice="plain">PIIX4</arg>
|
---|
65 | <arg choice="plain">USB</arg>
|
---|
66 | <arg choice="plain">VirtIO</arg>
|
---|
67 | </group></arg>
|
---|
68 | <arg>--bootable=<group choice="plain">
|
---|
69 | <arg choice="plain">on</arg>
|
---|
70 | <arg choice="plain">off</arg>
|
---|
71 | </group></arg>
|
---|
72 | <arg>--hostiocache=<group choice="plain">
|
---|
73 | <arg choice="plain">on</arg>
|
---|
74 | <arg choice="plain">off</arg>
|
---|
75 | </group></arg>
|
---|
76 | <arg>--portcount=<replaceable>count</replaceable></arg>
|
---|
77 | <arg>--remove</arg>
|
---|
78 | <arg>--rename=<replaceable>new-controller-name</replaceable></arg>
|
---|
79 | </cmdsynopsis>
|
---|
80 | </refsynopsisdiv>
|
---|
81 |
|
---|
82 | <refsect1>
|
---|
83 | <title>Description</title>
|
---|
84 | <para>
|
---|
85 | The <command>VBoxManage storagectl</command> command enables you
|
---|
86 | to attach, modify, and remove a storage controller. After you
|
---|
87 | configure the storage controller, you can use the
|
---|
88 | <command>VBoxManage storageattach</command> command to attach
|
---|
89 | virtual media to the controller.
|
---|
90 | </para>
|
---|
91 | <variablelist>
|
---|
92 | <varlistentry>
|
---|
93 | <term><replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></term>
|
---|
94 | <listitem><para>
|
---|
95 | Specifies the Universally Unique Identifier (UUID) or name
|
---|
96 | of the virtual machine (VM).
|
---|
97 | </para></listitem>
|
---|
98 | </varlistentry>
|
---|
99 | <varlistentry>
|
---|
100 | <term><option>--name=<replaceable>controller-name</replaceable></option></term>
|
---|
101 | <listitem><para>
|
---|
102 | Specifies the name of the storage controller.
|
---|
103 | </para></listitem>
|
---|
104 | </varlistentry>
|
---|
105 | <varlistentry>
|
---|
106 | <term><option>--add=<replaceable>system-bus-type</replaceable></option></term>
|
---|
107 | <listitem><para>
|
---|
108 | Specifies the type of the system bus to which to connect the
|
---|
109 | storage controller. Valid values are
|
---|
110 | <literal>floppy</literal>, <literal>ide</literal>,
|
---|
111 | <literal>pcie</literal>, <literal>sas</literal>,
|
---|
112 | <literal>sata</literal>, <literal>scsi</literal>, and
|
---|
113 | <literal>usb</literal>.
|
---|
114 | </para></listitem>
|
---|
115 | </varlistentry>
|
---|
116 | <varlistentry>
|
---|
117 | <term><option>--controller=<replaceable>chipset-type</replaceable></option></term>
|
---|
118 | <listitem><para>
|
---|
119 | Specifies the chipset type to emulate for the specified
|
---|
120 | storage controller. Valid values are
|
---|
121 | <literal>BusLogic</literal>, <literal>I82078</literal>,
|
---|
122 | <literal>ICH6</literal>, <literal>IntelAHCI</literal>,
|
---|
123 | <literal>LSILogic</literal>, <literal>LSILogicSAS</literal>,
|
---|
124 | <literal>NVMe</literal>, <literal>PIIX3</literal>,
|
---|
125 | <literal>PIIX4</literal>, and <literal>USB</literal>.
|
---|
126 | </para><para>
|
---|
127 | The default value varies, according to the type of storage
|
---|
128 | controller.
|
---|
129 | </para></listitem>
|
---|
130 | </varlistentry>
|
---|
131 | <varlistentry>
|
---|
132 | <term><option>--portcount=<replaceable>count</replaceable></option></term>
|
---|
133 | <listitem><para>
|
---|
134 | Specifies the number of ports that the storage controller
|
---|
135 | supports. Valid values depend on the type of storage
|
---|
136 | controller.
|
---|
137 | </para></listitem>
|
---|
138 | </varlistentry>
|
---|
139 | <varlistentry>
|
---|
140 | <term><option>--hostiocache=on|off</option></term>
|
---|
141 | <listitem><para>
|
---|
142 | Specifies whether to use the host I/O cache for all disk
|
---|
143 | images attached to this storage controller. Valid values are
|
---|
144 | <literal>on</literal> and <literal>off</literal>. See
|
---|
145 | <xref linkend="iocaching" />.
|
---|
146 | </para></listitem>
|
---|
147 | </varlistentry>
|
---|
148 | <varlistentry>
|
---|
149 | <term><option>--bootable=on|off</option></term>
|
---|
150 | <listitem><para>
|
---|
151 | Specifies whether this controller is bootable. Valid values
|
---|
152 | are <literal>on</literal> and <literal>off</literal>.
|
---|
153 | </para></listitem>
|
---|
154 | </varlistentry>
|
---|
155 | <varlistentry>
|
---|
156 | <term><option>--rename=<replaceable>new-controller-name</replaceable></option></term>
|
---|
157 | <listitem><para>
|
---|
158 | Specifies a new name for the storage controller.
|
---|
159 | </para></listitem>
|
---|
160 | </varlistentry>
|
---|
161 | <varlistentry>
|
---|
162 | <term><option>--remove</option></term>
|
---|
163 | <listitem><para>
|
---|
164 | Removes a storage controller from the VM configuration.
|
---|
165 | </para></listitem>
|
---|
166 | </varlistentry>
|
---|
167 | </variablelist>
|
---|
168 | </refsect1>
|
---|
169 |
|
---|
170 | <refsect1>
|
---|
171 | <title>Examples</title>
|
---|
172 | <remark role="help-scope" condition="GLOBAL" />
|
---|
173 | <para>
|
---|
174 | The following command creates a SATA storage controller called
|
---|
175 | <literal>sata01</literal> and adds it to the
|
---|
176 | <literal>ol7</literal> VM. The storage controller emulates the
|
---|
177 | IntelAHCI chipset.
|
---|
178 | </para>
|
---|
179 | <screen>$ VBoxManage storagectl ol7 --name "sata01" --add sata --controller IntelAHCI</screen>
|
---|
180 | <para>
|
---|
181 | The following command creates an IDE storage controller called
|
---|
182 | <literal>ide01</literal> and adds it to the <literal>ol7</literal>
|
---|
183 | VM.
|
---|
184 | </para>
|
---|
185 | <screen>$ VBoxManage storagectl ol7 --name "ide01" --add ide</screen>
|
---|
186 | </refsect1>
|
---|
187 |
|
---|
188 | <refsect1>
|
---|
189 | <title>See Also</title>
|
---|
190 | <para>
|
---|
191 | <xref linkend="vboxmanage-storageattach" />
|
---|
192 | </para>
|
---|
193 | </refsect1>
|
---|
194 | </refentry>
|
---|