- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to stop nfs services
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
Discussions
Discussions
Forums
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
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
тАО02-10-2011 12:16 AM
тАО02-10-2011 12:16 AM
how to stop nfs services
Can somebody explain what is the following processes
$ ps -ef | grep nfs
root 33 0 0 14:20:25 ? 0:00 nfs4clntkd
root 32 0 0 14:20:25 ? 0:00 nfs_failover
root 31 0 0 14:20:25 ? 0:00 nfs_async_io
root 29 0 0 14:20:25 ? 0:00 nfs_reclaim
root 34 0 0 14:20:25 ? 0:00 nfs4_async_io
root 103 0 0 14:20:53 ? 0:00 nfs4srvkd
root 102 0 0 14:20:53 ? 0:00 nfslogkd
I don't want nfs service be running at all so I execute:
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop
but mentioned processes still run on the HP-UX B.11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2011 12:32 AM
тАО02-10-2011 12:32 AM
Re: how to stop nfs services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2011 01:22 AM
тАО02-10-2011 01:22 AM
Re: how to stop nfs services
I received the following message for the
$ /usr/sbin/showmount -a
showmount: HP-UX: RPC: Rpcbind failure - RPC: Unable to receive
In any case I have NFS_SERVER=0 in the file
/etc/rc.config.d/nfsconf so the server should not be running, but there is still this proesses
$ ps -ef | grep nfs
root 33 0 0 14:20:25 ? 0:00 nfs4clntkd
root 32 0 0 14:20:25 ? 0:00 nfs_failover
root 31 0 0 14:20:25 ? 0:00 nfs_async_io
root 29 0 0 14:20:25 ? 0:00 nfs_reclaim
root 34 0 0 14:20:25 ? 0:00 nfs4_async_io
root 103 0 0 14:20:53 ? 0:00 nfs4srvkd
root 102 0 0 14:20:53 ? 0:00 nfslogkd
Do i need them? How can I force them not to start after reboot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2011 02:21 AM
тАО02-10-2011 02:21 AM
Re: how to stop nfs services
My previous doc reference is obsolete, you are in NFSv4, so please check "Disabling the NFS Server" into this updated doc:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02153184/c02153184.pdf
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2011 06:26 AM
тАО02-10-2011 06:26 AM
Re: how to stop nfs services
$ sudo unshareall -F nfs
sed: Cannot find or open file /etc/dfs/sharetab.
My nfsconf file
$ cat /etc/rc.config.d/nfsconf
#********************** NFSCONF ******************************************
#
# NFS Configuration File.
#
# @(#) nfsconf $Revision: $
#
#***************************************************************************
# Core configuration variables
#
# NFS_CORE: If set to 0, services in nfs.core and
# rpcbind will not be started. rpcbind is needed
# for NFS, AutoFS, and other applications.
# Default is 1.
#
# RPCBIND_OPTIONS: Options to be passed to rpcbind when it is
# started. See rpcbind(1M). Default is "".
#
#***************************************************************************
NFS_CORE=0
RPCBIND_OPTIONS=""
#***************************************************************************
# Remote lock manager configuration variables
#
# LOCKMGR: 1 if this node is an NFS client or an NFS
# server or remote lock manager is needed
# (NFS_CORE must be set to 1). 0 if not.
# Default is 1.
#
# LOCKD_OPTIONS: Options to be passed to rpc.lockd when it is
# started. See lockd(1M). Default is "".
#
# STATD_OPTIONS: Options to be passed to rpc.statd when it is
# started. See statd(1M). Default is "".
#
#***************************************************************************
LOCKMGR=1
LOCKD_OPTIONS=""
STATD_OPTIONS=""
#***************************************************************************
# NFS client configuration variables
#
# NFS_CLIENT: Is this node is an NFS client (NFS_CORE must be
# set to 1). 0 if not. Default is 1.
#
#***************************************************************************
NFS_CLIENT=0
#***************************************************************************
# NFS server configuration variables
#
# NFS_SERVER: Is this node is an NFS server (NFS_CORE must be
# set to 1). 0 if not. Default is 1.
#
# PCNFS_SERVER: Is this node is a server for PC-NFS requests.
# This variable controls the startup of the
# pcnfsd server. See pcnfsd(1M). Default is 0.
#
# START_NFSLOGD: Is nfslogd is started at startup. 0 if not.
# This variable controls the startup of nfslogd.
# See nfslogd(1M). Default is 0.
#
# START_MOUNTD: 1 if mountd is started at startup. 0 if not.
# Default is 1.
#
# MOUNTD_OPTIONS: Options to be passed to rpc.mountd when it is
# started. See mountd(1M). Default is "".
#
#***************************************************************************
NFS_SERVER=0
PCNFS_SERVER=0
START_NFSLOGD=0
START_MOUNTD=1
MOUNTD_OPTIONS=""
#***************************************************************************
# AutoFS configuration variables
#
# AUTOFS: 1 if this node uses AutoFS (NFS_CORE must be set to 1).
# 0 if not. Default is 1.
# AUTOMOUNT_OPTIONS: Options to be passed to automount when it is run.
# See automount (1M). Default is "".
# AUTOMOUNTD_OPTIONS: Options to be passed to automountd when it is started.
# See automountd (1M). Default is "".
# AUTO_MASTER: The AutoFS master map file. See automount (1M).
# Default is "/etc/auto_master".
#***************************************************************************
AUTOFS=0
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
AUTO_MASTER="/etc/auto_master"
#********************** End of NFSCONF **************************
AUTOMOUNT=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2011 12:03 AM
тАО02-11-2011 12:03 AM
Re: how to stop nfs services
Your NFS configuration file shows you have disabled NFS Server, Client service.
Your NFS Service is already running in the server. I think you have update this files after service got started.
For stopping currently running NFS Service please run the following commmands.
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop
Manoj K
Manoj K