windows storage server 2016 NFS 配置
-
-
创建 NFS 共享
关于此任务
要创建 NFS 共享,请执行以下操作:步骤
在 服务器管理器窗口中,请转至 文件和存储服务服务器角色,然后单击 共享。 将显示有 共享、 卷和 配额窗格的页面。
要创建新的共享,请在 共享部分,执行下面任务中的任意一个:
单击 要创建文件共享,启动新共享向导链接。
从 任务下拉菜单中选择 新共享。
将显示 新共享向导窗口。
在 为此共享选择配置文件页上,根据要求选择 文件共享配置文件(NFS 共享 - 快速或高级) ,然后单击 下一步。
在 为此共享选择服务器和路径窗口中,为此新共享选择 服务器名称和 共享位置,然后单击 下一步。 共享位置可通过 卷选择或者通过 键入自定义路径选择。
在 指定共享名称窗口中,请输入 共享名和 共享描述,然后单击 下一步。 如果共享文件夹不存在,共享的本地路径会自动创建文件夹。
在 指定身份验证方法 窗口中,为 NFS 共享选择身份验证方法,然后单击 Next( 下一步)。
注: 只有已在域用户列表中添加的 UNIX 用户才有权访问 NFS 共享。如果已为 NFS 共享启用了匿名访问,则所有 UNIX 用户都可以访问此共享。
在 配置共享设置窗口内,请选择所需的设置,然后单击 下一步。
在 指定权限控制访问窗口上,请在文件共享上设置权限,然后单击 下一步。
根据需要在不同的组合中设置文件夹权限,然后单击 下一步。
在 确认选择窗口中,确认设置,然后单击 创建。 查看结果窗口将显示成功创建共享的信息。
单击 Close(关闭)以关闭该向导。 -
https://blog.bobbyallen.me/2018/01/18/windows-server-2016-as-an-nfs-server-for-linux-clients/
持久化
172.25.87.20:/VSVR-WEB040_data /data nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0 -
Share and Storage Management
Start Share and Storage Management.
In the Share and Storage Management console, in the details pane, click the Shares tab, and then click <share_name> (where share_name is the name of the NFS share).
In the Actions pane, click Properties.
The <share_name> Properties dialog box displays.
In the <share_name> Properties dialog box, on the NFS Authentication tab, select the Enable unmapped user access check box.
On the NFS Authentication tab, click Allow unmapped UNIX user access, and then click OK.
Close the Share and Storage Management console.