LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 09:30 PM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
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, 09:53 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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, 09:35 AM   #3
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 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