This is an RSpec for getting extra storage space on an ExoGENI VM of type XOXLarge.
Note the line:
<storage:storage resource_type="LUN" do_format="true" fs_param="-F -b 1024" fs_type="ext4" mnt_point="/mnt" capacity="942"/>
Reduce the "942" to a smaller number if you don't need so much space.
Your slice will appear to have two resources: one called "master" and one called "master-stor". Log in to the one called "master" (when it is available).
ExoGENI VMs use /bin/sh
as the default shell; if you prefer Bash (as all normal people would), just run bash
when you log in to get a Bash shell.
To start off with, you'll have 75 GB of storage (since this is an XOXLarge). Additionally, this RSpec gives you another ~942 GB of storage mounted at /mnt
, which you can see in the following output:
ffund01@master:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda 75G 1.2G 74G 2% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 5.9G 4.0K 5.9G 1% /dev
tmpfs 1.2G 356K 1.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 5.9G 0 5.9G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda 927G 6.3M 880G 1% /mnt
References:
- Example: creating slivers of iSCSI Storage on the ExoBlog
- How to reserve ExoGENI resources with storage via either portal or omni? on geni-users mailing list.