NFS Ubuntu Server 17.10 用戶端看不到已安裝的磁碟區

NFS Ubuntu Server 17.10 用戶端看不到已安裝的磁碟區

我有 Ubuntu Server 17.10,具有許多功能,NFS 伺服器也在家裡運行。另外,我在 /home/myaccount/hdd 點上安裝了 1Tb 磁碟區。一切正常,但客戶端看不到已安裝的磁碟區。 /etc/exports 是:/home/myaccount 192.168.1.0/24(rw、不安全、nohide、all_squash、anonuid=1000、anongid=1000、no_subtree_check)。怎麼了?

答案1

首先,我需要更改硬碟的擁有者: chown -hR nobody:nogroup /home/myaccount/hdd 然後我需要編輯 /etc/exports: vim /etc/exports /home/myaccount 192.168.1.0/24(rw ,sync, all_squash,crossmnt,no_subtree_check,fsid=0) 之後一切正常!也許有些選項並不重要...

相關內容