VirtualBox

Opened 15 years ago

Closed 15 years ago

#4651 closed defect (duplicate)

DISK emulation ignore the flush() request for performance

Reported by: Russel Owned by:
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 (3)

comment:1 by Michael Thayer, 15 years ago

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 by aeichner, 15 years ago

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 by Frank Mehnert, 15 years ago

Resolution: duplicate
Status: newclosed

No response, closing.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use