VirtualBox

8 年 前 建立

8 年 前 結束

#15601 closed defect (fixed)

VBoxManage creates corrupted VHD with fixed size => fixed in SVN/5.1.x

回報者: schrotti12 負責人:
元件: virtual disk 版本: VirtualBox 5.1.0
關鍵字: vboxmanage createmedium disk fixed 副本:
Guest type: all Host type: Windows

描述

The following command is used to create a VHD Images for hosts:

VBoxManage createmedium disk --filename "%USERPROFILE%\MyVdisks\disk1.vhd" --size 8192 --format vhd --variant fixed

The VHD file is corrupted as shown in the following diskpart output:

C:\Windows\system32>diskpart
Microsoft DiskPart version 10.0.10586
Copyright (C) 1999-2013 Microsoft Corporation.
On computer: S10
DISKPART> select vdisk file="C:\<actual path to vdisk>\disk1.vhd"
DiskPart has encountered an error: The file or directory is corrupted and unreadable.
See the System Event Log for more information.
There is no virtual disk selected.

Also if it is included into VirtualBox via GUI there are errors:

Could not get the storage format of the medium 'C:\<path to vdisks>\disk1.vhd' (VERR_NOT_SUPPORTED).
Result Code:
VBOX_E_IPRT_ERROR (0x80BB0005)
Component:
MediumWrap
Interface:
IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
Callee:
IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}
Callee RC:
VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

If added via command line the VirtualBox Manager shows disk as dynamicaly resizeable instead of fixed size. Screenshots can be added if required.

更動歷史 (4)

comment:1 8 年 前Socratis 編輯

This is not a Windows only bug. For an initial discussion that led to creating this bug, please have a look at https://forums.virtualbox.org/viewtopic.php?f=6&t=78621

comment:2 8 年 前aeichner 編輯

摘要: VBoxManage creates corrupted VHD with fixed sizeVBoxManage creates corrupted VHD with fixed size => fixed in SVN/5.1.x

Thanks for the report, this issue will be fixed in the next maintenance release. Only 5.1.0 is affected.

comment:3 8 年 前Socratis 編輯

Confirmed fixed as of r108857.

comment:4 8 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

Fixed in 5.1.2.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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