Mount twice sshfs dir


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Mount twice sshfs dir
# 1  
Old 09-21-2010
Mount twice sshfs dir

Hi everyone.

I have 3 machines, let's call them store, node1 and node2.
I have to mount on node1 and node2 the same directory of store.
So, I launch the sshfs command on node1 and everything works fine.
But when I try to do that on node2, it hangs for a while and then I obtain:
Code:
user@node2:~/ingestionAV2$ echo "password" | sshfs user@store:/mnt/storage/sharedDir ./localDir -o password_stdin -o idmap=user -o uid=1000 -o gid=1000 
Timeout waiting for prompt

Do you know if it's possible to mount twice the same directory with sshfs, on two different machines?

Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Can I mount partition at given dir path

Hi, In Linux, I had modified fstab file which used to mount ~/Music, ~/Pictures, etc with disk partitions containing corresponding content or binding directory located at other partition. But I am wondering can I do same in El-Capitan as well? No linking! /media/L-Store/Desktop/Documents ... (0 Replies)
Discussion started by: ezee
0 Replies

2. Shell Programming and Scripting

Sshfs script

Hi, I am new to this forum. I want to setup my personal Dropbox between my home server and the work station in the office. I followed this tutorial danbishop.org/2011/09/10/...-in-os-x-lion/and it works great. :) The trouble now is I am not sure how I can make it to start on boot. ... (3 Replies)
Discussion started by: macpc
3 Replies

3. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

4. Shell Programming and Scripting

ssh, truecrypt, sshfs in a script

Hello all, First time posting, although the site has helped solve many problems in the past! I would like to create a script to simplify a series of commands that I run: Log into the ssh-server (RSA key) ssh username@hostname -p 6110 Once there, I mount a truecrypt volume: truecrypt... (3 Replies)
Discussion started by: freshtoast
3 Replies

5. Solaris

Alternative to sshfs?

I have an automated testing script that relies on the dev box being able to see production's (NFS) share. It uses rsync and ssh to handle transfers and command execution; however, it also needs the production share mounted in order to run Perl code against it when Unix commands via ssh will not do.... (2 Replies)
Discussion started by: effigy
2 Replies

6. UNIX for Dummies Questions & Answers

sshfs twice on the same dir

Hi everyone. I have 3 machines, let's call them store, node1 and node2. I have to mount on node1 and node2 the same directory of store. So, I launch the sshfs command on node1 and everything works fine. But when I try to do that on node2, it hangs for a while and then I... (0 Replies)
Discussion started by: canduc17
0 Replies

7. Solaris

home dir mount issue

Hi all, I have to mount my home directory in one box, by default everyone's home directory will mount in all unix boxes which we have. But we have unmounted these home directories from some boxes to keep the data as safe. So for automation purpose i need my home directory only in those boxes to... (2 Replies)
Discussion started by: raghu.iv85
2 Replies

8. AIX

Not able to mount user home dir from with automount

Hello there Have anyone configured an AIX 5L machine as NIS client? with homedirectories automounted form an NFS share? The NIS server is running Solaris. I am able to configure the AIX machine as client and user is able to login but I have configured the client to use the automountd... (0 Replies)
Discussion started by: balaji_prk
0 Replies

9. Solaris

Solaris 8 and sshfs

Hi, all.. Does Solaris 8 support sshfs? (Sorry if my question is too simple :o) We are going to mount a file system from Solaris 8 on HP-UX 11i. Will things will go smoothly with this? Will there be any performance problem if the number of users grow to perform I/O operations on mounted fs? ... (4 Replies)
Discussion started by: swmk
4 Replies

10. Shell Programming and Scripting

a script to clone a dir tree, & overwrite the dir struct elsewhere?

hi all, i'm looking for a bash or tcsh script that will clone an empty dir tree 'over' another tree ... specifically, i'd like to: (1) specify a src directory (2) list the directory tree/hiearchy beneath that src dir, w/o files -- just the dirs (3) clone that same, empty dir hierarchy to... (2 Replies)
Discussion started by: OpenMacNews
2 Replies
Login or Register to Ask a Question
cmsync(1m)																cmsync(1m)

NAME
cmsync - Synchronize files or directories on multiple Serviceguard nodes. SYNOPSIS
cmsync [-rv] [[-n node_name]...] [src_node:]src_file [...] DESCRIPTION
cmsync copies files and/or directories to multiple Serviceguard nodes. cmsync is limited in several ways. cmsync is best suited for situations where other remote copy facilities are not available. For a more full featured tool for copying files between Serviceguard nodes, see ccp(1m) provided by Distributed Systems Administration Utilities. To use this command, the local user must have the root access role on each of the involved nodes. For more information on Serviceguard access control policies, see the manual, Managing Serviceguard. To use the cmsync command without specifying -n options, the local node must be configured into a Serviceguard cluster. If no -n options are specified, the files will be copied to all available nodes in the cluster. Paths may be relative to the current working directory or specified absolutely. Copies between two remote hosts are permitted. If a file or directory already exists on a destination node, the destination node's copy will be overwritten with no prompting. The cmsync command is not suited for large files or large numbers of files and may result in a heavy load on the command and Serviceguard daemons. Other tools such as ccp should be considered for these purposes. Options And Arguments -r Recursively copy entire directories. -v Verbose output will be displayed. -n node_name Serviceguard node to copy file to. If no -n options are specified, default is to copy to all nodes within the configured clus- ter. src_node Serviceguard node to retrieve the file from. Defaults to the local node. src_file Path to source file on src_node. RETURN VALUE
cmsync returns the following values: 0 Successful completion. 1 Command failed. EXAMPLES
Copy the local file /etc/hosts to remote nodes node1 and node2 cmsync -n node1 -n node2 /etc/hosts Distribute the remote file /etc/passwd to all nodes in the cluster. cmsync node1:/etc/passwd AUTHOR
cmsync was developed by HP. SEE ALSO
ccp(1m), cmcp(1m), cmexec(1m), cmdo(1m), cmquerycl(1m), cmviewcl(1m) Requires Optional Serviceguard Software cmsync(1m)