StarCluster - Mailing List Archive

sshfs to access volumes

From: Robert Yu <no email>
Date: Thu, 7 Jun 2012 20:42:54 -0700

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>_at_<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
Received on Thu Jun 07 2012 - 23:43:26 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject