Version 1 (modified by, 6 years ago) (diff)


InstaGENI/ProtoGENI extra disk space

To get extra disk space on your PG/IG VMs you will need to do two steps:

  1. request it in your rspec
  2. mount it once your VM is booted

1. RSpec modification

You can specify memory, cores and disk space for your IG/PG VMs using the following rspec tag which is a child of sliver_type:

<emulab:xen cores="2" ram="2048" disk="5"/>

An example of a complete rspec:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rspec generated="2014-03-22T01:53:21.460+01:00" generated_by="Experimental jFed Rspec Editor" type="request" xsi:schemaLocation="" xmlns=""  xmlns:xsi=""
  <node client_id="node0" component_manager_id="" exclusive="true">
      <sliver_type name="emulab-xen">
        <emulab:xen cores="2" ram="2048" disk="5"/>

2. Mount the space

What you have to do is login to the VM after it is reserved and run these commands:

sudo bash 
/usr/testbed/bin/mkextrafs /mnt 

Then you should see a new device that will look like:
/dev/xvda4      7.9G  147M  7.4G   2% /mnt