LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-19-2005, 04:52 PM   #1
lantern
Member
 
Registered: Sep 2003
Distribution: Debian, Slackware
Posts: 39

Rep: Reputation: 15
NFS mount on startup


Hi,

I'm having trouble getting my nfs mounts to mount on
startup (slackware 10.1, kernel 2.6). But when I log in
and manually type "mount -a -t nfs" it works just fine.

I noticed that rc.inet2 has this comment in it:
Code:
Note, that when this script is used to also fire
up any important remote NFS disks (like the /usr
directory), care must be taken to actually
have all the needed binaries online _now_ ...
... but I'm not sure which binaries it's referring to.

After boot dmesg contains no mention of nfs. After I
manually mount nfs (which works fine), dmesg contains
the warning "nfs warning: mount version older than
kernel". I doubt that's the problem though.

Any ideas?

Thanks,
lantern
 
Old 05-19-2005, 04:59 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Could you post the related fstab lines ?
 
Old 05-19-2005, 05:22 PM   #3
lantern
Member
 
Registered: Sep 2003
Distribution: Debian, Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
Here it is:

my.server.com:/usr/local/var/projects /var/projects nfs defaults 0 0

Last edited by lantern; 05-19-2005 at 05:23 PM.
 
Old 05-19-2005, 05:31 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
maybe try replace defaults with :
rsize=8192,wsize=8192,hard,intr

see if that brings something good
 
Old 05-20-2005, 12:09 AM   #5
lantern
Member
 
Registered: Sep 2003
Distribution: Debian, Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
That wasn't it but I figured it out.

I was bringing up my NIC from rc.local instead of rc.modules,
and since rc.inet2 gets called before rc.local the network
wasn't up yet for the nfs mount call.

Thanks for your help.
 
  


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM
nfs-server startup irvken Linux - Networking 2 01-03-2004 12:00 PM
Start nfs on startup hamish Linux - Networking 2 11-10-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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