LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2004, 07:45 PM   #1
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Weird samba mounting problem.


Hello.

I am using Gentoo 2004.2 running the 2.6.7-gentoo-r11 kernel.

I haven't had this problem before, but am having it after installing this version of Gentoo (with this kernel).

When trying to mount a samba share say... //server/share or //10.10.10.10/share I get the following error....

mount: wrong fs type, bad option, bad superblock on //server/share,
or too many mounted file systems.

I have tried the following ways to mount the share, which is working fine from other machines...

mount -t smbfs //server/share /mnt/network
mount -t smbfs //10.10.10.10/share /mnt/network
mount //server/share /mnt/network

All to get the same result. I have enabled SMB support in the kernel.. File Systems ---> Network File Systems ---> SMB file system support (to mount Windows shares etc.)

I have also tried enabling Use a default NLS which makes no difference.

Would anyone know what I am missing or why this is happening? Again it worked fine with 2.4 version of 2004.2 I was running?

Thanks alot,

Best Regards,

Craig
 
Old 08-03-2004, 10:29 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
See if smbfs module is loaded if its it not compile into the kernel, though it should loader automatically.
Also try recompiling Samba, it needs kernel headers to compile so your problem maybe have to do with the kernel change.
 
Old 08-03-2004, 10:39 PM   #3
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Original Poster
Rep: Reputation: 30
Hi.

Thanks for the reply Demon. lsmod shows nothing all.

I also don't have samba server installed. I don't normally install it unless I want to share a folder out. I just wanted to browse shares with this box.

How can I manually load smbfs?

Thanks alot for your help.

Best Regards,
Craig
 
Old 08-04-2004, 05:40 AM   #4
XTeam
LQ Newbie
 
Registered: Nov 2003
Location: Novi Sad, Yugoslavia
Distribution: Fedora Core 3 & 4; Mandrake 9.2; 10.0; Knoppix
Posts: 13

Rep: Reputation: 0
I had similiar problem.
I resolved it by using the webmin. I set all the shares and permissions from there.
 
Old 08-04-2004, 06:24 AM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:

Hi.

Thanks for the reply Demon. lsmod shows nothing all.

I also don't have samba server installed. I don't normally install it unless I want to share a folder out. I just wanted to browse shares with this box.

How can I manually load smbfs?

Thanks alot for your help.

Best Regards,
Craig


You need to install the Samba package, or at very least the smbmount executable(included in Samba). Because the current version of mount does not know anything about smbfs, therefore it needs to call smbmount to mount smbfs shares. You need to make a symlink to smbmount called mount.smbfs(Samba does this for you during installation).

Besides, even if you install Samba you don't have to run it.

The module should load automatically by smbmount but if you want to load it by hand anyway its "modprobe smbfs"
 
Old 08-04-2004, 06:44 PM   #6
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Original Poster
Rep: Reputation: 30
Hi Demon,

That made it work. Sorry I didn't think that would make any difference. I only thought the samba package was for the server side of things.

Thanks alot though

It's appreciated.

Regs
Craig
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
samba mounting problem Piro Linux - General 7 04-23-2006 07:06 PM
Weird problem copying files with Samba... iammike Linux - Networking 2 04-12-2005 05:19 PM
Samba Mounting Problem AmdMhz Linux - Networking 2 10-27-2004 02:08 PM
Weird Mounting problem of ftpfs saurya_s Linux - Software 1 03-28-2004 07:09 AM
Samba PDC Server String - Weird Problem? Vince0000 Linux - General 3 01-15-2004 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration