[SOLVED] Mount CIFS on minimal install
[SOLVED] Mount CIFS on minimal install
Hi
I'm probably being really dim here but I'm struggling to mount a cifs share using the minimal Centos 6 x86 installation.
Normally I would just make sure I've installed samba-client and be done with it.
If I do a smbclient -L servername I get results back of a list of the shares I need to mount.
The command I'm trying to use is:
mount -t cifs -o username=user //server/share /mountpoint
And I get:
mount: wrong fs type, bad option, bad superblock on //frnmgmt01/sp-build,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
Some more info:
[root@client ~]# lsmod | grep cifs
cifs 242859 0
[root@client ~]# cat /proc/fs/cifs/DebugData
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.63
Active VFS Requests: 0
Servers:
What am I doing wrong?
Thanks for reading,
Matt
I'm probably being really dim here but I'm struggling to mount a cifs share using the minimal Centos 6 x86 installation.
Normally I would just make sure I've installed samba-client and be done with it.
If I do a smbclient -L servername I get results back of a list of the shares I need to mount.
The command I'm trying to use is:
mount -t cifs -o username=user //server/share /mountpoint
And I get:
mount: wrong fs type, bad option, bad superblock on //frnmgmt01/sp-build,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
Some more info:
[root@client ~]# lsmod | grep cifs
cifs 242859 0
[root@client ~]# cat /proc/fs/cifs/DebugData
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.63
Active VFS Requests: 0
Servers:
What am I doing wrong?
Thanks for reading,
Matt
Re: Mount CIFS on minimal install
Is there any further information in /var/log/messages?
Re: Mount CIFS on minimal install
Darn! I ran into something like this, and I don't remember how I solved it. I was missing something stupid--that is, something that was obvious.
Aha--cifs-utilities or utils, one of the two.
Aha--cifs-utilities or utils, one of the two.
Re: Mount CIFS on minimal install
mount -t smbfs -o username=user //server/share ...
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] Mount CIFS on minimal install
[quote]
scottro wrote:
...
Aha--cifs-utilities or utils, one of the two.[/quote]
[code]
# rpm -qf `which mount.cifs`
cifs-utils-4.8.1-2.el6_1.2.x86_64[/code]
scottro wrote:
...
Aha--cifs-utilities or utils, one of the two.[/quote]
[code]
# rpm -qf `which mount.cifs`
cifs-utils-4.8.1-2.el6_1.2.x86_64[/code]
SOLVED: Mount CIFS on minimal install
yum -y install cifs-utils
Did the trick for me, thank you, you lovely internet people :)
Did the trick for me, thank you, you lovely internet people :)
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: SOLVED: Mount CIFS on minimal install
You are welcome. Thanks for reporting back. Marking this thread [SOLVED] for posterity.
Re: [SOLVED] Mount CIFS on minimal install
Old threat, I know. But just in case someone found the threat with google (as I did):
With Centos 7 you might have to install:
With Centos 7 you might have to install:
Code: Select all
yum install nfs-utils