VirtualBox

Opened 15 years ago

Last modified 15 years ago

#4649 closed defect

SATA emulation seems to ignore the flush() request — at Version 1

Reported by: Russel Owned by:
Component: virtual disk Version: VirtualBox 3.0.2
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by Frank Mehnert)

The SATA emulation seems to ignore the flush() request to the drives both RAW and file based.

This leads to DATA LOSS (and filesystem loss) this is espically dangerous for Filesystems that are transcationally based eg ZFS. This can lead to loss of the whole filesystems. It could also be the cause of a number of issues with journalled filesystems (NTFS ext3 etc).

When the guest calls the flush() call the emulation should call the hosts underlying flush() for the virtual or RAW disk.

For the discusion on ZFS you might look at this thread and this thread for the IDE discusion.

(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 (1)

comment:1 by Frank Mehnert, 15 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use