Chapter 5. Using Resources

Beyond getting an allocation, in some cases users have additional steps to use their resources.

5.1. Managing Disk

Perform the following steps to change your file system size:

  1. Check your existing file system size:

    [asmith@alicehost ~]# tycoon host get_account_status providinghost1 file_system_size
    

  2. 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
    

  3. Assuming that your bid was accepted, shutdown your virtual machine so that its file system can be resized:

    [asmith@alicehost ~]# tycoon host shutdown providinghost1
    

  4. 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.

  5. Boot up the virtual machine again.

    [asmith@alicehost ~]# tycoon host boot providinghost1