#17010 closed defect (fixed)
Don't work option --variant Fixed on 32bit Linux host => fixed in 5.1.28
回報者: | cerig | 負責人: | |
---|---|---|---|
元件: | virtual disk | 版本: | VirtualBox 5.1.26 |
關鍵字: | Fixed, Static, Variant | 副本: | |
Guest type: | Linux | Host type: | Linux |
描述
=HOST=
OS: Debian 9 i686 GNU/Linux
FS: ext4 or xfs
user: root
# VBoxManage createmedium disk --filename /mnt/data/test.vdi --size 1024 --format VDI --variant Fixed
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to create medium
VBoxManage: error: Could not create the medium storage unit '/mnt/data/test.vdi'.
VBoxManage: error: VDI: setting image size failed for '/mnt/data/test.vdi' (VERR_INVALID_PARAMETER)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg*)" at line 450 of file VBoxManageDisk.cpp
Used util fallocate from utils-linux - works!
# fallocate -l 1G /mnt/data/test.bin
on Debian 9 x86_64 GNU/Linux - WORKS fine!!!
P.S.:
- also tried on Gentoo x32 - don't work
- it looks like it belongs to the entire branch 5.1.x, when there
fallocate support (RTFileSetAllocationSize)
更動歷史 (5)
comment:1 7 年 前 由 編輯
摘要: | Don't work option --variant Fixed on 32bit Linux host → Don't work option --variant Fixed on 32bit Linux host => fixed in SVN/next maintenance |
---|
comment:2 7 年 前 由 編輯
comment:4 7 年 前 由 編輯
I just installed test release VirtualBox-5.1.27-117558-Linux_x86 and can confirm that after installation I was able to create a 10 GB fixed hard disk.
Operating System: $ lsb_release -a
Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty
$ uname -a Linux alice 4.4.0-91-generic #114~14.04.1-Ubuntu SMP Wed Aug 9 08:48:24 UTC 2017 i686 i686 i686 GNU/Linux
Thanks for the report, should be fixed in the next maintenance release. Please try the latest 5.1.x build from here.