- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS questions ..
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2001 01:55 PM
12-01-2001 01:55 PM
I am playing around with NFS (yes this is how I spend my saturdays away from work). Well I have 2 systems. Lupus and Lvadm02.Lupus is my nfs server and lvadm02 is my nfs client and I am exporting the directory /nfs_test.It seems I have it working fine. If I am in lvadm02 and touch a file in /nfs_test then go to lupus I see it and the same thing vise versa. I do a bdf on lvadm02 and I see
lupus:/nfs_test 143360 32880 103632 24% /nfs_test
But if I am on Lupus and I do the command showmount I get an error
#showmount
showmount: lupus: RPC: Program not registered
And
#showmount -a
showmount: lupus: RPC: Program not registered
Is there something wrong here?
I am using HPUX 11.0. I do
#cat /etc/rmtab
#vadm02.admin.networkip.net:/nfs_test
lvadm02.admin.networkip.net:/nfs_test
And I see where I have the directory mounted.So I dont know why the showmount commands are not working.
Part2.
In my config for the client lvadm02 when I did
/sbin/init.d/nfs.clent stop|start
There is one line that bothers me
NFS_SERVER not set to one in /etc/rc.config.d/nfsconf, exiting.
I know that in /etc/rc.config.d/nfsconf I have the NFS_SERVER set to 0.SO is this an error or is it just telling me.
THat I have the NFS_SERVER not set to one and that NFS_SERVER is not going to start.
Well thats it ..
thanks
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2001 03:13 PM
12-01-2001 03:13 PM
Solutionrpcbind
rpc.lockd
rpc.statd
Also check name resolution (nsswitch.conf and/or resolv.conf). Try with the IP address instead of hostname.
Try with trace (10.20) or tusc (11x) to trace what showmount try to do.
I already got this message before, but I forgot how I fix it but it's not a big deal since I forgot them .. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2001 03:41 PM
12-01-2001 03:41 PM
Re: NFS questions ..
Seems that one of your nfs related daemons is not running (rpc.mountd?). That's why showmount which queries info through the rpc is not able to give the mount info.
Shutdown and restart the nfs services on your client system.
(/sbin/init.d/nfs.client stop (and then start).
For more info on RPC check:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=70492b380760ab9588/screen=ckiDisplayDocument?docId=200000048194523
Regarding your other question, the message is a normalone generated by the script. You can cat the nfs.client script and see the echo statement.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2001 04:37 PM
12-01-2001 04:37 PM
Re: NFS questions ..
# ps -ef|grep rpc
root 1260 1 0 Nov 7 ? 3:30 /opt/dce/sbin/rpcd
root 5395 1 0 15:26:21 ? 0:00 /usr/sbin/rpc.statd
root 8470 8177 1 18:35:49 pts/tb 0:00 grep rpc
root 5302 1 0 15:25:43 ? 0:00 /usr/sbin/rpcbind
root 8427 1 0 18:35:03 ? 0:00 /usr/sbin/rpc.mountd
root 5401 1 0 15:26:21 ? 0:00 /usr/sbin/rpc.lockd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2001 04:46 PM
12-01-2001 04:46 PM
Re: NFS questions ..
when I do bdf on my nfs client.
I see
lupus:/nfs_test 143360 32872 103632 24% /nfs_test
Where is the size set?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2001 09:24 PM
12-01-2001 09:24 PM
Re: NFS questions ..
It could be that everything is set up fine,
but some networkerrors occured (we got similar warnings after a networkproblem). Restarting
all the NFS-services usually does the trick :
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.core stop
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.client start
/sbin/init.d/nfs.server start
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2001 11:57 PM
12-01-2001 11:57 PM
Re: NFS questions ..
and still
showmount: lupus: RPC: Program not registered
(NET-lupus) /eteam# showmount -a
showmount: lupus: RPC: Program not registered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 06:18 AM
12-02-2001 06:18 AM
Re: NFS questions ..
Showmount will uses rpc.mountd to show who has mount filesystem from this server.
#showmount -e (does it shows anything.
It sould show your available exported filesystem from this server
Sachin Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 08:23 AM
12-02-2001 08:23 AM
Re: NFS questions ..
it worked then I ran the other showmount commands per the man pages. And her are the results.
(NET-lupus) /# showmount -e
export list for lupus:
/nfs_test (everyone)
(NET-lupus) /# showmount -a
lvadm02.admin.networkip.net:/nfs_test
(NET-lupus) /# showmount
lvadm02.admin.networkip.net
(NET-lupus) /# showmount -d
/nfs_test
That is the right output.Why did it not work last night after I restarted everything but works now in the morning? Does it take it a few minutes to "mount" the system?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 11:46 AM
12-02-2001 11:46 AM
Re: NFS questions ..
Here is the solution to the problem of rpc program not registered. Have a look at the threads below,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=ece7c83a06c4ebe60d/screen=ckiDisplayDocument?docId=200000006430150
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=ece7c83a06c4ebe60d/screen=ckiDisplayDocument?docId=200000045025681
Seems like your problem has been solved, so this is just for your info.
Hope this helps.
Regds