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="ts_ide-sata-flush">
|
---|
4 | <title>Responding to Guest IDE/SATA Flush Requests</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>
|
---|
8 | If desired, the virtual disk images can be flushed when the
|
---|
9 | guest issues the IDE FLUSH CACHE command. Normally these
|
---|
10 | requests are ignored for improved performance. The parameters
|
---|
11 | below are only accepted for disk drives. They must not be set
|
---|
12 | for DVD drives.
|
---|
13 | </p>
|
---|
14 | <p>
|
---|
15 | To enable flushing for IDE disks, issue the following command:
|
---|
16 | </p>
|
---|
17 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> "VBoxInternal/Devices/piix3ide/0/LUN#[<varname>x</varname>]/Config/IgnoreFlush" 0</pre>
|
---|
18 | <p><codeph>[<varname>x</varname>]</codeph> specifies the
|
---|
19 | disk. Enter <codeph>0</codeph> for device 0 on the primary
|
---|
20 | channel, <codeph>1</codeph> for device 1 on the primary
|
---|
21 | channel, <codeph>2</codeph> for device 0 on the secondary
|
---|
22 | channel, or <codeph>3</codeph> for device 1 on the secondary
|
---|
23 | channel.
|
---|
24 | </p>
|
---|
25 | <p>
|
---|
26 | To enable flushing for SATA disks, issue the following command:
|
---|
27 | </p>
|
---|
28 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> "VBoxInternal/Devices/ahci/0/LUN#[x]/Config/IgnoreFlush" 0</pre>
|
---|
29 | <p>
|
---|
30 | The value [x] that selects the disk can be a value between 0 and
|
---|
31 | 29.
|
---|
32 | </p>
|
---|
33 | <p>
|
---|
34 | Note that this does not affect the flushes performed according
|
---|
35 | to the configuration described in
|
---|
36 | <xref href="ts_config-periodic-flush.dita#ts_config-periodic-flush"/>. Restoring the
|
---|
37 | default of ignoring flush commands is possible by setting the
|
---|
38 | value to 1 or by removing the key.
|
---|
39 | </p>
|
---|
40 | </body>
|
---|
41 |
|
---|
42 | </topic>
|
---|