LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2009, 10:30 PM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 578

Rep: Reputation: 37
Question permanently mounting a SMB folder on fstab


Hi guys,

I added on fstab //server/share /mount_point smbfs username=user,password=pass 0 0 however my system doesn't mount the drive automatically then I tried doing it on the terminal with: mount -t cifs //server/share -o username=user,password=pass /mount_point and that works.
I also tried adding the above command on fstab but it doesn't work.

any suggestions?
thanks!
 
Old 04-15-2009, 10:53 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,969
Blog Entries: 1

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by ceantuco View Post
Hi guys,

I added on fstab //server/share /mount_point smbfs username=user,password=pass 0 0 however my system doesn't mount the drive automatically then I tried doing it on the terminal with: mount -t cifs //server/share -o username=user,password=pass /mount_point and that works.
I also tried adding the above command on fstab but it doesn't work.

any suggestions?
thanks!
Instead of smbfs try putting cifs
 
Old 04-20-2009, 10:35 AM   #3
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 578

Original Poster
Rep: Reputation: 37
thanks that did the trick!!! :=)
 
  


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
Mounting smb folder with Fedora Core 5? FLX Linux - Networking 23 07-03-2009 07:09 PM
mixed mounting of automount and fstab in one folder? &different home folder using NIS herofmm Linux - Software 0 04-06-2009 12:00 PM
Mounting Permanently SMB share raji10k Linux - General 2 02-26-2009 04:33 AM
Need help : want to different mounting on the same folder (fstab, autofs) herofmm Linux - Networking 1 02-14-2009 02:25 AM
SMB mounting with /etc/fstab greenhornet Linux - Networking 2 01-15-2003 04:37 AM


All times are GMT -5. The time now is 04:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration