Userspace secure filesystem

SSHFS for Shared Storage

Summary

Effective sharing of data between clients has all kinds of benefits. Instead of each client having its own copy of the data, you can operate with just one copy. In this way, you reduce capacity and data skew, improve data management, and really make life a lot easier. In addition to the several shared storage options, some options have been overlooked. FUSE can be a great option in many scenarios, including the desire for shared storage.

In this article I covered, albeit at a high level, SSHFS, which is an SSH-based filesystem. SSHFS is really simple to build, install, and use. Because it is in userspace, any user can use it to mount a remote filesystem with only SSH. Therefore, you only need to have one open port on the client: port 22. Moreover, because users can take advantage of the shared filesystem whenever it is needed or wanted, the admin does not need to intervene.

Combining SSHFS with encrypted filesystems at either end allows a fully encrypted storage solution. The encrypted filesystem at the source stores the data securely, SSHFS transfers the data by SSH protocols, and the target encrypted filesystem stores the data securely.

SSHFS is a very underestimated filesystem that more people should be using and that would be useful in a great many scenarios. On the basis of past tests, the performance can be quite good – comparable to NFS. The performance is good enough that I would seriously consider using it in HPC.

The Author

Jeff Layton has been in the HPC business for almost 25 years (starting when he was 4 years old). He can be found lounging around at a nearby Frys enjoying the coffee and waiting for sales.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • SSHFS for Shared Storage

    SSHFS is often overlooked as an HPC shared filesystem solution.

  • Sharing Data with SSHFS

    Sharing data saves space, reduces data skew, and improves data management. We look at the SSHFS shared filesystem, put it through some performance tests, and show you how to tune it.

  • Combining Directories on a Single Mountpoint

    With some simple tuning, SSHFS performance is comparable to NFS almost across the board. In an effort to get even more performance from SSHFS, we examine SSHFS-MUX, which allows you to combine directories from multiple servers into a single mountpoint.

  • Shared Storage with NFS and SSHFS
    HPC systems require shared filesystems to function effectively. Two really good choices for both small and large systems are NFS and SSHFS.
  • Shared Storage with NFS and SSHFS

    HPC systems require shared filesystems to function effectively. Two really good choices for both small and large systems are NFS and SSHFS.

comments powered by Disqus