[CLUG-tech] wainting long for nfs mount
Buchan Milne
bgmilne at cae.co.za
Sat Dec 21 23:41:51 SAST 2002
On Sat, 21 Dec 2002, Pieter Breed wrote:
> Hi
>
> I am using Gentoo Linux on two P3 systems at home, one of which has a certain
> directory which can be shared between the two pc's (/usr/portage). I have
> never used NFS before, but I got the howto and followed every step to the
> letter.
>
> What happens is this:
> 1) - I export the dir. from pc 'romulus' to pc 'mika' with options ie:
> (/usr/portage mika.langenhoven(rw,sync,no_root_squash) )
>
> 2) - I mount (on pc B) the remote export as follows
> 'mount -t nfs romulus:/usr/portage /usr/portage'
>
> 3) - I wait and wait and wait and wait some more ..
>
> 4) - The mount completes, everything is as it should be, al is working fine.
>
> My problem really is the long wait for the mount to complete. 'mika' should
> do this mount every time that the pc boots, and being the 'other' pc in the
> house that is quite frequent.
>
> To throw on this fire; If I mount the nfs volume from 'romulus' itself
> (pointless I know) it mounts immediately, no lag whatsoever.
>
> I suspected that it might be a DNS problem... My DNS setup is as follows:
> on romulus, I have dnsmasq installed, definition for
> 192.168.13.2 mika
> 192.168.13.1 romulus
> pc 'mika' uses these ip's ...
>
> Does anyone here a suggestion for me on how I can improve the performance of
> the mount?
>
Ensure that host resolution (forward and reverse) works, or add the hosts
in question to your /etc/hosts file.
Are you getting pauses ssh'ing between them (the other telltale sign that
name resolution isn't working).
Basically, most ip/host/domain-based access control's will try
reverse-looking up the ip of the client.
I assume you have portmap etc running on both machines.
--
|----------------Registered Linux User #182071-----------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
More information about the Clug-tech
mailing list