linux 磁盤掛載

磁盤掛載:


1、給需要掛載的盤授權

vim /etc/exports


/opt/manager/beian/ *(rw,async,no_root_squash)


2、重啓NFC服務

service nfs restart 或 /etc/rc.d/init.d/nfs restart


3、執行掛載命令

 mount -t nfs 172.16.1.83:/opt/manager/beian/ /opt/manager/beian/


備註:

在需要掛載的新機器上執行

172.16.1.83:/opt/manager/beian/指老服務器需要掛載的目錄盤

/opt/manager/beian/ 指新服務上掛載的目錄位置


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章