VirtualBox

Ticket #4651 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years ago

DISK emulation ignore the flush() request for performance

Reported by: javaboyuk Owned by:
Priority: critical Component: documentation
Version: VirtualBox 3.0.2 Keywords:
Cc: Guest type: other
Host type: other

Description

The VB disk emulations ignore the flush() request to the drives both RAW and file based.

This needs to be documented in the virtual disk section. A work arround for IDE seems to be available but is not documented:

VBoxManage setextradata VMNAME "VBoxInternal/Devices/piix3ide/0/LUN#[x]/Config/IgnoreFlush" 0

I don't see away to allow do this for SATA etc. and the options for IDE were talked about in the referenced link below.

=============

This could lead to DATA LOSS (and filesystem loss) this is espically dangerous for Filesystems that are transcationally based eg ZFS. For the discusion on ZFS you might look at this  http://www.opensolaris.org/jive/thread.jspa?threadID=108213&tstart=0 and this for the IDE discusion:  http://forums.virtualbox.org/viewtopic.php?f=8&t=13661&start=0

(the IDE emulation also does this but, I believe, can have it disbaled with:VBoxManage setextradata VMNAME "VBoxInternal/Devices/piix3ide/0/LUN#[x]/Config/IgnoreFlush" 0 )

Change History

comment:1 Changed 5 years ago by michael

Do this, #4649 and #4650 really need to exist as separate tickets? If not, could you please add the important information from the other two onto this one, so that I can close them as duplicates? Thanks.

comment:2 Changed 5 years ago by aeichner

It is possible to enable this option for the SATA and supported SCSI controllers. Replace 'piix3ide' with 'ahci' to enable flushes for SATA. For the LsiLogic SCSI controller use 'lsilogicscsi' and for BusLogic 'buslogic'

comment:3 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to duplicate

No response, closing.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use