bash-2.05a# showmount
acdb1.arp.cn: RPC: 1832-019 Program not registered
启动portmap和nfs守护进程
---startsrc -s portmap
---startsrc -g nfs
bash-2.05a# startsrc -g nfs
0513-029 The biod Subsystem is already active.
Multiple instances are not supported.
0513-059 The nfsd Subsystem has been started. Subsystem PID is 516138.
0513-059 The rpc.mountd Subsystem has been started. Subsystem PID is 688310.
0513-029 The rpc.lockd Subsystem is already active.
Multiple instances are not supported.
0513-029 The rpc.statd Subsystem is already active.
Multiple instances are not supported.
bash-2.05a# mount 172.31.0.231:/nfs /mnt/nfs/
mount: giving up on:
172.31.0.231:/nfs
vmount: Not owner
bash-2.05a# nfso -a
portcheck = 0
udpchecksum = 1
nfs_socketsize = 600000
nfs_tcp_socketsize = 600000
nfs_setattr_error = 0
nfs_gather_threshold = 4096
nfs_repeat_messages = 0
nfs_udp_duplicate_cache_size = 5000
nfs_tcp_duplicate_cache_size = 5000
nfs_server_base_priority = 0
nfs_dynamic_retrans = 1
nfs_iopace_pages = 0
nfs_max_connections = 0
nfs_max_threads = 3891
nfs_use_reserved_ports = 0
nfs_device_specific_bufs = 1
nfs_server_clread = 1
nfs_rfc1323 = 0
nfs_max_write_size = 32768
nfs_max_read_size = 32768
nfs_allow_all_signals = 0
nfs_v2_pdts = 1
nfs_v3_pdts = 1
nfs_v2_vm_bufs = 1000
nfs_v3_vm_bufs = 1000
nfs_securenfs_authtimeout = 0
nfs_v3_server_readdirplus = 1
lockd_debug_level = 0
statd_debug_level = 0
statd_max_threads = 50
bash-2.05a# nfso -o nfs_use_reserved_ports=1
Setting nfs_use_reserved_ports to 1
bash-2.05a# nfso -a
portcheck = 0
udpchecksum = 1
nfs_socketsize = 600000
nfs_tcp_socketsize = 600000
nfs_setattr_error = 0
nfs_gather_threshold = 4096
nfs_repeat_messages = 0
nfs_udp_duplicate_cache_size = 5000
nfs_tcp_duplicate_cache_size = 5000
nfs_server_base_priority = 0
nfs_dynamic_retrans = 1
nfs_iopace_pages = 0
nfs_max_connections = 0
nfs_max_threads = 3891
nfs_use_reserved_ports = 1
nfs_device_specific_bufs = 1
nfs_server_clread = 1
nfs_rfc1323 = 0
nfs_max_write_size = 32768
nfs_max_read_size = 32768
nfs_allow_all_signals = 0
nfs_v2_pdts = 1
nfs_v3_pdts = 1
nfs_v2_vm_bufs = 1000
nfs_v3_vm_bufs = 1000
nfs_securenfs_authtimeout = 0
nfs_v3_server_readdirplus = 1
lockd_debug_level = 0
statd_debug_level = 0
statd_max_threads = 50
bash-2.05a# mount 172.31.0.231:/nfs /mnt/nfs/
bash-2.05a# ls /mnt/nfs/
a
bash-2.05a#
bash-2.05a# showmount -e 172.31.0.231
export list for 172.31.0.231:
/nfs (everyone)
其nfso可见
阅读(3001) | 评论(0) | 转发(0) |