NFS守护进程没有启动,并显示错误信息“内核没有伪根支持”

我的nfs守护进程不再启动了。 我在syslog中看到以下条目:

Sep 26 18:21:10 VOXWEBPRODDHNCGN001 mountd[3401]: Kernel does not have pseudo root support. Sep 26 18:21:10 VOXWEBPRODDHNCGN001 mountd[3401]: NFS v4 mounts will be disabled unless fsid=0 Sep 26 18:21:10 VOXWEBPRODDHNCGN001 mountd[3401]: is specfied in /etc/exports file. 

可能是什么问题?

看起来你没有在内核中内置NFS服务器支持。 检查以下命令的输出:

 grep NFSD /boot/config-`uname -r` 

您需要CONFIG_NFSD=mCONFIG_NFSD=y