Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem ram recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
redhat fstab samba mounting issue

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
evolutioned's Avatar
Junior Member with 1 posts.
 
Join Date: Apr 2005
Experience: Intermediate
15-Apr-2005, 05:56 AM #1
Question redhat fstab samba mounting issue
Hi,
in a quest to auto mount multiple windows shared folder's using samba, i have placed multiple lines in /etc/fstab in the following format:

//windowsmachinename/folder /mnt/folder smbfs username=usr,password=pass,dmask=0777,fmask=0777

yes, i have made sure all the paths in reference are correct as when i do it manually from a shell using the 'mount' command it works find

i then "mount --bind" all the mounted smbfs paths to certain directories.

the problem i am having is upon boot the paths arn't mounting and i can't view them even from the /mnt/folder path.

there are often multiple paths needed to be mounted from each windows pc with shares.

could anyone shed some light on this problem please.

running redhat running 2.4.18 kernel.

regards,
evolutioned
Squashman's Avatar
Distinguished Member with 14,983 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
15-Apr-2005, 12:18 PM #2
I am not sure if this is the same or not but I mount NCPFS for my Netware servers to my linux box. Even though it says ncpfs in the man page, I need the fstab entry to be ncp and not ncpfs. Maybe it is the same for samba.
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - User Desktop Experience
ShavedApe's Avatar
Member with 96 posts.
 
Join Date: Apr 2005
Experience: Advanced
15-Apr-2005, 12:24 PM #3
look at your init.d order.
i bet that the fstab is processed before samba is started, therefor mount doesn't know how to mount the share.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 07:15 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.