When attempting to mount the file system, the following error occurs:

exportfs requires fsid= for nfs export

Solution

It is necessary to set the value “fsid” any in the range from 1 to 255, and for each such mount point it must be unique.

In the file “/etc/exports” we describe our ball:

/run 192.168.1.0/24(rw,fsid=1,sync,no_root_squash,no_all_squash)

Rereading it:

exportfs -a

Now this directory can be mounted.


了解 Starx's Home 的更多信息

订阅后即可通过电子邮件收到最新文章。

分类: Linux