Re: NFS mount on AIX 5.2
From: Andreas Schulze (b79xan_at_gmx.de)
Date: 12/08/03
- Next message: news.puk.ac.za: "idebug problem"
- Previous message: Michael S. Androsov: "Re: Filesets installed"
- In reply to: Steve Bassler: "Re: NFS mount on AIX 5.2"
- Next in thread: Steve Bassler: "Re: NFS mount on AIX 5.2"
- Reply: Steve Bassler: "Re: NFS mount on AIX 5.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: news.puk.ac.za: "idebug problem"
- Previous message: Michael S. Androsov: "Re: Filesets installed"
- In reply to: Steve Bassler: "Re: NFS mount on AIX 5.2"
- Next in thread: Steve Bassler: "Re: NFS mount on AIX 5.2"
- Reply: Steve Bassler: "Re: NFS mount on AIX 5.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|