Page 1 of 1

bandwidthctl issues

Posted: 21. Mar 2012, 07:16
by murphyc
bandwidthctl is giving me a hard time.

Code: Select all

VBoxManage bandwidthctl "FreeNAS" --name Limit --limit 0
VBoxManage bandwidthctl "FreeNAS" --name Limit --limit 1
VBoxManage bandwidthctl "FreeNAS" --name Limit --limit 50
Neither of these makes a difference in performance, the targeted disk accepts data as fast as the underlying disk will accept it. Even if 0 MB/s won't simulate "failure" of the disk, even 1MB/s shouldn't cause the vdi itself to swell 100MB in 4 seconds, which it does.

Next, I try to delete the limit with:

Code: Select all

VBoxManage bandwidthctl "FreeNAS" --name Limit --delete
but I get:

Code: Select all

VBoxManage: error: The bandwidth group 'Limit' is still in use
VBoxManage: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component BandwidthControl, interface IBandwidthControl, callee nsISupports
Context: "DeleteBandwidthGroup(Bstr(pszName).raw())" at line 177 of file VBoxManageBandwidthControl.cpp
Even if I shutdown the VM I get this. Even if I quit Virtual Box I get this. Even if I reboot I get this. The group is still in use? If I to Limit2 as the name, it says it couldn't find a group with that name, so clearly it knows what group Limit is and thinks it applies to something. But won't delete it.

Has anyone else tried using bandwidthctl?

Re: bandwidthctl issues

Posted: 21. Mar 2012, 07:21
by murphyc
*sigh* If an admin can move this to Mac OS X Hosts, that would be great. Clearly user error.

Re: bandwidthctl issues

Posted: 5. Mar 2014, 14:52
by Nigey
VBoxManage modifyvm "Your VM" --nicbandwidthgroup1 none
VBoxManage modifyvm "Your VM" --nicbandwidthgroup2 none

then
VBoxManage bandwidthctl "Your VM" remove Limit

Did it for Me