VirtualBox

Ticket #7294 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

compacting virtual disk corrupts disk => fixed in SVN

Reported by: hqstevenson Owned by:
Priority: major Component: virtual disk
Version: VirtualBox 3.2.8 Keywords:
Cc: Guest type: other
Host type: other

Description

HOST: Windows 7 64-bit GUEST: CentOS 5.5 64-bit

Steps I used to reproduce:

  • Install CentOS in VM
  • Allow CentOS to download updates
  • Install zerofree in VM
  • reboot to runlevel 1
  • ran the following commands mount -n -o remount,ro -t ext3 /dev/mapper/VolGroup00-LogVol00 / zerofree /dev/mapper/VolGroup00-LogVol00 mount -n -o remount -t ext3 /dev/mapper/VolGroup00-LogVol00 / reboot
  • After successful reboot, showdown the VM and run VBoxManage modifyhd --compact <virtualdisk.vdi>
  • Now when I try and boot the VM the first time, the screen resizes for the X login, but it stays black and nothing is ever displayed. After resetting the virtual machine, I get a "Kernel panic - not syncing: Attempted to kill init!"

One other note - this process works just fine with the IDE virtual controller/disks. I've tested with IDE, SATA and SAS virtual disks, and the error occurs with both the SATA and SAS disk types.

I'll attach all the vbox.log files for the test run with a SAS virtual disk.

Attachments

VBox.log Download (43.8 KB) - added by hqstevenson 4 years ago.
Most current log
VBox.log.1 Download (46.6 KB) - added by hqstevenson 4 years ago.
Older Log
VBox.log.2 Download (74.3 KB) - added by hqstevenson 4 years ago.
Even Older Log
VBox.log.2.2 Download (74.3 KB) - added by hqstevenson 4 years ago.
Even Older Log
VBox.log.3 Download (85.0 KB) - added by hqstevenson 4 years ago.
Oldest Log

Change History

Changed 4 years ago by hqstevenson

Most current log

Changed 4 years ago by hqstevenson

Older Log

Changed 4 years ago by hqstevenson

Even Older Log

Changed 4 years ago by hqstevenson

Even Older Log

Changed 4 years ago by hqstevenson

Oldest Log

comment:1 Changed 4 years ago by hqstevenson

VBox.log.2 and VBox.log.2.2 are dups - I upload the file twice by mistake, and I couldn't figure out how to delete it.

comment:2 Changed 4 years ago by hqstevenson

Also - I first encountered this problem in 3.2.6, and it is still there in 3.2.8

comment:3 Changed 4 years ago by aeichner

We probably found the issue. Will be fixed in the next maintenance release. Thanks for the report!

comment:4 Changed 4 years ago by aeichner

As a workaround try to enable the host I/O cache for the controller or attach the image to the IDE controller.

comment:5 Changed 4 years ago by aeichner

  • Component changed from other to virtual disk
  • Summary changed from compacting virtual disk corrupts disk to compacting virtual disk corrupts disk => fixed in SVN

comment:6 Changed 4 years ago by klaus

BTW, if you try the workaround you'll see that the disk actually isn't corrupted at all.

comment:7 Changed 4 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use