Re: NFS share /mnt/ec2-user folder
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
>
>
Received on Tue Jun 05 2012 - 13:38:24 EDT
This archive was generated by
hypermail 2.3.0.