cancel
Showing results for 
Search instead for 
Did you mean: 

NFS not working

 
SOLVED
Go to solution
rajesh73
Super Advisor

NFS not working

NFS not working,i am try to run this command in source server

source server os version :hp-ux 11.23
Destination server os version :hp-ux 11.31

command :shareall -F nfs

Error:
share: Running old NFS library, requires new NFS library
share: Running old NFS library, requires new NFS library


kindly help me how to solve the problem

13 REPLIES 13
Dennis Handly
Acclaimed Contributor

Re: NFS not working

Hmm, I thought that shareall(1m) is only available on 11.31, the destination server.

You should use: exportfs -a
P Muralidhar Kini
Honored Contributor
Solution

Re: NFS not working

Vijaykumar_1
Valued Contributor

Re: NFS not working

On HP-UX servers running 11i v1 and 11i v2, you need to use exportfs command. exportfs shares the filesystems that are updated in /etc/exports.

Where as on HP-UX 11i v3 you need to use shareall command to share the filesystems.The filesystems are updated in the file /etc/dfs/dfstab.

Hope this helps..
rajesh73
Super Advisor

Re: NFS not working

still same problem in source server.

source server output
# nfsstat -m
# swlist |grep ONC
#

destination server output
#nfsstat -m
#swlist -l bundle |grep ONC
NCplus B.11.31.06.01 ONC+ 2.3
#

kindly advice their is any patch installation need for source server
Dennis Handly
Acclaimed Contributor

Re: NFS not working

>still same problem in source server.

What problem? Are you using?: exportfs -a
rajesh73
Super Advisor

Re: NFS not working

Hi kindly find the snap shot.


# shareall -F nfs
share: Running old NFS library, requires new NFS library
share: Running old NFS library, requires new NFS library
# exportfs -a
# shareall -F nfs
share: Running old NFS library, requires new NFS library
share: Running old NFS library, requires new NFS library
rajesh73
Super Advisor

Re: NFS not working

please help .this is urgent
Pete Randall
Outstanding Contributor

Re: NFS not working

What Dennis has patiently been trying to tell you is that the shareall command is not available in 11.23. Actually the command is there but the support for it is not. That is what your error message is telling you: you need the newer version of NFS which is provided with 11.31 in order to use the shareall command.

When you ran "exportfs -a" you accomplished the same thing as you would if your shareall command was enabled on 11.23: your NFS shares should be available now.


Pete

Pete
Dennis Handly
Acclaimed Contributor

Re: NFS not working

>Pete: When you ran "exportfs -a" you accomplished the same thing

Right. You can check this by looking at /etc/xtab.