Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: NFS filesystems not mounted at boot



>>>>> "mike" == mike fabian <mike.fabian@example.com> writes:


    mike> Jun 21 02:36:10 laputa portmap: portmap startup succeeded
    mike> Jun 21 02:36:10 laputa mount: mount: RPC: Port mapper
    mike> failure - RPC: Unable to send Jun 21 02:36:10 laputa netfs:
    mike> Mounting NFS filesystems failed Jun 21 02:36:10 laputa
    mike> mount: mount: RPC: Port mapper failure - RPC: Unable to send
    mike> Jun 21 02:36:10 laputa netfs: Mounting other filesystems
    mike> failed

Mike,

	I had a similar problem recently. I put together a machine
that boots off another linux box. In my hand crafted ( read "heavly
hacked" ) /etc/rc.d/rc.sysinit, I do:

mount /proc

ifconfig lo 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255 mtu 3924 up 
route add -net 127.0.0.0 netmask 255.0.0.0 lo

portmap

# Clear mtab
>/etc/mtab

# Enter root into mtab.
mount -f /

/bin/mount -av

....

I think the:

mount: RPC: Port mapper failure - RPC: Unable to send


is saying that the network is not up yet. That fact that you can mount
after the machine is fully up, tends to support this.

You might try sticking:

ifconfig -a
sleep 10
netstat -r
sleep 10

in the init scripts just before it tries to mount NFS stuff, so you
can see if the network is properly configure. I can't remember why,
but having /proc mounted before all the other stuff is important. I
think "route" needed it.

Hope this helps,

	Andy
-------------------------------------------------------------------
Next Technical Meeting: July 10 (Sat), 13:00  place: Temple Univ.
*** Topic: High Performance JAVA, by Matt Welsh
Next Nomikai: August 20 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links