Secure Offsite Backup

Mounting Your rsync.net Filesystem in Linux

 

It is possible to mount your rsync.net filesystem as a local filesystem on your Linux system using sshfs (part of the Filesystem in Userspace, or FUSE package).

FUSE and sshfs are available on Linux 2.4.x and 2.6.x. Further, 2.6.14 and above will have FUSE support included in the official kernel.

The official FUSE website is:

http://fuse.sourceforge.net/

They have a wiki here:

http://fuse.sourceforge.net/wiki/

And there is a page for sshfs here:

http://fuse.sourceforge.net/sshfs.html

There is a very good HOWTO for Gentoo Linux users here:

http://en.gentoo-wiki.com/wiki/Mounting_SFTP_and_FTP_shares

(don't let the name of the page fool you - it deals with using sshfs to mount a filesystem over ssh)

And a very good HOWTO for Ubuntu users here:

http://myy.helia.fi/~karte/mount_sshfs.html

Below, this document will describe obtaining and installing FUSE, and using sshfs to mount your rsync.net filesystem as a local mount point on your Linux system.

 

Installing FUSE and sshfs

 

Step 1: Obtain the FUSE source tarball

(if you are running kernel 2.6.14 or above, skip this, as FUSE is (likely) already part of your kernel)

You can download FUSE by following the "download" link on the main project page, which is:

http://fuse.sourceforge.net/

After unpacking the source tarball, simply:

> ./configure
> make
> make install

Step 2: Download and Install sshfs

You can download sshfs by following the "download" link on the main sshfs project page, which is:

http://fuse.sourceforge.net/sshfs.html

Again, after unpacking the source tarball, simply:

> ./configure
> make
> make install

Step 3: Mount your rsync.net filesystem locally

First, create a mount point:

# mkdir /mnt/rsync.net

Then issue the sshfs command:

# sshfs 1004@usw-s017.rsync.net: /mnt/rsync.net

You will then be asked for your rsync.net password. After entering your password, the command will complete with no messages or indication of success, however, issuing the mount command with no arguments:

# mount

Will show you that your filesystem is indeed mounted.

Later, you can unmount the filesystem with:

# fusermount -u /mnt/rsync.net