View previous topic :: View next topic |
Author |
Message |
f.kater Guru

Joined: 23 May 2002 Posts: 342 Location: Berlin
|
Posted: Wed Nov 20, 2002 2:40 pm Post subject: no nfs mount at boot time |
|
|
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 |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Nov 20, 2002 9:37 pm Post subject: |
|
|
Is "netmount" in the default runlevel? What is the version of baselayout? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
Exci Apprentice


Joined: 12 Jul 2002 Posts: 265 Location: The Netherlands, Zoetermeer
|
Posted: Wed Nov 20, 2002 10:11 pm Post subject: |
|
|
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 |
|
 |
eryvile Apprentice


Joined: 14 Aug 2002 Posts: 234 Location: europe
|
Posted: Wed Nov 20, 2002 10:48 pm Post subject: |
|
|
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 |
|
 |
f.kater Guru

Joined: 23 May 2002 Posts: 342 Location: Berlin
|
Posted: Wed Nov 20, 2002 11:26 pm Post subject: |
|
|
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 |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Nov 20, 2002 11:50 pm Post subject: |
|
|
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 |
|
 |
f.kater Guru

Joined: 23 May 2002 Posts: 342 Location: Berlin
|
Posted: Fri Nov 22, 2002 3:59 pm Post subject: |
|
|
Yes, portmap is loaded during boot, however *after* netmouts are done... May that be a reason? |
|
Back to top |
|
 |
schutten Tux's lil' helper


Joined: 29 Apr 2002 Posts: 120 Location: Veldhoven, the Netherlands
|
Posted: Tue Nov 26, 2002 8:02 am Post subject: |
|
|
I use nfsmount i.s.o. netmount.
I had similar problems, which were resolved by using nfsmount... |
|
Back to top |
|
 |
philthedrill n00b


Joined: 10 Jan 2003 Posts: 18 Location: Moscow, ID
|
Posted: Fri Jan 10, 2003 12:05 am Post subject: |
|
|
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 |
|
 |
|