Operating System - HP-UX
1822194 Members
3896 Online
109640 Solutions
New Discussion юеВ

Re: HPUX NFS - Unable to mount NetWare NFS share

 
SOLVED
Go to solution
Henry Goverde
Frequent Advisor

HPUX NFS - Unable to mount NetWare NFS share

Hi,

I'm replacing an HPUX 10.20 server with new HW running HPUX 11.23. When I try to mount the NetWare NFS server share I get the message "No such file or directory" and am unable to mount.
Automounter is turned off on both HPUX servers.

The command showmount -e netwareserver shows that the filesystems are being exported. I tried creating a new NFS share on the NetWare side and a new mount directory on the HPUX side and get the same error. I tried manually mounting using the IP address of the NetWare server with the same result. I also stopped the NFS services and rebuilt the ioconfig (as I saw in another post) without any improvement.

I have a similar setup at another location and the mounting works OK there. Other than the patch bundle from December 2007 on the 11.23 that is not working, I can't determine any differences.

Any help or suggestions to get the 11.23 system to mount the remote filesystems would be appreciated.

Thanks in Advance,

Henry
8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: HPUX NFS - Unable to mount NetWare NFS share

Other than the obvious, did you mkdir the mount point?
mount ... special directory

I assume it is complaining about the "directory" part.
SKR_1
Trusted Contributor

Re: HPUX NFS - Unable to mount NetWare NFS share

Create Mount directories again.
Check and verify /etc/exports file, whether its having the server name entry.

Run below command

exportfs -a ( on NFS server)
Henry Goverde
Frequent Advisor

Re: HPUX NFS - Unable to mount NetWare NFS share

Hi,

Yes, the directories are in place with 777 rights.

Update:
I checked on the NetWare side (nfsserver logs) and the message that occurs when trying to mount from the new HPUX servers is:
NFS version 3 not supported for path .

Is there possibly something in the December patch bundle that disables earlier NFS version connection attempts?

Can the NFS client be configured to use NFS V2 for mounts?

Any other suggestions are welcome.

Thanks in Advance,

Henry
Tim Nelson
Honored Contributor
Solution

Re: HPUX NFS - Unable to mount NetWare NFS share

man mount_nfs to see the options on forcing the NFS version when the OS cannot figure it out y itself.

Cross check the mount options you are using on the server that works ?

I learned something new today, I did not know that Netware could export filesystems with UNIX native NFS. Cool, would have expected a need to have a netware client on the UNIX server.


Henry Goverde
Frequent Advisor

Re: HPUX NFS - Unable to mount NetWare NFS share

Thanks Tim.

I can mount using NFS V2 from the command line after checking the man entry.
mountpoint>

Please pardon my ignorance but is there a way to get this into the fstab file with the version 2 option?

Thanks in Advance,

Henry
Steven E. Protter
Exalted Contributor

Re: HPUX NFS - Unable to mount NetWare NFS share

Shalom,

Quick check usually works here.

From Linux or HP-UX

showmount -e hostname

hostname of the NFS server.

This will let you know what is shared if anything.

nmap hostname

From Linux will let you know if the right ports are open.

Taking a look at the syslog of the server system to see errors when you try and mount would be helpful.

/etc/exports can restrict access by hostname or IP address and that needs to be looked at.

Note that NFS implementation on 11.23 is a 3.0 implementation and its radically different than HP-UX 10.20

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
Henry Goverde
Frequent Advisor

Re: HPUX NFS - Unable to mount NetWare NFS share

Found the information I needed to correctly modify the fstab file. I will include it for anyone who has a similar problem in the future.

Modified the fstab line to include ",vers=2"
See below.

netwareNFSserver:/exported-dir /mount-point nfs rw,suid,soft,bg,vers=2 0 0

Thanks to everyone for their assistance.

Henry
Henry Goverde
Frequent Advisor

Re: HPUX NFS - Unable to mount NetWare NFS share

Thanks to all for taking the time to assist with this problem.