vicker313 tech blog

March 17, 2009

Mount Samba shared folder in Fedora Core 9

Filed under: Linux — Tags: , , — vicker313 @ 1:33 am

Recently I am facing problem with mouting Samba folder in Fedora Core 9. The Samba folder is resided at a Fedora Core 4 machine. I think the problem occur because FC9 doesn’t support SMBFS any more, instead I need to use CIFS to mount the folder. The error is something like cannot find the shared directory or similar.

Same as usual, after few hours of googling, I finally found the solution:

echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

The command will disable the LinuxExtensionEnabled feature. After that the mounting can be proceed successfully.

However, since this file is not a permanent file, it only exists when you mount something with CIFS, so we need to set the following in /etc/rc.local:

/sbin/modprobe cifs

echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: