1753284 Members
5480 Online
108792 Solutions
New Discussion юеВ

11.23 NFS and AutoFS

 
SOLVED
Go to solution
Pete Randall
Outstanding Contributor

Re: 11.23 NFS and AutoFS

Sorry but I don't see where that applies to my situation.


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: 11.23 NFS and AutoFS

Shalom,

11.11 works with this Novell server.
11.23 does not.

I would check the patch database against the error message and the keyword Novell. Read the notes see if there is something that applies.

If in a hurry, put together a large nfs patch set, install it and hope the shotgun gets the problem.

I used to work with victor and if you published the configuration files he or I might be able to spot something.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: 11.23 NFS and AutoFS

No patch hits with any keywords other than just "nfs", so I applied all the latest nfs and autofs patches. Still no joy.

;^(


Pete

Pete
Dennis Handly
Acclaimed Contributor

Re: 11.23 NFS and AutoFS

Have you bypassed the automounter and tried hard mounting common? Do it somewhere else to check, /var/tmp/common/.
Dave Olker
HPE Pro

Re: 11.23 NFS and AutoFS

Hi Pete,

Let's take a look at the working and failing system to see what they're doing.

On the 11.11 NFS client, issue the commands:

# nfsstat -m
# rpcinfo -p

I'd also like to see the AutoFS maps used to mount the filesystem from the Novell server.

Then on the 11.23 NFS client, issue the command:

# nfsstat -m

and collect the AutoFS maps used by the 11.23 system to mount the Novell filesystem (unless they are the same maps being shared via NIS or something).

Regards,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Pete Randall
Outstanding Contributor

Re: 11.23 NFS and AutoFS

On the 11.11 client:

# nfsstat -m
# rpcinfo -p 130.1.0.245
program vers proto port service
100000 2 udp 111 rpcbind
100000 2 tcp 111 rpcbind
100007 2 udp 902 ypbind
100009 1 udp 903 yppasswdd
100009 1 tcp 846 yppasswdd
100004 2 udp 904 ypserv
100004 1 udp 961 ypserv
100004 1 tcp 731 ypserv
100005 1 udp 1234 mountd
100005 2 udp 1234 mountd
100005 3 udp 1234 mountd
100005 1 tcp 1234 mountd
100005 2 tcp 1234 mountd
100005 3 tcp 1234 mountd
100003 2 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 udp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32779 nlockmgr
100021 2 udp 32779 nlockmgr
100021 3 udp 32779 nlockmgr
100021 4 udp 32779 nlockmgr
100021 1 tcp 32779 nlockmgr
100021 2 tcp 32779 nlockmgr
100021 3 tcp 32779 nlockmgr
100021 4 tcp 32779 nlockmgr
100024 1 udp 32778 status
100024 1 tcp 32778 status
# cat /etc/auto_master
/nfs -hosts -nosuid,hard,intr,bg


On the 11.23 client:

# nfsstat -m
# cat /etc/auto_master
/nfs -hosts -nosuid,hard,intr

Both AutoFS maps used to have "bg" specified until an hour or so ago when I read that it wasn't allowed for an automounted directory. Taking it out didn't help.


Pete

Pete
Dave Olker
HPE Pro

Re: 11.23 NFS and AutoFS

I guess I should have made it clear that before issuing the "nfsstat -m" commands you'd need to actually mount the filesystems so they'd show up in the output. :)

So, on both systems please force AutoFS to mount the filesystem first then issue the nfsstat -m command on both systems.

Also, can you tell me if the 11.11 system is using the original automounter, the original (ONC 1.2) AutoFS, or the Enhanced AutoFS?

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Pete Randall
Outstanding Contributor

Re: 11.23 NFS and AutoFS

The 11.11 system is using the original automounter and I attempted to mount before issuing the nfsstat command.

11.11:
# ll /nfs/farm/prod1
total 0
dr-xr-xr-x 3 root root 96 Feb 17 13:36 BTID
dr-xr-xr-x 4 root root 96 Feb 17 13:36 WP
drwxrwxrwx 1 root root 4096 Feb 5 2007 allflex
drwxrwxrwx 1 root root 4096 Feb 13 13:12 common
drwxrwxrwx 1 root root 4096 Feb 16 12:54 dv
drwxrwxrwx 1 root root 4096 Dec 13 2005 m9
drwxrwxrwx 1 root root 4096 Jun 6 2008 ped
dr-xr-xr-x 4 root root 96 Feb 17 13:36 shared
drwxrwxrwx 1 root root 4096 Feb 1 2008 tristar
drwxrwxrwx 1 root root 4096 Mar 1 2004 web
# nfsstat -m
#

11.23
# ll /nfs/farm/prod1
total 0
dr-xr-xr-x 1 root root 1 Feb 17 13:30 BTID
dr-xr-xr-x 1 root root 1 Feb 17 13:30 WP
dr-xr-xr-x 1 root root 1 Feb 17 13:30 allflex
dr-xr-xr-x 1 root root 1 Feb 17 13:30 common
dr-xr-xr-x 1 root root 1 Feb 17 13:30 dv
dr-xr-xr-x 1 root root 1 Feb 17 13:30 m9
dr-xr-xr-x 1 root root 1 Feb 17 13:30 ped
dr-xr-xr-x 1 root root 1 Feb 17 13:30 shared
dr-xr-xr-x 1 root root 1 Feb 17 13:30 tristar
dr-xr-xr-x 1 root root 1 Feb 17 13:30 web
# nfsstat -m
#


Pete

Pete
Dave Olker
HPE Pro

Re: 11.23 NFS and AutoFS

On the working 11.11 system, try this:

# cd /nfs/farm/prod1/common
# nfsstat -m

Hopefully that will show the NFS mount.

Looking at the AutoFS log you provided:

AUTOFS_ACTION
Feb 16 12:32:50 t1 MOUNT REQUEST: Mon Feb 16 12:32:50 2009
Feb 16 12:32:50 t1 name=farm[/prod1/common] map=-hosts opts=nosuid,hard,intr,bg,vers=2 path=/n
fs/farm/prod1/common direct=1
Feb 16 12:32:50 t1 Port numbers are 666, 666
Feb 16 12:32:50 t1 Port match
Feb 16 12:32:50 t1 MOUNT REPLY : status=13, AUTOFS_DONE

The NFS server is denying the last mount request with "status=13". That too would explain why the overall NFS mount is failing.

As Dennis suggested earlier, try doing a manual NFS mount on the 11.23 system just to take AutoFS out of the picture for the moment:

11.23> mkdir /test1
11.23> mount farm:/prod1/common /test1

If that works, issue the "nfsstat -m" command so I can see what got mounted.

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Pete Randall
Outstanding Contributor

Re: 11.23 NFS and AutoFS

Dennis & Dave,

11.11# cd /nfs/farm/prod1/common
11.11# nfsstat -m
11.11#

11.23# mkdir /test1
11.23# mount farm:/prod1/common /test1
No such file or directory


The only time I can get anything out of the nfsstat command is on the 11.23 system when I cause one of the 11.11 systems to get automounted.


Pete

Pete