[StarCluster] sshfs to access volumes

Robert Yu robert.yu at aditazz.com
Thu Jun 7 23:42:54 EDT 2012


Hello,

I thought I'd pass along this method to access a volume you have attached
to the master node (and shared with all slave nodes) from any machine.  To
me this was easier than having the master node do the setup and collecting
of results.  I prefer to keep the master as a pure submit host.

I am using ubuntu 10.04.

1.  Iinstall sshfs

     % sudo apt-get install sshfs
     % modprobe fuse

2. Run sshfs:

   % mkdir <mount_point>
   % sshfs -o ssh_command="ssh -i /full/path/to/your/private/RSA/key"
<user>@<aws IP addresss>:/<volume> <mount_point>

    Example:
    % mkdir ./results
    % sshfs -o ssh_command="ssh i $PWD/id_rsa.key"
sgeadmin at ec2-01-23-45-678.us-west-1.compute.amazonaws.com:/results ./results

To unmount, do:
    % fusermont -u <mount_point>

-- 
Robert Yu, Member Technical Staff
www.aditazz.com | robert.yu at aditazz.com
1111 Bayhill Drive Suite 260 | San Bruno | CA 94066
510.459.0216 | cell
650.627.7357 | 650.492.7000 x1008 | work
650.684.1149 | fax
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20120607/3554f845/attachment.htm


More information about the StarCluster mailing list