LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-19-2007, 12:23 PM   #1
lenny8088
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Rep: Reputation: 0
Samba mount point failing on boot - kinda


I am currently migrating a fiesty server from a really old piece of hardware to a newer piece of hardware. One of things that happens on boot is a windows share is mounted at /media/extra so that I can query the access db that is out there. On old server it works great.
On the new server - I can do it all manually great. Put the command in fstab, do a mount -a, create a shell script to run the mount -a. But when I put it in initr.d to do automagically at boot I get
Code:
Could not resolve mount point /media/extra
And when I go and look at media the box hangs then shows me the listing of the directory but extra is all red an has question marks where the file perms should be.
So I umount it - which takes a while and gives me
Code:
[  105.083548] smb_retry: no connection process
but it works and there is my extra directory all ready to go. So I do a mount -a and bam! all is back to normal

Doesn't do this on the "old" server. Is it smb? Is it the directory?

Thoughts?

-A
 
Old 06-20-2007, 09:18 PM   #2
ArcLinux
Member
 
Registered: Apr 2005
Location: Fargo, ND
Distribution: Slackware, CentOS
Posts: 87

Rep: Reputation: 20
Is the partition that contains /media/extra already mounted by the time it calls the smb mount. If not that explain why it can't find the mount point.
 
Old 06-22-2007, 08:24 PM   #3
lenny8088
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Good question. The problem has resolved itself - I don't know why - I was working on an error that apache was throwing on boot as well - an IP6 thing and once I had that solved I noticed the mount was going alright as well.

But even if /media/extra was already mounted and then the script kicked in (mount -a) why would that cause the issue? I can run mount -a over an over with no issue from the command line.
 
  


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
Can I mount a local NTFS disc as SAMBA mount point? alek66 Linux - Networking 15 10-01-2006 10:02 AM
samba mount when not owner of mount point cotton213 Linux - General 1 08-04-2005 06:21 AM
problem with failing mount at boot time rconan Fedora 2 08-03-2005 07:44 AM
samba mount point problems novacrasher Linux - Wireless Networking 1 12-02-2004 09:58 PM
mount point caused boot up failed hylewis Linux - Newbie 5 01-12-2002 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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