Opened 8 years ago
Closed 8 years ago
#16512 closed defect (fixed)
VBoxManage.exe: error: Error: Attempt to resize the medium
Reported by: | Arnaud ALLAUZEN | Owned by: | |
---|---|---|---|
Component: | virtual disk | Version: | VirtualBox 5.1.14 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Windows |
Description
Dear Support team,
Am I using the wrong command to resize my vdi hard drive ?
Here is my vhd settings :
C:\Oracle\VirtualBox>VBoxManage.exe showhdinfo "E:\VirtualBox VMs\Win10x64-APP-V-SEQ_1607\Win10x64-APP-V-SEQ.vdi" UUID: 4d87fc51-2302-4162-bdd4-e97de1629094 Parent UUID: base State: created Type: normal (base) Location: E:\VirtualBox VMs\Win10x64-APP-V-SEQ_1607\Win10x64-APP-V-SEQ.vdi Storage format: VDI Format variant: dynamic default Capacity: 20480 MBytes Size on disk: 13560 MBytes Encryption: disabled In use by VMs: Win10x64-APP-V-SEQ_1607 (UUID: fb7fb8d4-0ddc-4ce2-8457-9a5462de2b1a)
And the error result with this cmd :
C:\Oracle\VirtualBox>VBoxManage.exe modifyhd "E:\VirtualBox VMs\Win10x64-APP-V-SEQ_1607\Win10x64-APP-V-SEQ.vdi" --resize 30000 VBoxManage.exe: error: Error: Attempt to resize the medium from 0.0 MB to 30000.0 MB. Use --resizebyte if this is intended!
Second comd test:
C:\Oracle\VirtualBox>VBoxManage.exe modifymedium "E:\VirtualBox VMs\Win10x64-APP-V-SEQ_1607\Win10x64-APP-V-SEQ.vdi" --resize 30000 VBoxManage.exe: error: Error: Attempt to resize the medium from 0.0 MB to 30000.0 MB. Use --resizebyte if this is intended!
Or
C:\Oracle\VirtualBox>VBoxManage.exe modifymedium disk "E:\VirtualBox VMs\Win10x64-APP-V-SEQ_1607\Win10x64-APP-V-SEQ.vdi" --resize 30000 VBoxManage.exe: error: Error: Attempt to resize the medium from 0.0 MB to 30000.0 MB. Use --resizebyte if this is intended!
My host is a windows 10 Enterprise x64 - Microsoft Windows [version 10.0.14393] Interface graphique de VirtualBox Version 5.1.14 r112924 (Qt5.6.2)
If you have any idea, thanks for your help best regards Arnaud A
Attachments (1)
Change History (4)
by , 8 years ago
Attachment: | snip_20170225154137.png added |
---|
follow-up: 2 comment:1 by , 8 years ago
comment:2 by , 8 years ago
Replying to socratis:
- Duplicate of #16311. Well sort of, the "resize the medium from 0.0 MB" was a regression after #16311 was fixed.
- It is fixed in the SVN in r65477 on 2017-27-01.
- According to the date of the fix, the latest test build should contain the fix.
- There is a workaround; use
--resizebytes
instead of--resize
.
Ok, thank you
Note:
See TracTickets
for help on using tickets.
--resizebytes
instead of--resize
.