LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-20-2002, 06:47 PM   #16
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58

You have to make sure the smbfs module loads before the kernel tries to mount the samba share or it will fail, you only need to worry about this if you are mounting the share at boot time though.
 
Old 03-20-2002, 06:51 PM   #17
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
I uncommented that line in the rc.modules and now I can mount samba shares. so it was in my kernel after all, and i just wasn't loading it by default, right?
 
Old 03-20-2002, 06:54 PM   #18
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Yep. It's built-in by default, but as a module not directly into the kernel. Make sure you take note of Aussie's above post about mounting the share after the module loads. I'm sure you already saw it...Have a good one! Sorry if I confused anything.
 
Old 02-18-2008, 09:00 AM   #19
IronMonkey88
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Lightbulb SOLUTION - SMBFS is deprecated - please read

I have a new post for all of you on this thread. All of you need not bang your head on the monitor anymore about smbfs. According to Novell (see the article below) the SMBFS file system has been deprecated (meaning its out of there-gone-kerput). BUT THERE IS A SOLUTION!! (They were so naughty for not telling us )

Instead of SMBFS use CIFS

Let me give you an example of how it works (it really is the same except for one silly word).

First - we all remember something similar to this-right?

Code:
    mount -t smbfs -o username=JohnDoe,password=somestuff //orion/JohnDoe /media/JohnDoe
Or you can see it this way:
Code:
    mount -t smbfs -o username=<USER>,password=<PASSWORD> //<SMB SERVER>/<SMB SHARE> /<LOCAL MOUNT DIRECTORY(IES)>
All we need to do is change smbfs to cifs.
See below...


Code:
    mount -t cifs -o username=JohnDoe,password=somestuff //orion/JohnDoe /media/JohnDoe
Or you can see it this way:
Code:
    mount -t cifs -o username=<USER>,password=<PASSWORD> //<SMB SERVER>/<SMB SHARE> /<LOCAL MOUNT DIRECTORY(IES)>
NOVELL documented this in their knowledge base article accessible below:
http://www.novell.com/support/search...200%2057334140

Please note:
Though their article says that ERROR: Permission denied is given by the mount command-I have used this on OpenSuSE 10.2 as described above and it was successful in mounting the SMB share on a local folder.

When I used SMBFS(before discovering the CIFS workaround) I received the same error that was in the beginning of this thread (ERROR: smbfs filesystem not supported by the kernel). Infact-the error message is what brought me here.

I saw how hard you all were working to try and figure this one out and I tried my hand at the solution. I often found that Novell really knows what they are doing. I hope this helps. If it does(or doesn't)-please let me know.

Sincerely,
Dustin (IRON Monkey 88 )
 
  


Reply

Tags
cifs, deprecated, novell, smbfs, smbmount



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting another harddrive: Filesystem not supported Arild2 Linux - Hardware 3 10-30-2004 08:23 AM
smbfs not supported? jeopardyracing Linux - Networking 0 04-21-2004 07:13 PM
APM nor supported in kernel? zLinuxz Linux - General 2 08-15-2003 02:01 AM
smbfs on Slak8.0 2.2.19 kernel Dr.Swing Slackware 6 10-23-2002 02:48 AM
SMBFS and the kernel dogphish Linux - Newbie 1 04-24-2001 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:44 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
Open Source Consulting | Domain Registration