Beyond getting an allocation, in some cases users have additional steps to use their resources.
This section describes the process to change the amount of disk space available to your virtual machine. The process to increase disk space is slightly different from the process to decrease it. Perform the following steps to increase file system size:
Check your existing file system size:
[asmith@alicehost ~]#tycoon host get_account_status providinghost1 file_system_size
Enter a bid specifying your desired file system size. For example, Alice would do the following to get 2GB on providinghost1:
[asmith@alicehost ~]#tycoon host bid providinghost1 0 disk:1,2GB,2GB
Assuming your bid was accepted, shutdown your virtual machine so that its file system can be resized:
[asmith@alicehost ~]#tycoon host shutdown providinghost1
Resize the file system to the maximum possible given the current bid:
[asmith@alicehost ~]#tycoon host set providinghost1 file_system_size max
The maximum file system size will be somewhat less than the bid size because of file system overhead.
Boot up the virtual machine again.
[asmith@alicehost ~]#tycoon host boot providinghost1
Perform the following steps to decrease file system size:
Check your existing file system size:
[asmith@alicehost ~]#tycoon host get_account_status providinghost1 file_system_size
Shutdown your virtual machine so that its file system can be resized:
[asmith@alicehost ~]#tycoon host shutdown providinghost1
Resize the file system to the smaller size:
[asmith@alicehost ~]#tycoon host set providinghost1 file_system_size 1GB
Change your bid to correspond to the smaller size. This has to be slightly larger than the file system size. For example, Alice would do the following to get 1GB on providinghost1:
[asmith@alicehost ~]#tycoon host bid providinghost1 0 disk:1,1.01GB,1.01GB
Boot up the virtual machine again.
[asmith@alicehost ~]#tycoon host boot providinghost1