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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-19-2016, 09:02 AM
|
#1
|
Member
Registered: Sep 2008
Posts: 546
Rep:
|
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
|
|
|
11-19-2016, 09:21 AM
|
#2
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,209
|
To find out what filesystems are supported by the running kernel, do:
Code:
cat /proc/filesystems
If cifs is not listed do:
|
|
|
11-19-2016, 09:36 AM
|
#3
|
Member
Registered: Sep 2008
Posts: 546
Original Poster
Rep:
|
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...
gives nothing, cursor just drops to the next line.
Last edited by tonj; 11-19-2016 at 09:38 AM.
|
|
|
11-19-2016, 09:44 AM
|
#4
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
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.
|
|
|
11-19-2016, 11:38 AM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,199
|
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.
|
|
|
11-19-2016, 12:09 PM
|
#6
|
Member
Registered: Sep 2008
Posts: 546
Original Poster
Rep:
|
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?
|
|
|
11-19-2016, 01:00 PM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,199
|
I don't know but using fuse and sshfs (sftp) may be an option.
https://openvz.org/FUSE
|
|
|
11-19-2016, 01:02 PM
|
#8
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
NFSv4 was designed to work over untrusted networks.
|
|
|
11-19-2016, 03:50 PM
|
#10
|
Member
Registered: Sep 2008
Posts: 546
Original Poster
Rep:
|
@BW-userx, and where in all those links does it explain how to mount a share from within an openvz container?
|
|
|
11-19-2016, 03:56 PM
|
#11
|
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
|
Quote:
Originally Posted by tonj
@BW-userx, and where in all those links does it explain how to mount a share from within an openvz container?
|
sorry I tried....
|
|
|
11-19-2016, 03:58 PM
|
#12
|
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
|
Quote:
Originally Posted by tonj
@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...
|
|
|
All times are GMT -5. The time now is 03:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|