VirtualBox

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

最後變更 在這個檔案從96388是 96300,由 vboxsync 提交於 3 年 前

doc: comment fixing

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

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