Opened 8 years ago
Closed 8 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:
- Install test builds: Windows 5.1.11 revision 112433
- CentOS release 6.8 installed on VirtualBox
- Turn on the virtual machine.
Test Description:
- Create not empty file in the virtual machine (file location does not matter)
- Cliсk X in the upper right corner
- In pop-up window select menu item "turn off the machine"
- Turn on the virtual machine.
Expected Results: Original files
Results Obtained: Empty new files
Attachments (2)
Change History (3)
by , 8 years ago
Attachment: | CentOS-6.7-x86_64-for-NMS_10G-2016-12-20-17-31-05.log added |
---|
by , 8 years ago
Attachment: | CentOS-6.7-x86_64-for-NMS_10G-2016-12-20-17-31-13.log added |
---|
comment:1 by , 8 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.