mount -t nfs vs cifs mount -t nfs vs cifs unix unix

mount -t nfs vs cifs


CIFS is not always available (but often is). When it works, NFS works better for unixy clients than CIFS tends to be.

To see if there's CIFS on the server, use the smbclient(1) program, possibly 'smbclient -L servername'.

To use CIFS from unix, you typically need to know a user name and password for the CIFS server, and reference them in the mount command or fstab entry. You can put the password in a file that is protected and use the file for the mount.

If you don't know the CIFS server admin to get a user/pass, you have many problems.


It's hard to answer, because it depends on the server.

NFS and CIFS aren't different filesystems - they're different protocols for accessing a server side export.

Generally speaking:

  • NFS is what Unix uses, because it aligns neatly with the Unix permissions model.
  • CIFS is (generally) what Windows uses. (It uses a different permissions model too).

Key differences between the two are that CIFS operates in a user context - a user accesses a CIFS share. Where NFS operates in a host context - the host mounts an NFS filesystem, and local users permissions are mapped (in a variety of ways, depending on NFS version and authentication modes).

But because - pretty fundamentally - they use different permissioning and authorization mechanisms, you can't reliably just mount an NFS export as CIFS. It relies on the server supporting it, and handling the permission mapping. You would need to ask the person who owns that server for details.