VirtualBox

7 年 前 建立

7 年 前 結束

#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 年 前aeichner 編輯

摘要: Don't work option --variant Fixed on 32bit Linux hostDon't work option --variant Fixed on 32bit Linux host => fixed in SVN/next maintenance

Thanks for the report, should be fixed in the next maintenance release. Please try the latest 5.1.x build from here.

comment:2 7 年 前cerig 編輯

Tried 5.1.27-117538 and 5.2.0 BETA2... FIXED!
Thanks a lot! :)

P.S.: It seems, these tickets #16563 #16464 can be closed :)

最後由 cerig 編輯於 7 年 前 (上一筆) (差異)

comment:3 7 年 前Frank Mehnert 編輯

Thank you for the feedback and for pointing to relevant other tickets!

comment:4 7 年 前duanewhitty 編輯

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

comment:5 7 年 前Michael Thayer 編輯

摘要: Don't work option --variant Fixed on 32bit Linux host => fixed in SVN/next maintenanceDon't work option --variant Fixed on 32bit Linux host => fixed in 5.1.28
狀態: newclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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