On Sun, May 6, 2012 at 3:37 AM, zxq9 <[log in to unmask]> wrote: > On 05/05/2012 07:26 PM, Tom H wrote: >> On Thu, May 3, 2012 at 4:48 PM, zxq9<[log in to unmask]> wrote: >>>>> [root@services sysconfig]# vim nfs >>>>> MOUNTD_NFS_V1="no" >>>>> MOUNTD_NFS_V2="no" >>>>> MOUNTD_NFS_V3="no" >>>> >>>> I'm not sure whether this is still the case but you used to need a >>>> "yes" for one of these because nfsv4 needs mountd to export mounts >>>> even though mounted isn't used for mounting an export and doesn't need >>>> to be allowed through the firewall. >>> >>> Fortunately this is no longer the case -- NFSv4 is much more >>> self-contained/simpler than previous versions and a lot of this is due to >>> simplification of the formerly bizaar mountd baggage it used to carry. >> >> You're right, thanks. Although with the config file below, mountd no >> longer starts but showmount no longer works... Unless there's an >> alternative to "showmount -d" and showmount -e", disabling the mountd >> daemon isn't worth the price. > > You're right. showmount doesn't work without mountd running. I never noticed > that because I never have a call to use showmount, but if you do then this > might be an issue. automount, fstab etups, etc. I'd forgotten about "exportfs" and "exportfs -v" so "showmount -e" isn't needed. I can't think of where to find out on a server what export is mounted by a client. I've looked at obvious locations under "/proc" without success. >> (By the way, on 6.2 - and perhaps earlier 6s - 'MOUNTD_NFS_V1="no"' >> isn't necessary.) >> >> # cat /etc/sysconfig/nfs >> RPCNFSDARGS="-N 2 -N 3" >> LOCKD_TCPPORT=4001 >> LOCKD_UDPPORT=4001 >> MOUNTD_PORT=4002 >> RPCMOUNTDOPTS="-N 2 -N 3" >> STATD_PORT=4003 >> STATD_OUTGOING_PORT=4004 >> RQUOTAD="no" >> RQUOTAD_PORT=4005 >> #RPCRQUOTADOPTS="" > > MOUNTD_NFS_V1="no" > > OK, you got me. That was pretty funny -- not sure why I put that in. Missed > my coffee that day? You must've carried over an old "/etc/sysconfig/nfs".