1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="settings-storage">
|
---|
4 | <title>Storage Settings</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>The <b outputclass="bold">Storage</b> category in the VM settings enables you to connect virtual hard disk,
|
---|
8 | CD/DVD, and floppy images and drives to your virtual machine. </p>
|
---|
9 | <p>In a real computer, so-called <i>storage controllers</i> connect physical disk drives to the rest of the
|
---|
10 | computer. Similarly, <ph conkeyref="vbox-conkeyref-phrases/product-name"/> presents virtual storage controllers to
|
---|
11 | a virtual machine. Under each controller, the virtual devices, such as hard disks, CD/DVD or floppy drives,
|
---|
12 | attached to the controller are shown. </p>
|
---|
13 | <note>
|
---|
14 | <p>This section gives a quick introduction to the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> storage
|
---|
15 | settings. See <xref href="storage.dita#storage"/> for a full description of the available storage settings in
|
---|
16 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/>. </p>
|
---|
17 | </note>
|
---|
18 | <p>If you have used the <b outputclass="bold">Create Virtual Machine</b> wizard to create a machine, you will
|
---|
19 | normally see something like the following: </p>
|
---|
20 | <fig id="fig-storage-settings">
|
---|
21 | <title>Storage Settings for a Virtual Machine</title>
|
---|
22 | <xref href="images/vm-settings-harddisk.png" format="png" platform="htmlhelp">
|
---|
23 | <image href="images/vm-settings-harddisk.png" width="10cm" placement="break">
|
---|
24 | <alt>Storage Settings for a Virtual Machine</alt>
|
---|
25 | </image>
|
---|
26 | </xref>
|
---|
27 | <image platform="ohc" href="images/vm-settings-harddisk.png" width="10cm" placement="break">
|
---|
28 | <alt>Storage Settings for a Virtual Machine</alt>
|
---|
29 | </image>
|
---|
30 | </fig>
|
---|
31 | <p>Depending on the guest OS type that you selected when you created the VM, a new VM includes the following storage
|
---|
32 | devices: </p>
|
---|
33 | <ul>
|
---|
34 | <li>
|
---|
35 | <p><b outputclass="bold">IDE controller.</b> A virtual
|
---|
36 | CD/DVD drive is attached to device 0 on the secondary channel
|
---|
37 | of the IDE controller.
|
---|
38 | </p>
|
---|
39 | </li>
|
---|
40 | <li>
|
---|
41 | <p><b outputclass="bold">SATA controller.</b> This is a
|
---|
42 | modern type of storage controller for higher hard disk data
|
---|
43 | throughput, to which the virtual hard disks are attached.
|
---|
44 | Initially you will normally have one such virtual disk, but as
|
---|
45 | shown in the previous screenshot, you can have more than one.
|
---|
46 | Each is represented by a disk image file, such as a VDI file
|
---|
47 | in this example.
|
---|
48 | </p>
|
---|
49 | </li>
|
---|
50 | </ul>
|
---|
51 | <p>If you created your VM with an older version of <ph conkeyref="vbox-conkeyref-phrases/product-name"/>, the
|
---|
52 | default storage layout may differ. You might then only have an IDE controller to which both the CD/DVD drive and
|
---|
53 | the hard disks have been attached. This might also apply if you selected an older OS type when you created the VM.
|
---|
54 | Since older OSes do not support SATA without additional drivers, <ph
|
---|
55 | conkeyref="vbox-conkeyref-phrases/product-name"/> will make sure that no such devices are present initially. See
|
---|
56 | <xref href="harddiskcontrollers.dita#harddiskcontrollers"/>. </p>
|
---|
57 | <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> also provides a <i>floppy controller</i>. You cannot add
|
---|
58 | devices other than floppy drives to this controller. Virtual floppy drives, like virtual CD/DVD drives, can be
|
---|
59 | connected to either a host floppy drive, if you have one, or a disk image, which in this case must be in RAW
|
---|
60 | format. </p>
|
---|
61 | <p>You can modify these media attachments freely. For example, if you want to copy some files from another virtual
|
---|
62 | disk that you created, you can connect that disk as a second hard disk, as in the above screenshot. You could also
|
---|
63 | add a second virtual CD/DVD drive, or change where these items are attached. The following options are available: </p>
|
---|
64 | <ul>
|
---|
65 | <li>
|
---|
66 | <p>To <b outputclass="bold">add another virtual hard disk, or a CD/DVD or floppy drive</b>, select the storage
|
---|
67 | controller to which it should be added (such as IDE, SATA, SCSI, SAS, floppy controller) and then click the <b
|
---|
68 | outputclass="bold">Add Disk</b> button below the tree. You can then either select <b outputclass="bold"
|
---|
69 | >Optical Drive</b> or <b outputclass="bold">Hard Disk</b>. If you clicked on a floppy controller, you can
|
---|
70 | add a floppy drive instead. Alternatively, right-click the storage controller and select a menu item there. </p>
|
---|
71 | <p>A dialog is displayed, enabling you to select an existing disk image file or to create a new disk image file.
|
---|
72 | Depending on the type of disk image, the dialog is called <b outputclass="bold">Hard Disk Selector</b>, <b
|
---|
73 | outputclass="bold">Optical Disk Selector</b>, or <b outputclass="bold">Floppy Disk Selector</b>. </p>
|
---|
74 | <p>See <xref href="vdidetails.dita#vdidetails"/> for information on the image file types that are supported by
|
---|
75 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/>. </p>
|
---|
76 | <p>For virtual CD/DVD drives, the image files will typically be in the standard ISO format instead. Most
|
---|
77 | commonly, you will select this option when installing an OS from an ISO file that you have obtained from the
|
---|
78 | Internet. For example, most Linux distributions are available in this way. </p>
|
---|
79 | <p>Depending on the type of disk image, you can set the following <b outputclass="bold">Attributes</b> for the
|
---|
80 | disk image in the right part of the Storage settings page: </p>
|
---|
81 | <ul>
|
---|
82 | <li>
|
---|
83 | <p>The <b outputclass="bold">device slot</b> of the controller that the virtual disk is connected to. IDE
|
---|
84 | controllers have four slots: primary device 0, primary device 1, secondary device 0, and secondary device
|
---|
85 | 1. By contrast, SATA and SCSI controllers offer you up to 30 slots for attaching virtual devices. </p>
|
---|
86 | </li>
|
---|
87 | <li><b outputclass="bold">Solid-state Drive</b> presents a virtual disk to the guest as a solid-state device. </li>
|
---|
88 | <li><b outputclass="bold">Hot-pluggable</b> presents a virtual disk to the guest as a hot-pluggable device. </li>
|
---|
89 | <li>
|
---|
90 | <p>For virtual CD/DVD drives, you can select <b outputclass="bold">Live CD/DVD</b>. This means that the
|
---|
91 | virtual optical disk is not removed from when the guest system ejects it. </p>
|
---|
92 | </li>
|
---|
93 | </ul>
|
---|
94 | </li>
|
---|
95 | <li>
|
---|
96 | <p>To <b outputclass="bold">remove an attachment</b>, either select it and click the <b outputclass="bold"
|
---|
97 | >Remove</b> icon at the bottom, or right-click the attachment and select the menu item. </p>
|
---|
98 | </li>
|
---|
99 | </ul>
|
---|
100 | <p>Removable media, such as CD/DVDs and floppies, can be changed while the guest is running. Since the <b
|
---|
101 | outputclass="bold">Settings</b> window is not available at that time, you can also access these settings from
|
---|
102 | the <b outputclass="bold">Devices</b> menu of your virtual machine window. </p>
|
---|
103 | </body>
|
---|
104 |
|
---|
105 | </topic>
|
---|