1. 程式人生 > >客戶端如何掛載和解除安裝nfs伺服器檔案

客戶端如何掛載和解除安裝nfs伺服器檔案

以只讀的方式掛載

mount -t nfs  -o ro,bg,soft,nolock 192.168.1.100:/tmp /nfs/tmp

以寫的方式掛載

mount -t nfs  -o rw,bg,soft,nolock 192.168.1.100:/tmp /nfs/tmp

解除安裝

umount /nfs/tmp