[StarCluster] NFS share /mnt/ec2-user folder
Adam
adamnkraut at gmail.com
Tue Jun 5 13:38:03 EDT 2012
I thought /mnt/<user> directories are always nfs shared. If you need to do
a 'manual' share copy an existing line in /etc/exports to add your path
then mount it on the nodes or edit /etc/fstab. You should use EBS volumes
for persistent data. The workflow is easier and you can create snapshots.
On Mon, Jun 4, 2012 at 2:00 PM, Subbarao Kota <subbarao.kota at gmail.com>wrote:
> Hello Justin,
> 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.****
>
> http://web.mit.edu/star/cluster/docs/latest/manual/getting_started.html***
> *
>
> Verify /home is NFS Shared¶<http://web.mit.edu/star/cluster/docs/latest/manual/getting_started.html#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.****
>
> ** **
>
> Thanks,
>
> Subbarao Kota.
>
> ** **
>
> _______________________________________________
> StarCluster mailing list
> StarCluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20120605/4d368be4/attachment.htm
More information about the StarCluster
mailing list