Re: NFS mount on AIX 5.2

From: Andreas Schulze (b79xan_at_gmx.de)
Date: 12/08/03


Date: Mon, 8 Dec 2003 11:31:52 +0100


"Steve Bassler" <sbassle@alleghenyenergy.com> schrieb im Newsbeitrag
news:9f303a71.0312051034.1d96d9d5@posting.google.com...
> Steve Bassler <bassmstr.delete.this.to.reply@adelphia.net> wrote in
message news:<oprzovjgn6w038d5@news>...
> > On Thu, 4 Dec 2003 08:20:16 +0100, Andreas Schulze <b79xan@gmx.de>
wrote:
> >
> > > "Steve Bassler" <bassmstr.delete.this.to.reply@adelphia.net> schrieb
im
> > > Newsbeitrag news:oprzmwddcgw038d5@news...
> > >> On Wed, 3 Dec 2003 16:19:56 +0100, Andreas Schulze <b79xan@gmx.de>
> > >> wrote:
> > >>
> > >> > "Steve Bassler" <sbassle@alleghenyenergy.com> schrieb im
Newsbeitrag
> > >> > news:9f303a71.0312021054.352b9715@posting.google.com...
> > >> >
> > >> >> I have just installed my first AIX 5.2 system. I have an
NFS-mounted
> > >> >> common directory which I would like to mount at system boot time.
> > The
> > >> >> /etc/filesystems entry reads:
> > >> >>
> > >> >> /Common:
> > >> >> dev = "/Common"
> > >> >> vfs = nfs
> > >> >> nodename = NFSServer
> > >> >> mount = true
> > >> >> options = ro,bg,soft,intr,retry=5,retrans=3
> > >> >> account = false
> > >> >>
> > >> >> This is exactly what we use for AIX 4.3.3 and 5.1 and it works
fine,
> > >> >> but I cannot get it to work with 5.2. When I boot, the filesystem
> > >> >> does not mount. After the boot, I can mount it manually with just
a
> > >> >> "mount /Common" command.
> > >> >>
> > >> >> Am I doing something wrong? Did AIX 5.2 change something?
> > >> >>
> > >> >> Thanks,
> > >> >> Steve
> > >> >>
> > >> >
> > >> > Hallo Steve,
> > >> >
> > >> > try
> > >> > # alog -ot boot
> > >> > to see what is happening during boot.
> > >> >
> > >> > Regards,
> > >> > Andreas
> > >> >
> > >>
> > >> Hello Andreas,
> > >>
> > >> I did, and it simply says something like "Performing all automatic
> > >> mounts." (I don't have it here in front of me, so I'm not sure of
the
> > >> exact wording.) But it showed nothing unusual at all.
> > >>
> > >> Thanks,
> > >> Steve
> > >
> > > Hallo Steve,
> > >
> > > I see. Question: why do you limit the number of retries for the mount
to
> > > five? Default is 10000 IIRC. So if there should be some sort of timing
> > > problem you might simply try remove the limitation on retries first
and
> > > watch what's happening then. With intr and bg set, this should not
> > > result in problems. If increasing the number of retries works (i.e.
the
> > > fs is mounted) you are on the right track. Then you might reduce the
> > > value to 5000, then 2500 ... you are getting the idea.
> > >
> > > HTH,
> > > Andreas
> > >
> >
> > Hi Andreas,
> >
> > Thanks for the ideas. We chose the retries value at random, because we
> > needed to limit the impact on production machines if the remote host
> > became unavailable. (It did once, and we took a lot of heat when
systems
> > became unresponsive.) I'll try with larger values and see what happens.
> >
> > Again, thanks!
> > Steve
>
> Hi Andreas,
>
> I increased the retries to 2000 (the default is 1000) and also set it
> to hard mount, but still no success. Here is the current
> /etc/filesystems entry:
>
> /Common:
> dev = "Common"
> vfs = nfs
> nodename = NFSServer
> mount = true
> options = ro,bg,hard,intr,retry=2000,retrans=3
> account = false
>
> Any other thoughts?
>
> Steve

Hallo Steve,

that still sounds like a timing problem. Two things come to my mind. There
seems to be sth. missing at the time when the server tries to mount. Firstly
you should check where in the inittab the /etc/rc.nfs is called. Make sure
that the rc.tcpip is called at the right time for nfs (portmapper for rpc!).

Secondly, Question: are you using DNS or a local /etc/hosts to resolve
"NFSServer" during boot? Should you use DNS I would suggest to change the
resolver to /etc/hosts first. Alternatively you might mount the nfs mounts
at the very end of your inittab via some rc.local. As you can mount manually
after boot this might be the most promising way out.

Last thought: while I am not aware of some particular hot or emergency fix
for 5.2 nfs filesets there where quite some for the nfs.client. Make sure,
you've got the latest fixlevel installed.

HTH,
Andreas



Relevant Pages

  • RE: Book on Pre-MATH for cryptography and cryptanalysis. Reply
    ... He'll be witnessing contrary to eager Mohammar until his mount ... When did Haji finish the matrix across the ... Somebody wildly reduce against Steve when the ...
    (sci.crypt)
  • Re: DOS app very slow on VPC7 4 Mac
    ... My Win '98 is on a 'product recovery CD' for the IBM ... Using your VPC7 Win98 container I was able to mount the Cd ... >Is the floppy disk image you refer to above the win98emergency boot ... Steve Jain, Virtual Machine MVP ...
    (microsoft.public.mac.virtualpc)
  • RE: FTDISK warning messages in Exchange 2003 server
    ... From what Steve has ... it appears that Drive Z is not a mount point? ... > Mike Rosado ... >> determine if these warning messages are something to be concerned about. ...
    (microsoft.public.windows.server.clustering)
  • Re: DAB in the Real World
    ... across on this newsgroup is calling me an arse! ... You are Steve ... Hurley, are you not? ... As I'm not trying to mount a one man crusade, ...
    (alt.radio.digital)
  • Re: NFS mount on AIX 5.2
    ... >> Hallo Steve, ... >> problem you might simply try remove the limitation on retries first and ... >> watch what's happening then. ... > Hi Andreas, ...
    (comp.unix.aix)