VirtualBox

Opened 8 hours ago

Last modified 46 minutes ago

#22403 new defect

vmdk's Actual_Size much over the virtual Size

Reported by: z273457914 Owned by:
Component: VMM/RAW Version: VirtualBox-7.1.8
Keywords: vmdk Actual Size Cc:
Guest type: Linux Host type: Windows

Description (last modified by z273457914)

I am use virtual Box 7.18 r168469 Qt(6.5.3) in windows11. and i create same vmdk for my disk's partition. i use this command:

VBoxManage.exe createmedium disk --filename "N:\vbvdisc\lix\g5.vmdk" --format=VMDK --variant RawDisk --property RawDrive="
.\PhysicalDrive1" --property Partitions=2,3,4,6,7,8,9

and then add the vmdk to a linux guest VM(edu Ubuntu 24.04.02) in virtual box. every time i start the vm ,after a while may be 30min. it report the vm error :

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


i see the virtual media manager,it show that:

Name Virtual Size Actual Size

g5.vmdk 465.77GB 3.18TB

anotherlikeg5.vmdk 2.73TB 10.92TB ---create like g5,has 3 partition .

and i have other vmdk create use :

VBoxManage.exe createmedium disk --filename "N:\vbvdisc\lix\sdg5.vmdk" --format=VMDK --variant RawDisk --property RawDrive="
.\PhysicalDrive3" --property Partitions=2

it has no promblem,it's virtual Size == Actual size==disk size.(only set one partition in it) and when i in guest linux system.i open gparted (to manage disk),the gparted software always report my disk's:

backup GPT table is corrupt,but the primary appears OK,so that will be used

Change History (2)

comment:1 by z273457914, 8 hours ago

Description: modified (diff)

I am use virtual Box 7.18 r168469 Qt(6.5.3) in windows11. and i create same vmdk for my disk's partition. i use this command:

VBoxManage.exe createmedium disk --filename "N:\vbvdisc\lix\g5.vmdk" --format=VMDK --variant RawDisk --property RawDrive=" .\PhysicalDrive1" --property Partitions=2,3,4,6,7,8,9

and then add the vmdk to a linux guest VM(edu Ubuntu 24.04.02) in virtual box. every time i start the vm ,after a while may be 30min. it report the vm error :

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

i see the virtual media manager,it show that:

Name Virtual Size Actual Size

g3.vmdk 465.77GB 3.18TB

anotherlikeg3.vmdk 2.73TB 10.92TB ---create like g3,has 3 partition .

and i have other vmdk create use :

VBoxManage.exe createmedium disk --filename "N:\vbvdisc\lix\sdg5.vmdk" --format=VMDK --variant RawDisk --property RawDrive=" .\PhysicalDrive3" --property Partitions=2

it has no promblem,it's virtual Size == Actual size==disk size.(only set one partition in it) and when i in guest linux system.i open gparted (to manage disk),the gparted software always report my disk's:

backup GPT table is corrupt,but the primary appears OK,so that will be used

comment:2 by z273457914, 8 hours ago

Description: modified (diff)

it seems to report to virtual disk component.

Last edited 46 minutes ago by z273457914 (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette