FreeBSD 10:NFS无法导出文件夹

我无法使用NFS导出文件夹。

/ etc / exports中

/storage/test -maproot=nobody client /storage/test1 -ro -maproot=nobody client /storage/test2 -ro -maproot=nobody client 

第一个文件夹testing工作正常,另外2我得到这个错误:

 Jul 18 11:10:40 server mountd[6499]: bad exports list line /storage/test1 -ro -maproot Jul 18 11:10:41 server mountd[6499]: can't change attributes for /storage/test1: Invalid radix node head, rn: 0 0xfffff80092530100 

文件系统是ZFS RAID Z2。

一个不能在同一个文件系统上生成多个挂载。 链接

使用此导出时:

 /storage/test /storage/test1 /storage/test2 -maproot=nobody client 

这可以工作,但是无法为文件夹指定特定的权限….

您可以使用“-alldirs”参数:

 /storage -alldirs -maproot=nobody client