自己提问,自己回复吧。
最近找了一些资料,发现这跟文件系统无关。
我注意到RHAS上用的rpm包是nfs-utils,这个包包括了nfs-kernel-server,nfs-user-server和nfs-common。
而我apt-get install时装的是nfs-user-server。
换装nfs-kernel-server后一切正常了。
$apt-cache show nfs-user-server
......
Description: User space NFS server
This package contains all necessary programs to make your Linux machine act as an NFS server, being an NFS daemon (rpc.nfsd), a mount daemon (rpc.mountd).
Unlike other NFS daemons, this NFS server runs entirely in user space. This makes it a tad slower than other NFS implementations, and also introduces some awkwardnesses in the semantics (for instance, moving a file to a different directory will render its file handle invalid).
There is currently no support for file locking.
由nfs-user-server的描述看不太出来为什么上述的Read-only问题。似乎是跟运行在用户态有关?
不管怎么样,系统正常工作了。还是很高兴的:-) |