Page 1 of 1

Can't start VM beacuse .vdi disk is 0 bytes

Posted: 19. Sep 2017, 16:16
by acapobianchi
Hello,
after properly shutting down a Guest VM running Windows Server 2008 as O.S., I've found that one of its .vdi disks has size equal to 0 bytes and VirtualBox cannot start the VM again. Below I attach the associated "VBox.log.3". I've found that in my Host there are other two disks with size equal to 0 bytes. Failing .vdi virtual disks were stored in a NTFS partition of the physical disk and Host's O.S. is Ubuntu 14.04.
What could have happened? Is it due to a failure in the Host physical disk?
Thank you,
Alfredo

Code: Select all

VirtualBox VM 4.3.36_Ubuntu r105129 linux.amd64 (Jan 27 2016 12:09:06) release log
00:00:00.510473 Log opened 2017-09-15T18:04:19.117056000Z
00:00:00.510474 Build Type: release
00:00:00.510477 OS Product: Linux
00:00:00.510479 OS Release: 4.4.0-93-generic
00:00:00.510480 OS Version: #116~14.04.1-Ubuntu SMP Mon Aug 14 16:07:05 UTC 2017
00:00:00.510498 DMI Product Name: Latitude E5570
00:00:00.510505 DMI Product Version: 
00:00:00.510557 Host RAM: 7656MB total, 6722MB available
00:00:00.510560 Executable: /usr/lib/virtualbox/VirtualBox
00:00:00.510561 Process ID: 4383
00:00:00.510562 Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.518570 Installed Extension Packs:
00:00:00.518648   VNC (Version: 4.3.36 r105129; VRDE Module: VBoxVNC)
00:00:00.523591 UIMediumEnumerator: Medium-enumeration finished!
00:00:00.523780 Using XKB for keycode to scan code conversion
00:00:00.541964 Power up failed (vrc=VINF_SUCCESS, rc=NS_ERROR_FAILURE (0X80004005))
00:00:00.877146 UIMachineView::storeGuestSizeHint: Storing guest size-hint for screen 0 as 640x480

Re: Can't start VM beacuse .vdi disk is 0 bytes

Posted: 19. Sep 2017, 16:39
by Perryg
Is there a log from when the guest actually worked? Also if this is not really easy to diagnose you will need to ask Ubuntu since this is their fork.

Look at the logs of the guest and if one has real data post that here as an attachment. Compress it if it is too large to post otherwise.

Re: Can't start VM beacuse .vdi disk is 0 bytes

Posted: 19. Sep 2017, 16:52
by mpack
Is the 0 bytes genuine or just a reporting glitch due to the file being open for writing?

How reliable is the NTFS driver on Linux? ISTR it used to treat the partition as read only if NTFS was used.

Re: Can't start VM beacuse .vdi disk is 0 bytes

Posted: 19. Sep 2017, 17:35
by Perryg
Not all that sure that NTFS ever had an issue in Linux with the exception of it being slower than native formats. One exception might be RAW but I have not tried that in years since there really is no need, at least in my case.