VirtualBox

Opened 12 years ago

Closed 12 years ago

#11023 closed defect (fixed)

discard and nonrotational errors => fixed in svn

Reported by: James Lucas Owned by:
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 (1)

VBoxSVC.log (1.8 KB ) - added by James Lucas 12 years ago.

Download all attachments as: .zip

Change History (3)

by James Lucas, 12 years ago

Attachment: VBoxSVC.log added

comment:1 by aeichner, 12 years ago

Summary: discard and nonrotational errorsdiscard and nonrotational errors => fixed in svn

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

comment:2 by Frank Mehnert, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in 4.2.2.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use