Overview
There are two ways to work with cluster files from your own computer as if they were local. CIFS (Common Internet File System) mounts storage as a network drive, which today means an RPX project space. SSHFS mounts any SeaWulf folder you can reach over SSH.
General project space (/gpfs/projects)
RPX project space
Does your group need a shared folder that works as a network drive on Windows, Mac or Linux? Ask for an RPX Project Space with a support ticket.
SSHFS: mount your cluster folders on your computer
SSHFS shows a SeaWulf folder on your own computer, like a local folder. It works for your home, scratch or project folder. You can then open and edit the files with your usual apps. It works anywhere you can log in with SSH, and it doesn't depend on the CIFS service.
macOS and Linux
- Install SSHFS. On Linux, use your package manager:
sudo apt install sshfs # Debian or Ubuntu sudo dnf install fuse-sshfs # RHEL, Rocky, Alma or Fedora
On a Mac, install macFUSE and SSHFS. Both are at macfuse.github.io. - Make an empty folder to mount into:
mkdir ~/seawulf
- Mount your home directory. To mount scratch or a project instead, put
/gpfs/scratch/<netid>or/gpfs/projects/<group>after the colon.sshfs -o reconnect,auto_cache <netid>@milan.seawulf.stonybrook.edu:/gpfs/home/<netid> ~/seawulf
Enter your NetID password and approve the Duo prompt. Your files now show up in~/seawulf. - Unmount when you're done:
fusermount -u ~/seawulf # Linux umount ~/seawulf # macOS
If you see "Transport endpoint is not connected", unmount the folder and mount it again.
Windows
- Install WinFsp.
- Install SSHFS-Win. Open PowerShell and run:
winget install SSHFS-Win.SSHFS-Win
- Install SSHFS-Win Manager and open it.
- Click Add Connection. Enter
milan.seawulf.stonybrook.eduas the host, your NetID as the username, and a free drive letter. Leave Remote Path blank for your home directory, or enter/gpfs/scratch/<netid>or/gpfs/projects/<group>. Choose Password for authentication. - Click Connect and approve the Duo prompt. The folder appears as a drive in File Explorer. To unmount, select the connection and click Disconnect.
When to use what
- RPX and SSHFS are best for small edits and moving a few files.
- For large data, use
scp,rsync(see CLI transfer) or Globus. They are much faster.