mount cifs網路不穩時產生的問題 - Linux

Table of Contents


title 網路不穩說的有點不清楚

詳細情形如下:

在用mount -t cifs後,一旦我的網路稍微斷線後,網路回復後

就無法重新mount cifs了,而且在mount point的上層資料會無法ls(ex:我把cifs

mount 在 /mount_point,/就無法ls了)

另外,就是發生這問題後,關機時,linux會卡在umount cifs一段時間

有人有遇到類似問題嘛?

--


There are no two words in the English language more harmful than “good job”.

--

All Comments

Steve avatarSteve2017-06-01
掛載時候有使用 soft 或是 hard 這類參數指定嗎
Hedy avatarHedy2017-06-03
沒有,只有指定UID
Lydia avatarLydia2017-06-07
把網路部份重新啟動看看?
Zanna avatarZanna2017-06-09
沒測試過,不過一般預設是 soft, 你改 hard 看看
一般斷線之後會一直 try 處理,或許可以解決你的問題
Mary avatarMary2017-06-10
只是 mount.cifs 來看沒像是 nfs 的 intr 參數實做
Todd Johnson avatarTodd Johnson2017-06-14
所以你要用 hard 可能還要考慮其他的問題
Kristin avatarKristin2017-06-15
autofs