VirtualBox

Opened 7 years ago

Closed 7 years ago

#16308 closed defect (invalid)

New files become empty after turning off of virtual machine

Reported by: BORISKINA OLGA Owned by:
Component: other Version: VirtualBox 5.1.10
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

Preconditions:

  1. Install test builds: Windows 5.1.11 revision 112433
  2. CentOS release 6.8 installed on VirtualBox
  3. Turn on the virtual machine.

Test Description:

  1. Create not empty file in the virtual machine (file location does not matter)
  2. Cliсk X in the upper right corner
  3. In pop-up window select menu item "turn off the machine"
  4. Turn on the virtual machine.

Expected Results: Original files

Results Obtained: Empty new files

Attachments (2)

CentOS-6.7-x86_64-for-NMS_10G-2016-12-20-17-31-05.log (111.2 KB ) - added by BORISKINA OLGA 7 years ago.
CentOS-6.7-x86_64-for-NMS_10G-2016-12-20-17-31-13.log (373.6 KB ) - added by BORISKINA OLGA 7 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Frank Mehnert, 7 years ago

Resolution: invalid
Status: newclosed

Sorry. What you describe is not a bug. When you turn off the virtual machine this is the same as if you would power-off a real machine. As modern operating systems have a write cache, file changes are not immediately written to the hard disk. If you turn off the VM / the computer before the data is written (this usually takes a few seconds but in certain cases this can take a long time) the changes are lost. You have to properly shut down your guest or just send the "ACPI shutdown" event to the guest. If the guest is properly configured it will shutdown itself.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use