SSHFS-MUX User Manual
Introduction
SSHFS-MUX is an extention of SSHFS (SSH
Filesystem), it is able to mount many remote hosts to a local mountpoint at
the same time over SSH channels.
Although the functionality of SSHFS-MUX can be also implementated by SSHFS and UnionFS
combination, SSHFS-MUX has advantages over them on:
- Convenience: Save your time to create/clean many mount points of sshfs
for each host
- Performance: Better I/O throughput, especially when FUSE
implementation of unionfs is used
- Flexibility: Append/Remove remote hosts to previous mount point
on the fly
Download
You can download current version here:
sshfs-mux-1.0.tar.gz
ChangeLog
Installation
Prerequisite
To use SSHFS-MUX, you should install following packages:
FUSE (Filesystem in Userspace),
Gnome Library.
In Debian System, simply type
$ apt-get install libfuse2 libfuse-dev fuse-utils libglib2.0-dev
will work.
Installing
Currently,
$ make
and copy the file sshfsm to the place you like.
Copy sshnodelay.so to /usr/lib (If you have installed
SSHFS, then you don not have to do so).
Usage
- Mount: Mount remote hosts to a local mountpoint
$ sshfsm user@host1:dir user@host2:dir
mountpoint // Specify hosts from command line
$ sshfsm mountpoint -o hosts_file=file //
Specify hosts from a hosts file (sample)
$ sshfsm user@host:dir mountpoint -o hosts_file=file // Or both
- Unmount: Unmount SSHFS-MUX at a local mountpoint
$ sshfsm -u mountpoint
$ fusermount -u mountpoint
- Add/Remove: Add/Remove additional hosts to an SSHFS-MUX mountpoint
$ sshfsm -a user@host1:dir user@host2:dir mountpoint
$ sshfsm -a mountpoint -ohosts_file=file
$ sshfsm -r user@host1:dir user@host2:dir mountpoint
$ sshfsm -r mountpoint -ohosts_file=file
- Other Basic Usages: See help or manual for more information
$ sshfsm -h
- Using with GXP cluster shell:
Build ad-hoc global filesystems in the Grid environments [Manual Page]
[64/64/64] $ gmnt /dir/to/share
/dir/to/mount
FAQ
Please refer to following faqs: SSHFS-MUX FAQ,
SSHFS FAQ,
FUSE FAQ.
Evaluation
(To be continued).
Bug Reports and Requests
Please send bug reports and requests to
dunnan_AT_yl.is.s.u-tokyo.ac.jp.
Copyright (c) 2008 Dun Nan. All Rights Reserved.
Last Updated: February 28th, 2008