Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a server (let's call it ServerA) where I have configured two Samba shares, that are currently accessed from a few Windows computers with no issues.

I've also been able to mount these two shares in ServerB, but when doing the same thing in ServerC (a server with very similar configurations as ServerB: RHEL 5) using this command:

mount -t cifs -o username=<username>,password=<password> //ServerA/logs /mnt/logs

I get the following error:

mount: wrong fs type, bad option, bad superblock on //ServerA/logs,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

The destination /mnt/logs exists and has the correct permissions.

What could be the reason for this error?

Thank you!

share|improve this question

2 Answers 2

That could be caused by not having the cifs-utils package installed.

yum list cifs*

If you don't see cifs-utils then;

yum install -y cifs-utils
share|improve this answer

Install cifs-utils on serverC. Seems it doesn't know what cifs is.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.