Configure NFS service under HP-UX-Linux Enterprise Application-Linux server application information, the following is read details. Test environment:
Server: HP-UX hptest B .11.23 U ia64 0554705817 unlimited-user license
IP: 192.168.11.204
Client: Linux uitnode2 2.6.21.7 #3 SMP Tue Aug 21 15:33:20 CST 2007 i686 i686 i386 GNU/Linux
IP = 192.168.11.233
Run the nfs. server script to start the NFS service.
#/Sbin/init. d/nfs. server start
Modify the/etc/exports file and add the directory to be shared through the NFS service.
# Vi/etc/exports
/Testhp-root = 192.168.11.233 (only one client is added here. If multiple clients exist, separate them)
Refresh the NFS service and share the shared directory.
# Exportfs-
Client mounting (executed on the client)
# Mount-t nfs 192.168.11.204:/testhp/tmp
Check whether mounting is successful
# Mount
192.168.11.204:/testhp
589824 312672 275008 54%/tmp
The above information indicates that the mounting is successful. You can write data verification to the/tmp directory.
If an exception occurs when the shared directory is shared or the mounting fails, check whether NFS or MOUNTD has been started and registered in rpcbind/portmap.
# Rpcinfo-p
Program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100068 2 udp 49153 cmsd
100068 3 udp 49153 cmsd
100068 4 udp 49153 cmsd
100068 5 udp 49153 cmsd
100083 1 tcp 49152 ttdbserver
100005 1 udp 53960 mountd
100005 3 udp 53960 mountd
100005 1 tcp 51240 mountd
100005 3 tcp 51240 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100024 1 tcp 51241 status
100024 1 udp 53961 status
100021 1 tcp 51242 nlockmgr
100021 1 udp 53966 nlockmgr
100021 3 tcp 51243 nlockmgr
100021 3 udp 53967 nlockmgr
100021 4 tcp 51244 nlockmgr
100021 4 udp 53968 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 51245 nlockmgr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service