Solaris 10 版本說明

檔案系統已滿的 NFSv4 用戶端中無法偵測到寫入錯誤 (6346204)

當 NFSv4 用戶端的檔案系統接近滿容量時,將無法正確處理伺服器傳回的錯誤碼。此用戶端自伺服器接收到正確的 (NFS4ERR_NOSPC) 錯誤碼。但用戶端卻無法將 (ENOSPC) 錯誤碼傳輸至應用程式。應用程式未經由 write()close()fsync() 等正常的系統函數接到錯誤通知。因此,應用程式持續寫入或修改資料的嘗試,會造成資料遺失或損毀。

下列錯誤訊息會記錄在 /var/adm/messages 中:


nfs: [ID 174370 kern.notice] NFS write error on host hostname







:
No space left on device.
nfs: [ID 942943 kern.notice] File: userid=uid, groupid=
gid
nfs: [ID 983240 kern.notice] User: userid=uid, groupid=
gid
nfs: [ID 702911 kern.notice] (file handle: 86007000 2000000 a000000 6000000
32362e48 a000000 2000000 5c8fa257)

解決方法:請勿在檔案系統接近滿容量的用戶端系統上執行工作。