VirtualBox

Ticket #11023 (closed defect: fixed)

Opened 19 months ago

Last modified 18 months ago

discard and nonrotational errors => fixed in svn

Reported by: mjlucas Owned by:
Priority: major Component: other
Version: VirtualBox 4.2.0 Keywords:
Cc: Guest type: other
Host type: other

Description

Two errors I have found when setting the new storage options for SSD like properties (trim and non-rotational support).

1) When using --discard in a VBoxManage storeageattach it always results in discard="true" being set in the machines .vbox file, the flag on|off is ignored

VBoxManage storageattach "Staff Desktop" --storagectl "SATA Controller" --port 0 --device 0 --discard off
or even
VBoxManage storageattach "Staff Desktop" --storagectl "SATA Controller" --port 0 --device 0 --discard ignorewhateverIsay

results in discard being enabled.

2) VBoxManage storageattach --nonrotational flag is not parsed and returns an error

$  VBoxManage storageattach "Staff Desktop" --storagectl "SATA Controller" --port 0 --device 0 --nonrotational on
VBoxManage: error: Invalid --nonrotational argument 'on'
$  VBoxManage storageattach "Staff Desktop" --storagectl "SATA Controller" --port 0 --device 0 --nonrotational off
VBoxManage: error: Invalid --nonrotational argument 'off'

VBoxSVC.log errors are always the same even the successful enabling of discard shows the same errors.

Attachments

VBoxSVC.log Download (1.8 KB) - added by mjlucas 19 months ago.

Change History

Changed 19 months ago by mjlucas

comment:1 Changed 19 months ago by aeichner

  • Summary changed from discard and nonrotational errors to discard and nonrotational errors => fixed in svn

Thanks for the report, will be fixed in the next maintenance release.

comment:2 Changed 18 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 4.2.2.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use