VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-storagectl.xml@ 82044

最後變更 在這個檔案從82044是 82044,由 vboxsync 提交於 5 年 前

doc/manual: Add all new manpages (the new VBoxManage ones are not yet used, it needs reviewing and proper integrating), and integrate the one for VBoxManage and vboximg-mount.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 7.5 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage storagectl
4
5 Copyright (C) 2006-2019 Oracle Corporation
6
7 This file is part of VirtualBox Open Source Edition (OSE), as
8 available from http://www.alldomusa.eu.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 </group></arg>
67 <arg>--bootable=<group choice="plain">
68 <arg choice="plain">on</arg>
69 <arg choice="plain">off</arg>
70 </group></arg>
71 <arg>--hostiocache=<group choice="plain">
72 <arg choice="plain">on</arg>
73 <arg choice="plain">off</arg>
74 </group></arg>
75 <arg>--portcount=<replaceable>count</replaceable></arg>
76 <arg>--remove</arg>
77 <arg>--rename=<replaceable>new-controller-name</replaceable></arg>
78 </cmdsynopsis>
79 </refsynopsisdiv>
80
81 <refsect1>
82 <title>Description</title>
83 <para>
84 The <command>VBoxManage storagectl</command> command enables you
85 to attach, modify, and remove a storage controller. After you
86 configure the storage controller, you can use the
87 <command>VBoxManage storageattach</command> command to attach
88 virtual media to the controller.
89 </para>
90 <variablelist>
91 <varlistentry>
92 <term><replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></term>
93 <listitem><para>
94 Specifies the Universally Unique Identifier (UUID) or name
95 of the virtual machine (VM).
96 </para></listitem>
97 </varlistentry>
98 <varlistentry>
99 <term><option>--name=<replaceable>controller-name</replaceable></option></term>
100 <listitem><para>
101 Specifies the name of the storage controller.
102 </para></listitem>
103 </varlistentry>
104 <varlistentry>
105 <term><option>--add=<replaceable>system-bus-type</replaceable></option></term>
106 <listitem><para>
107 Specifies the type of the system bus to which to connect the
108 storage controller. Valid values are
109 <literal>floppy</literal>, <literal>ide</literal>,
110 <literal>pcie</literal>, <literal>sas</literal>,
111 <literal>sata</literal>, <literal>scsi</literal>, and
112 <literal>usb</literal>.
113 </para></listitem>
114 </varlistentry>
115 <varlistentry>
116 <term><option>--controller=<replaceable>chipset-type</replaceable></option></term>
117 <listitem><para>
118 Specifies the chipset type to emulate for the specified
119 storage controller. Valid values are
120 <literal>BusLogic</literal>, <literal>I82078</literal>,
121 <literal>ICH6</literal>, <literal>IntelAHCI</literal>,
122 <literal>LSILogic</literal>, <literal>LSILogicSAS</literal>,
123 <literal>NVMe</literal>, <literal>PIIX3</literal>,
124 <literal>PIIX4</literal>, and <literal>USB</literal>.
125 </para><para>
126 The default value varies, according to the type of storage
127 controller.
128 </para></listitem>
129 </varlistentry>
130 <varlistentry>
131 <term><option>--portcount=<replaceable>count</replaceable></option></term>
132 <listitem><para>
133 Specifies the number of ports that the storage controller
134 supports. Valid values depend on the type of storage
135 controller.
136 </para></listitem>
137 </varlistentry>
138 <varlistentry>
139 <term><option>--hostiocache=on|off</option></term>
140 <listitem><para>
141 Specifies whether to use the host I/O cache for all disk
142 images attached to this storage controller. Valid values are
143 <literal>on</literal> and <literal>off</literal>. See
144 <xref linkend="iocaching" />.
145 </para></listitem>
146 </varlistentry>
147 <varlistentry>
148 <term><option>--bootable=on|off</option></term>
149 <listitem><para>
150 Specifies whether this controller is bootable. Valid values
151 are <literal>on</literal> and <literal>off</literal>.
152 </para></listitem>
153 </varlistentry>
154 <varlistentry>
155 <term><option>--rename=<replaceable>new-controller-name</replaceable></option></term>
156 <listitem><para>
157 Specifies a new name for the storage controller.
158 </para></listitem>
159 </varlistentry>
160 <varlistentry>
161 <term><option>--remove</option></term>
162 <listitem><para>
163 Removes a storage controller from the VM configuration.
164 </para></listitem>
165 </varlistentry>
166 </variablelist>
167 </refsect1>
168
169 <refsect1>
170 <title>Examples</title>
171 <remark role="help-scope" condition="GLOBAL" />
172 <para>
173 The following command creates a SATA storage controller called
174 <literal>sata01</literal> and adds it to the
175 <literal>ol7</literal> VM. The storage controller emulates the
176 IntelAHCI chipset.
177 </para>
178<screen>$ VBoxManage storagectl ol7 --name "sata01" --add sata --controller IntelAHCI</screen>
179 <para>
180 The following command creates an IDE storage controller called
181 <literal>ide01</literal> and adds it to the <literal>ol7</literal>
182 VM.
183 </para>
184<screen>$ VBoxManage storagectl ol7 --name "ide01" --add ide</screen>
185 </refsect1>
186
187 <refsect1>
188 <title>See Also</title>
189 <para>
190 <xref linkend="vboxmanage-storageattach" />
191 </para>
192 </refsect1>
193</refentry>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette