LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Discussion on user access: ftpfs, nfs, samba cifs, sshfs, or other alternatives. (https://www.linuxquestions.org/questions/linux-general-1/discussion-on-user-access-ftpfs-nfs-samba-cifs-sshfs-or-other-alternatives-4175607653/)

Xeratul 06-10-2017 12:29 AM

Discussion on user access: ftpfs, nfs, samba cifs, sshfs, or other alternatives.
 
Hello,

This thread is aimt to discussion on user access for mounting an FS on a disk.
Namely, there are several methods today, i.e. ftpfs, nfs, samba cifs, sshfs, or other alternatives. Most of them need a driver to be compiled into the kernel.

Which one or maybe some alternatives do you recommend, use,... pros/cons?

Samba is slower than NFS.
NFS is likely the fastest for datatransfert?

ondoho 06-10-2017 01:38 AM

i use sshfs to mount a remote Linux filesystem, but somehow i always have the feeling there's a different, maybe better way, maybe one that doesn't even require a separate program.

but this way i can do it in userspace, which i prefer.

michaelk 06-10-2017 07:22 AM

Everything mentioned is basically a network protocol and in a nutshell allows one to use a remote filesystem like a local filesystem. smb/cifs is a bit more complex. Those that use fuse i.e. sshfs and curlftpfs (ftpfs) which are userspace are going to be slower then a kernel module.

Alternatives depend on what you are trying to accomplish. If just considering file transfers then I use scp, sftp or rsync.

Xeratul 06-10-2017 07:56 AM

To share the /home, pretty rather to use NFS, since it allows to export the /home and gives the highest speed.

It is important if you'd like to open large files from /home/user directory.


All times are GMT -5. The time now is 10:15 AM.