[StarCluster] access instance storage

sebastian rooks srooks10 at gmail.com
Mon Aug 8 09:30:37 EDT 2011


Hello Justin,

I would like to use the instance storage (2x 840G disks) that comes
with the cluster compute instance type. This is again for an Ubuntu
11.04 hvm AMI.

The scratch space is not mounted on /mnt:
  root at master:/mnt/sgeadmin# df -h
  Filesystem            Size  Used Avail Use% Mounted on
  /dev/sda1             7.9G  4.0G  3.5G  54% /
  none                   12G  144K   12G   1% /dev
  none                   12G     0   12G   0% /dev/shm
  none                   12G   60K   12G   1% /var/run
  none                   12G     0   12G   0% /var/lock
  /dev/xvdz1             20G  618M   19G   4% /home

The block devices are indeed not available on my AMI:

  ec2-describe-images ami-ab5197c2 -K ~/.starcluster/pk-....pem -C
~/.starcluster/cert-....pem
  IMAGE	ami-ab5197c2	11-04-hvm	available	private		x86_64	machine   ebs	hvm
  BLOCKDEVICEMAPPING	/dev/sda1		snap-8f055aee	8

Nor are they on Alestic's public one:

  ec2-describe-images ami-1cad5275 -K ~/.starcluster/pk-....pem -C
~/.starcluster/cert-....pem
  IMAGE	ami-1cad5275	099720109477/hvm/ubuntu-images/ubuntu-natty-11.04-amd64-server-20110426	099720109477	available	public		x86_64	machine
  ebs	hvm
  BLOCKDEVICEMAPPING	/dev/sda1		snap-b1ad2dde	8

Would it be possible to add the local instance storage during the AMI
creation with ebsimage ?
http://docs.amazonwebservices.com/AWSEC2/2011-01-01/UserGuide/index.html?Using_AddingDefaultLocalInstanceStorageToAMI.html

Regards,

  Sebastian



More information about the StarCluster mailing list