若 NFS 在 Copy 大檔時常遇到 hang 住, Server 端 /etc/exports 可試試 async 參數
async This option allows the NFS server to violate the NFS protocol and reply to requests before any changes
made by that request have been committed to stable storage (e.g. disc drive).
Using this option usually improves performance, but at the cost that an unclean server restart (i.e. a crash)
can cause data to be lost or corrupted.
Copy 檔案不再卡卡, 且可提升效能, 風險就是 Server 若忽然斷電, 可能會遺失資料
例如:
/nfs 192.168.x.x/24(rw,nohide,insecure,async,no_subtree_check)
ref. [SOLVED] large NFS copy locks up/hang client with large files (again) (lucid) - Page 3
Recent Comments