mount error: cifs filesystem not supported by the system
I'm running a vps which my vps-provider tells me is an OpenVZ container - but I don't know what that means. I have centos 7 64 bit installed on this vps and I'm trying to mount a share at a remote location using this command:
Code:
mount -t cifs -o username=<username>,password=<password> //<remote-ip>/share /media/smb-share Code:
mount: unknown filesystem type 'cifs' Code:
mount error: cifs filesystem not supported by the system ps: if it's any help... Code:
# uname -a |
To find out what filesystems are supported by the running kernel, do:
Code:
cat /proc/filesystems Code:
sudo modprobe cifs |
Quote:
Quote:
|
The idea of using Samba over internet gives me creeps. It may be impossible, too. If you are trying to connect to a home machine your ISP may block the ports.
|
I agree that exposing CIFS ports to the internet is a security concern and puts your remote network at risk. It is also true that some ISPs block CIFS ports.
However, it may may not be possible unless you have access to the host. http://www.linux-faqs.info/virtualiz...envz-container Note: many commands like modprobe do not output any status messages if completed successfully. |
I have the samba ports at '//<remote-ip>/share' locked down to restricted ip's in iptables so the security of this is not what I'm asking about. Thanks for the link, I don't have access to the host. Is there any other way around this?
|
|
NFSv4 was designed to work over untrusted networks.
|
mount.cifs(8) - Linux man page
https://linux.die.net/man/8/mount.cifs Linux mount CIFS Windows Share https://www.cyberciti.biz/faq/linux-...windows-share/ mount.cifs — mount using the Common Internet File System (CIFS) SIMBA https://www.samba.org/samba/docs/man...nt.cifs.8.html How to mount NFS and CIFS file systems on Linux with the Seagate BlackArmor NAS http://knowledge.seagate.com/article...S/FAQ/209791en |
@BW-userx, and where in all those links does it explain how to mount a share from within an openvz container?
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 04:06 AM. |