Can you please advise if there is a way to NFS share a folder other than /home in an EC2 cluster? The issue I am running into is that the default 10GB EBS storage that Amazon provides on an m1.small instance is not enough for me to test IOR benchmark. I am running into ‘out of space’ issue beyond a 6-node cluster. I would like to the default instance storage of 160GB that is available in /mnt folder. There is a default /mnt/ec2-user folder on the master node of the cluster and would like to NFS share that location with all the compute nodes so I have enough space to complete the execution of the benchmark.
I do realize that using an instance storage has its risks and limitation as the data is lost when the cluster is stopped or destroyed. I have copied a snippet from your website that I thought I could replicate for sharing /mnt/ec2-user folder.
Verify /home is NFS Shared¶
The /home folder on all clusters launched by StarCluster should be NFS shared to each node. To check this, login to the master as root and run the mount command on each node to verify that /home is mounted from the master:
$ starcluster sshmaster mycluster
root_at_master:~# ssh node001 mount
/dev/sda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
/dev/sda2 on /mnt type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
master:/home on /home type nfs (rw,user=root,nosuid,nodev,user,addr=10.215.42.81)
The last line in the output above indicates that /home is mounted from the master node over NFS. Running this for the rest of the nodes (e.g. node002, node003, etc) should produce the same output.
Received on Mon Jun 04 2012 - 14:17:14 EDT