File: ts_ide-sata-flush.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (38 lines) | stat: -rw-r--r-- 1,829 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="ts_ide-sata-flush">
  <title>Responding to Guest IDE/SATA Flush Requests</title>
  
  <body>
    <p> If required, the virtual disk images can be flushed when the guest issues the IDE FLUSH
      CACHE command. Normally these requests are ignored for improved performance. The parameters
      below are only accepted for disk drives. They must not be set for DVD drives. </p>
    <p>
        To enable flushing for IDE disks, issue the following command:
      </p>
    <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> "VBoxInternal/Devices/piix3ide/0/LUN#[<varname>x</varname>]/Config/IgnoreFlush" 0</pre>
    <p><codeph>[<varname>x</varname>]</codeph> specifies the
        disk. Enter <codeph>0</codeph> for device 0 on the primary
        channel, <codeph>1</codeph> for device 1 on the primary
        channel, <codeph>2</codeph> for device 0 on the secondary
        channel, or <codeph>3</codeph> for device 1 on the secondary
        channel.
      </p>
    <p>
        To enable flushing for SATA disks, issue the following command:
      </p>
    <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> "VBoxInternal/Devices/ahci/0/LUN#[x]/Config/IgnoreFlush" 0</pre>
    <p>
        The value [x] that selects the disk can be a value between 0 and
        29.
      </p>
    <p>
        Note that this does not affect the flushes performed according
        to the configuration described in
        <xref href="ts_config-periodic-flush.dita#ts_config-periodic-flush"/>. Restoring the
        default of ignoring flush commands is possible by setting the
        value to 1 or by removing the key.
      </p>
  </body>
  
</topic>