It is possible to mount a samba share on a vps without cifs module buit in kernel? I installed cifs-utils and smbclient, I can see samba shares with command

smbclient -L

I added in /etc/fstab

/ /mnt/Media cifs credentials=/root/.mediacredentials,iocharset=utf8,sec=ntlm 0 0

But I get error:

mount error: cifs filesystem not supported by the system mount error(19): No such device Refer to the mount.cifs(8) manual page (e.g. man mount.cifs

There is an alternative to mount a samba share without cifs? I tried with sshfs but get only errors:

remote host has disconnected

Connection reset by peer


1 Answer 1


Not sure, how much Kernel support it actually needs and if that support is available to you, but the GNOME Virtual file system (GVfs) could be an option. Try something like:

gio mount 'smb://username@host/sharedfolder'

The mounted folder should show up within /run/user/$uid/gvfs. On older systems the executable might be gvfs-mount or gnome-mount.

Since GVfs uses the FUSE interface in order to run the file system driver in user space, there is a real possibility that it doesn't need Kernel support for the CIFS file system. However, it might rely on some other Kernel features necessary for the FUSE system. Let's hope your Kernel has it.

And, of course, it needs Gnome, or at least the GLib component - which is installed by default in most Desktop Unixes, but not necessarily on a server. So you may have to install GLib from the package manager of your distribution.

Also, be aware that the mounts that are created using FUSE drivers are only available to the user that mounted it. So this solution, even if it works, might not be good enough for your use case in a server, but that really depends on your exact use case.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .