VirtualBox

#21540 closed defect (invalid)

Unable to remove partition form a VDI disk

Reported by: gskoczylas Owned by:
Component: virtual disk Version: VirtualBox-7.0.6
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

I have VirtualBox installed on Windows 10. I have Windows 11 installed on a virtual computer in VirtualBox. I have two logical drives created on the virtual drive: C and E. There are no files or folders on the E: drive. I want to remove it and increase the size of the C drive.

DiskPart shows the following partitions:

DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> list partition
  Partition ### Type     Size     Offset
  ------------- ----     ----     -------
  Partition 1   System    100 MB  1024 KB
  Partition 2   Reserved   16 MB   101 MB
  Partition 3   Primary   119 GB   117 MB
  Partition 4   Recovery  626 MB   119 GB
  Partition 5   Primary   136 GB   119 GB

To increase the partition size of the C: drive (partition 3), I first need to delete partitions 4 and 5.

I executed commands:

DISKPART> select partition 5
DISKPART> delete partition override

At this point, VirtualBox displays the error:

An error has occurred during virtual machine execution! The error details are shown below. You may try to correct the error and resume the virtual machine execution.

The I/O cache encountered an error while updating data in medium "ahci-0-0" (rc=VERR_INVALID_PARAMETER). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Error ID:BLKCACHE_IOERR

Severity:Non-Fatal Error

Further work is not possible. VirtualBox displays such an error every few seconds:

An error has occurred during virtual machine execution! The error details are shown below. You may try to correct the error and resume the virtual machine execution.

The I/O cache encountered an error while updating data in medium "ahci-0-0" (rc=VERR_DISK_FULL). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Error ID:BLKCACHE_IOERR

Severity:Non-Fatal Error

Change History (3)

comment:1 by fth0, 14 months ago

This error message usually indicates that the host disk is full. Since you didn't mention the host disk at all: Did you check it?

comment:2 by gskoczylas, 14 months ago

Yes, I discovered it this morning. I took too many snapshots and didn't notice that the drive was almost full.

Please close this ticket.

comment:3 by paulson, 14 months ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use