Failed to resize medium for dynamic vdi

This is for discussing general topics about how to use VirtualBox.
Post Reply
AndrewA
Posts: 18
Joined: 5. May 2021, 00:56

Failed to resize medium for dynamic vdi

Post by AndrewA »

Code: Select all

$ VBoxManage showmediuminfo yy.hdd
UUID:           xxx
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       xx.hdd
Storage format: Parallels
Format variant: dynamic default
Capacity:       65536 MBytes
Size on disk:   64818 MBytes
Encryption:     disabled
In use by VMs:  xxx (UUID: xxx)

$ VBoxManage modifymedium --resize 750000 yy.hdd
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Failed to resize medium
VBoxManage: error: Resizing to new size 786432000000 is not yet supported for medium 'yy.hdd'
VBoxManage: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleModifyMedium(HandlerArg *)" at line 816 of file VBoxManageDisk.cpp
Why would the resize fail given that the "Format variant" is "dynamic default", which should be resizable?
The disk is partitioned for use by an ubuntu guest (has ext3, swap, etc. partitions)
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Failed to resize medium for dynamic vdi

Post by Martin »

It fails because resizing is not supported for a "Storage format: Parallels" .hdd ;)
You need to convert it to .vdi first.
Post Reply