windows 挂载 Ubuntu 的 nfs 硬盘
2018-07-20 tech windows linux storage nfs 1 mins 8 图 556 字
这篇文章记录如何在win下挂载 Linux nfs 硬盘。
linux下开启 NFS 服务
modprobe nfs
modprobe nfsd
apt-get -y install nfs-common
cat <<EOF > /etc/exports
/nfs *(rw,sync,no_subtree_check,no_root_squash)
EOF
exportfs -av
Win 下开启 NFS 功能
挂载
mount \\10.8.11.192\nfs x:\
设置可写
使用 mount 命令,默认挂载的文件用户 uid=-2,gid=-2,将其修改为root用户0和用户组0:
打开注册表: