LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2016, 09:02 AM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 546

Rep: Reputation: 37
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
but I get:
Code:
mount: unknown filesystem type 'cifs'
so I installed cifs-utils and ran the command again but this time I get:
Code:
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)
The '<remote-ip>/share' location is working fine because I've tested it on other machines so the problem is with the vps. Is there a way to get this to work on the vps I have?
ps: if it's any help...
Code:
# uname -a
Linux <hostname> 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
 
Old 11-19-2016, 09:21 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,209

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
To find out what filesystems are supported by the running kernel, do:

Code:
cat /proc/filesystems
If cifs is not listed do:

Code:
sudo modprobe cifs
 
Old 11-19-2016, 09:36 AM   #3
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
Quote:
# cat /proc/filesystems
nodev cgroup
nodev devpts
nodev mqueue
ext4
ext2
nodev nfs
nodev nfs4
nodev delayfs
nodev devtmpfs
nodev sysfs
nodev proc
nodev tmpfs
nodev binfmt_misc
nodev fusectl
nodev fuse
don't see cifs there...
Quote:
# sudo modprobe cifs
gives nothing, cursor just drops to the next line.

Last edited by tonj; 11-19-2016 at 09:38 AM.
 
Old 11-19-2016, 09:44 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
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.
 
Old 11-19-2016, 11:38 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,199

Rep: Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089
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.

Last edited by michaelk; 11-19-2016 at 11:49 AM.
 
Old 11-19-2016, 12:09 PM   #6
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
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?
 
Old 11-19-2016, 01:00 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,199

Rep: Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089
I don't know but using fuse and sshfs (sftp) may be an option.

https://openvz.org/FUSE
 
Old 11-19-2016, 01:02 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
NFSv4 was designed to work over untrusted networks.
 
Old 11-19-2016, 02:31 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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
 
Old 11-19-2016, 03:50 PM   #10
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
@BW-userx, and where in all those links does it explain how to mount a share from within an openvz container?
 
Old 11-19-2016, 03:56 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by tonj View Post
@BW-userx, and where in all those links does it explain how to mount a share from within an openvz container?
sorry I tried....
 
Old 11-19-2016, 03:58 PM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by tonj View Post
@BW-userx, and where in all those links does it explain how to mount a share from within an openvz container?
just google that too and wow lots of links on that subject...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
mount error: cifs filesystem not supported by the system pazo Linux - General 2 12-18-2007 10:15 AM
Slack 11.0 - mount -t cifs gives error, not supported by system sickboylives Slackware 3 12-17-2007 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration