FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
I am trying to get my Fedora 8 system to mount my XP system to easily share files and I am having a hard time.
I have made the following entry in my fstab:
Code:
//izengard/c$ /izengard cifs defaults 0 0
I have also used smb and smbfs for the types of file systems but still with no luck.
The message I am getting when I try to reload my fstab is:
Code:
[lem@mordor2 etc]$ sudo mount -a
mount: wrong fs type, bad option, bad superblock on //izengard/c,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
and when I run sudo mount -a I don't get any errors that pop up , but the filesystem wasn't mounted either. I can do a sudo umount /izengard and it will tell me that it was never mounted.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Can you use the mount command to mount the share with that name?
If not then have you define in /etc/hosts file which IP that machine name is referred to?
Have you tried making a proper share rather than using the hidden C: share?
It could be that fstab won't allow the $ character, which would naturally cause the mount to fail (since c$ is not the same as c, the $ denotes it is hidden on the remote machine).
Brian1 - All of my hosts are defined in the /etc/hosts directory. I am able to ping it by name so I know its working.
I did try using the smbmount command but my system didn't see to have any knowledge of that comment.
Unless I'm using the mount command wrong, this is what my results are:
Code:
[lem@mordor2 /]$ sudo mount -t cifs //izengard/d /izengard
Password:
mount: wrong fs type, bad option, bad superblock on //izengard/c,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[lem@mordor2 /]$ sudo mount -t smbfs //izengard/d /izengard
mount: unknown filesystem type 'smbfs'
[lem@mordor2 /]$ sudo mount -t smb //izengard/d /izengard
mount: unknown filesystem type 'smb'
MS3FGX - I did remove the "$" from the C share but still got the same errors. I did try with my other share (above)but seems like no luck.
I was experiencing the same thing on ubuntu hardy, and have finally found a solution that works for me...
I couldn't understand what was wrong
Code:
smbclient -L
was showing the shares, and smb:///server/share in konqueror was working fine too. but every time i tried
Code:
mount -tcifs -ousername=... //server/share /mnt
and it would fail with :
Code:
mount: wrong fs type, bad option, bad superblock on //izengard/c,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
then I installed the smbfs package, which i had previously ignored as to my knowledge, smbfs was replaced by cifs...
to my surprise, the package came with mount.cifs which is what i was trying to get hold of in the first place.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.