LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-06-2008, 03:17 PM   #1
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Rep: Reputation: 31
Mount XP Pro using fstab in fedora 8


Hey guys,

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
I took a look at dmesg | tail and it showed:

Code:
[lem@mordor2 etc]$ dmesg | tail
eth1: MAC controller error (WTERR). Ignoring.
 CIFS VFS: cifs_mount failed w/return code = -22
 CIFS VFS: cifs_mount failed w/return code = -22
 CIFS VFS: cifs_mount failed w/return code = -22
When I try with smb or smbfs I get:

Code:
[lem@mordor2 etc]$ sudo mount -a
mount: unknown filesystem type 'smb'
or

Code:
mount: unknown filesystem type 'smbfs'
I have also tried an entry in my fstab like this:
Code:
//izengard/c           /izengard               cifs    noauto,rw,password="password"
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.

Anyone got any ides?
 
Old 03-06-2008, 03:44 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
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?

Brian
 
Old 03-06-2008, 03:44 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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).
 
Old 03-06-2008, 09:56 PM   #4
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Original Poster
Rep: Reputation: 31
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.
 
Old 03-07-2008, 03:08 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
After issue the command what does the ' dmesg ' command mention?

I would also try to use the mount command as root and not as sudo. su to root and try the mount command that way.

Brian
 
Old 10-02-2008, 03:44 AM   #6
TheMandibleClaw
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Cool sorted

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.

Code:
mount.cifs //server/share /mnt -o username
works fine.
 
  


Reply



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
how do i mount a logitech quickcam pro 4000 in fedora 7 naole.nikhil Fedora 2 09-07-2007 09:50 AM
Fedora Core 7 - RO mount but /etc/fstab shows default icstepec Linux - Newbie 3 08-11-2007 11:37 PM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:33 AM.

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