Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


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

Rep: Reputation: 56

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, 07:51 PM   #17
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
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, 07:54 PM   #18
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, 10:00 AM   #19
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?

    mount -t smbfs -o username=JohnDoe,password=somestuff //orion/JohnDoe /media/JohnDoe
Or you can see it this way:
    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...

    mount -t cifs -o username=JohnDoe,password=somestuff //orion/JohnDoe /media/JohnDoe
Or you can see it this way:
    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:

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.

Dustin (IRON Monkey 88 )


cifs, deprecated, novell, smbfs, smbmount

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 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 09:23 AM
smbfs not supported? jeopardyracing Linux - Networking 0 04-21-2004 08:13 PM
APM nor supported in kernel? zLinuxz Linux - General 2 08-15-2003 03:01 AM
smbfs on Slak8.0 2.2.19 kernel Dr.Swing Slackware 6 10-23-2002 03:48 AM
SMBFS and the kernel dogphish Linux - Newbie 1 04-24-2001 03:13 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration