StarCluster - Mailing List Archive

Re: NFS share /mnt/ec2-user folder

From: Subbarao Kota <no email>
Date: Tue, 5 Jun 2012 13:51:59 -0400

Hi Adam, /mnt/ec2-user didn't seem to be NFS shared. Unlike in /home/ec2-user folder when I copy or transfer a file in the master node it is not being copied to the same location on the compute nodes. That led me to think /mnt/ec2-user is not nfs shared.

Thanks.

On Jun 5, 2012, at 1:38 PM, Adam <adamnkraut_at_gmail.com> wrote:

> 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¶
>
> 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:52:16 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject