NFS掛載 解除安裝

2022-02-15 01:52:22 字數 587 閱讀 7862

掛載命令

[root@web01 ~]# mount -t nfs 172.16.1.31:/data /data

mount               #掛載命令

-t                       #指定掛載的檔案型別

nfs                    #掛載型別是nfs

172.16.1.31      #遠端掛載的主機ip

:/data                #遠端掛載的主機目錄

/data                 #本地要掛載的目錄

檢視掛載點

[root@web01 ~]# showmount -e 172.16.1.31

export list for 172.16.1.31:

/data 172.16.1.0/24

解除安裝

1.解除安裝時,不要在要解除安裝的目錄裡面進行解除安裝

2.執行掛載目錄時,本地要掛載的目錄盡量不要有資料,如果有資料,不會丟失只是被蓋住,取消掛載後仍然存在

NFS網域名稱掛載

nfs cat etc resolv.conf eof nameserver xx.xx.xx.xx eofnslookup xx.xx.xx.xx的網域名稱 華為物件儲存fusionstorage file掛載使用 mount t nfs o vers 3,timeo 600 fs23 stora...

nfs掛載失敗

目錄 root zeratul mkdir mnt sd0 root zeratul mount 192.168.28.195 nfsroot mnt sd0 t nfs o nolock cd mnt sd0 root zeratul sd0 ls root zeratul sd0 掛載完nfs結...

NFS 網路檔案系統 配置 掛載 解除安裝

部落格搬家了,最近同時更新,沒準什麼時候就完全搬走了 這個是新部落格位址,希望大家多多關照 實驗環境 兩台虛擬機器centos7.x 同處在乙個內網環境下 安裝軟體 yum install rpcbind yum install nfs utils 建立測試用的目錄 mkdir home share...