Opened 3 days ago
Last modified 3 days ago
#22405 new defect
vmdk's Actual_Size much over the virtual Size after running in one Raw disk has more than one partitions
Reported by: | z273457914 | Owned by: | |
---|---|---|---|
Component: | virtual disk | Version: | VirtualBox-7.1.8 |
Keywords: | vmdk Actual Size partitions | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description (last modified by )
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 .
(above table 's virtual size==actual disk size < Actual size ) and i have other vmdk created use command: ( and it only contain one partition in the vmdk):
VBoxManage.exe createmedium disk --filename "N:\vbvdisc\lix\sdg5.vmdk" --format=VMDK --variant RawDisk --property RawDrive=" .\PhysicalDrive3" --property Partitions=2
it seems 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