Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no nfs mount at boot time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Wed Nov 20, 2002 2:40 pm    Post subject: no nfs mount at boot time Reply with quote

Hi,
after I have updated to gentoo 1.4 the partitions in the LAN are not mounted anymore at boot time.
fstab hasn't changed, and root can mount it manually when the system is up.
I do it manually like this
Code:
mount 192.168.25.34:/wd40 /mnt/lps

here is the part of my fstab:
Code:
192.168.25.34:/wd40/   /mnt/lps/   nfs      auto,rw         0 0

Any ideas where I could start searching for the reason?
Thank You
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Nov 20, 2002 9:37 pm    Post subject: Reply with quote

Is "netmount" in the default runlevel? What is the version of baselayout?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Exci
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 265
Location: The Netherlands, Zoetermeer

PostPosted: Wed Nov 20, 2002 10:11 pm    Post subject: Reply with quote

same problem since yesterday
netmount is in default runlevel

mount -a still works, so there's nothing wrong with fstab.

Code:

exci@ws exci $ emerge -s baselayout
Searching...
[ Results for search key : baselayout ]
[ Applications found : 1 ]

*  sys-apps/baselayout
      Latest version available: 1.8.5.3
      Latest version installed: 1.8.5.3
      Size of downloaded files: 89 kB
      Homepage:    http://www.gentoo.org/
      Description: Base layout for Gentoo Linux filesystem (incl. initscripts and sysvinit)
Back to top
View user's profile Send private message
eryvile
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 234
Location: europe

PostPosted: Wed Nov 20, 2002 10:48 pm    Post subject: Reply with quote

I had that same problem a couple weeks ago. Although netmount etc. was in the correct runlevel, fstab had the correct entries and so on, nothing was mounted at boot time but had to be done manually. This was fixed after I did an emerge rsync and updated to a new baselayout :)

As I realized that baselayout was updated at least twice the last couple days, maybe another emerge rsync solves the problem (the version I updated to just yesterday is 1.8.5.3)?!

Unfortunately, I can't really check on that as I'm currently on the road and won't return home until friday :(

I hope I could help!
Back to top
View user's profile Send private message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Wed Nov 20, 2002 11:26 pm    Post subject: Reply with quote

Yes, rac, netmount is there and the baselayout is the current (1.8.5.3).
Meanwhile I have made a work around and put a mount command in the local.start and umount to local.stop.

But I'd like to know why it doesn't work. I've also tried it with a new kernel where nfs is compiled into because I thought the nfs modules came too late for the mounts at boot time - but without success.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Nov 20, 2002 11:50 pm    Post subject: Reply with quote

f.kater, is portmap in your default runlevel? It appears that the baselayout developers have chosen to "solve" the problem of hangs when portmap is not running on the client by silently refusing to mount nfs filesystems. See /etc/init.d/netmount for details.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Fri Nov 22, 2002 3:59 pm    Post subject: Reply with quote

Yes, portmap is loaded during boot, however *after* netmouts are done... May that be a reason?
Back to top
View user's profile Send private message
schutten
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2002
Posts: 120
Location: Veldhoven, the Netherlands

PostPosted: Tue Nov 26, 2002 8:02 am    Post subject: Reply with quote

I use nfsmount i.s.o. netmount.
I had similar problems, which were resolved by using nfsmount...
Back to top
View user's profile Send private message
philthedrill
n00b
n00b


Joined: 10 Jan 2003
Posts: 18
Location: Moscow, ID

PostPosted: Fri Jan 10, 2003 12:05 am    Post subject: Reply with quote

I've been looking for a solution to this exact problem. I haven't tried nfsmount (instead of netmount), but I read through this page:

http://www.gentoo.org/doc/en/rc-scripts.xml

and I added this line to /etc/init.d/netmount (at the top of depend()):

after portmap

and that seems to have fixed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum