解決nfs掛載經常卡死的問題

2021-10-06 22:48:50 字數 792 閱讀 6029

有同事的電腦掛載nfs老是卡死,但其它人的電腦沒有出現這個問題,經過網路查詢,最絡發現只要掛載時新增nfsvers=4.0就可以解決問題;

(base) [root@localhost ~]# cat /etc/fstab

## /etc/fstab

# created by anaconda on wed oct 23 06:14:11 2019

## accessible filesystems, by reference, are maintained under '/dev/disk'

# see man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info

#uuid=1b8294b3-07b7-48f8-b954-aa8022c404e8 /boot xfs defaults 0 0

/dev/vg_harddisk2/lv_harddisk2 /data xfs defaults 0 0

nfssever:/public /mnt nfs nfsvers=4.0 0 0

也可以用tcp的方式,可以有效解決「nfs:server is not responding,still trying 原因與解決方案」

nfsserver:/public /mnt   nfs  nolock,proto=tcp,nfsvers=4.0  0 0

NFS掛載遇到的問題

1.先建立192.168.1.3的掛載點 nfs nfs orcl nfs nfs orclstd 2.192.168.1.4上操作 root orcl rpm qa grep nfs 先檢視本機是否安裝有nfs包 root orcl vi etc exports 把需要掛載的目錄以及伺服器寫到ex...

nfs掛載相關問題

開發板與pc上的虛擬機器掛載,一般經常使用的命令是 mount t nfs o nolock 192.168.0.182 exports mnt 即將 pc上的 exports 掛載到 開發板的 mnt目錄下 多年都是這麼用來著,沒有出現過什麼問題 後來換了個開發板後,依舊用這個命令掛載,成功後拷貝...

解決eclipse卡死問題

jvm調優建議 1.xms xmx 定義young old段的總尺寸,xms為jvm啟動時young old的記憶體大小 xmx為最大可占用的young old記憶體大小。在使用者生產環境上一般將這兩個值設為相同,以減少執行期間系統在記憶體申請上所花的開銷。2.xx newsize maxnewsi...