﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
17010	Don't work option --variant Fixed on 32bit Linux host => fixed in 5.1.28	cerig		"=HOST=[[BR]]

OS: Debian 9 i686 GNU/Linux[[BR]]
FS: ext4 or xfs[[BR]]
user: root[[BR]]

# VBoxManage createmedium disk --filename /mnt/data/test.vdi --size 1024 --format VDI --variant Fixed[[BR]]

0%...[[BR]]
Progress state: VBOX_E_FILE_ERROR[[BR]]
VBoxManage: error: Failed to create medium[[BR]]
VBoxManage: error: Could not create the medium storage unit '/mnt/data/test.vdi'.[[BR]]
VBoxManage: error: VDI: setting image size failed for '/mnt/data/test.vdi' (VERR_INVALID_PARAMETER)[[BR]]
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium[[BR]]
VBoxManage: error: Context: ""RTEXITCODE handleCreateMedium(HandlerArg*)"" at line 450 of file VBoxManageDisk.cpp[[BR]]

Used util fallocate from utils-linux - works! [[BR]]
# fallocate -l 1G /mnt/data/test.bin[[BR]]

on Debian 9 x86_64 GNU/Linux - WORKS fine!!! [[BR]]

P.S.:
      - also tried on Gentoo x32 - don't work[[BR]]
      - it looks like it belongs to the entire branch 5.1.x, when there[[BR]]
        fallocate support (RTFileSetAllocationSize)[[BR]]
"	defect	closed	virtual disk	VirtualBox 5.1.26	fixed	Fixed, Static, Variant		Linux	Linux
