Changes between Initial Version and Version 1 of HowTo/IGGetExtraDIskSpace


Ignore:
Timestamp:
11/10/15 14:58:48 (5 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/IGGetExtraDIskSpace

    v1 v1  
     1[[PageOutline]]
     2
     3= InstaGENI/ProtoGENI extra disk space =
     4To get extra disk space on your PG/IG VMs you will need to do two steps:
     5  1. request it in your rspec
     6  1. mount it once your VM is booted
     7
     8== 1. RSpec modification ==
     9You can specify memory, cores and disk space for your IG/PG VMs using the following rspec tag which is a child of sliver_type:
     10{{{
     11<emulab:xen cores="2" ram="2048" disk="5"/>
     12}}}
     13
     14An example of a complete rspec:
     15{{{
     16<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     17<rspec generated="2014-03-22T01:53:21.460+01:00" generated_by="Experimental jFed Rspec Editor" type="request" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd" xmlns="http://www.geni.net/resources/rspec/3"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     18 xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1">
     19  <node client_id="node0" component_manager_id="urn:publicid:IDN+wall2.ilabt.iminds.be+authority+cm" exclusive="true">
     20      <sliver_type name="emulab-xen">
     21        <emulab:xen cores="2" ram="2048" disk="5"/>
     22    </sliver_type>
     23  </node>
     24</rspec>
     25}}}
     26
     27== 2. Mount the space ==
     28
     29What you have to do is login to the VM after it is reserved and run these
     30commands:
     31{{{
     32
     33sudo bash
     34/usr/testbed/bin/mkextrafs /mnt
     35exit 
     36
     37Then you should see a new device that will look like:
     38/dev/xvda4      7.9G  147M  7.4G   2% /mnt
     39}}}