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 acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu hard drive hardware hdmi internet laptop malware memory missing monitor motherboard network operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
redhat fstab samba mounting issue

Reply  
Thread Tools
evolutioned's Avatar
Junior Member with 1 posts.
 
Join Date: Apr 2005
Experience: Intermediate
15-Apr-2005, 06: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
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
15-Apr-2005, 01: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.
ShavedApe's Avatar
Member with 96 posts.
 
Join Date: Apr 2005
Experience: Advanced
15-Apr-2005, 01: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.
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:09 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.