Mounting SMB and NFS#
A CrushMFT server can be a network drive. Over SMB it looks like a Windows file server; over NFS, like a Unix one. This page is for the people who connect. The administrator must have made a listener for the protocol and allowed it for your account: see The SMB server and The NFS server.
What you see in the drive are your own folders on the server, with your usual rights.
SMB#
What to ask the administrator#
| You need | Example |
|---|---|
| the host name | files.example.com |
| the share name | CrushMFT, unless the administrator named it otherwise |
| your user name and password | the same as in the web interface |
Windows#
In the Explorer's address bar:
\\files.example.com\CrushMFT
or Map network drive, with that path as the folder and "Connect using different credentials". On the command line:
net use Z: \\files.example.com\CrushMFT /user:alex
Windows always connects to port 445 and cannot be told another.
macOS#
In the Finder, Go › Connect to Server… (⌘K):
smb://files.example.com/CrushMFT
Linux#
sudo mount -t cifs //files.example.com/CrushMFT /mnt/files -o username=alex,vers=3.1.1,seal
seal asks for encryption, which a new server demands. Another port is given with port=.
What the server expects#
A new SMB listener accepts only SMB 3.0 or newer, with signing and encryption. Windows 8 and Server 2012 or newer, current macOS and Linux do this by themselves. Old devices, such as a scanner that "scans to folder" with SMB 1 or 2, are refused unless the administrator sets up a listener for them.
When it does not work#
| What you see | Usually |
|---|---|
| "The network path was not found", or a time-out | port 445 is closed between you and the server. Most internet providers block it: across the internet use WebDAV, or SMB over QUIC if the administrator offers it. |
| the password is asked for again and again | name or password; SMB not allowed for your account; on Windows, an old saved login for this server: remove it in the Credential Manager |
| "Access is denied" in a folder | your rights there |
| it works from one computer and not from another | an old system that cannot encrypt |
NFS#
The NFS server speaks NFS version 4.1 and lets in only users who prove who they are with Kerberos. Your computer must be part of the organization's Kerberos realm, and you need a ticket.
What to ask the administrator#
| You need | Example |
|---|---|
| the host name, exactly as in the server's Kerberos entry | files.example.com |
| the security level | krb5p on a new server |
| the port, if it is not 2049 |
Linux#
sudo mount -t nfs4 -o vers=4.1,sec=krb5p files.example.com:/ /mnt/files
The mount itself is made by the machine. What a person sees in it depends on their own ticket:
kinit alex@EXAMPLE.COM
ls /mnt/files
Without a ticket you see an empty folder or "Permission denied". With it you see your folders.
macOS#
sudo mount -t nfs -o vers=4.1,sec=krb5p files.example.com:/ /Volumes/files
When it does not work#
| What you see | Usually |
|---|---|
| "access denied by server while mounting" | a weaker sec= than the server accepts; or the host name is not the one in the server's Kerberos entry |
| the mount works, your folders are missing | no ticket: kinit. Or NFS is not allowed for your account. |
| "Stale file handle", hangs | the server was restarted, or the network dropped: unmount and mount again |
| files show the owner "nobody" | a cosmetic mismatch of ID mapping. Your rights are those of your CrushMFT account, whatever the listing shows. |
| it hangs at mount | port 2049 closed; clocks of the machines more than a few minutes apart |
Which one?#
| You are on | In the same network | Across the internet |
|---|---|---|
| Windows | SMB | WebDAV, or SMB over QUIC |
| macOS | SMB | WebDAV |
| Linux, in a Kerberos realm | NFS or SMB | SFTP, WebDAV |
| a script | SFTP |