PowerScale:超過 NFS 的硬配額時無法移除檔案,並顯示錯誤「裝置上無剩餘空間」

Summary: 如果超過硬配額,NFS 用戶端將無法移除資料,並出現「裝置上沒有剩餘空間」錯誤。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

# isi quota quotas list
Type         AppliesTo  Path     Snap  Hard    Soft  Adv  Used    Efficiency
-----------------------------------------------------------------------------
default-user DEFAULT    /ifs/nfs No    100.00M -     -    0.00    -
user         root       /ifs/nfs No    100.00M -     -    195.00M 0.50 : 1  <<<<<<< Exceeded user quota
-----------------------------------------------------------------------------
Total: 2


[root@centos tmp]# rm -f testfile2
rm: cannot remove ‘testfile2’: No space left on device


在數據包捕獲中, NFS3ERR_NOSPC 可以看到:
 

NFS 266 V3 RENAME Call (Reply In 121), From DH: 0x73953be7/testfile123 To DH: 0x73953be7/.nfs000000010001329500000009 

NFS 162 V3 RENAME Reply (Call In 120) Error: NFS3ERR_NOSPC

 

Cause

檔案正在使用中,這會導致寫入 .nfs 檔案,直到檔案不再使用為止。由於超過配額,因此無法寫入 .nfs 檔案。這被認為是一個愚蠢的重命名,是用戶端執行的操作,而不是伺服器執行的操作。 

NFS 266 V3 RENAME Call (Reply In 121), From DH: 0x73953be7/testfile123 To DH: 0x73953be7/.nfs000000010001329500000009 <<<<< can see Client tries to make a .nfs file

And fails because the quota is exceeded 

NFS 162 V3 RENAME Reply (Call In 120) Error: NFS3ERR_NOSPC

Resolution

通常執行中 lsof 在用戶端上標識哪個進程打開了檔。但是,在至少一個實例中,用戶端上的 CrowdStrike 建立了 .nfs 檔案,但已阻止 lsof 從顯示為打開。暫時停用 CrowdStrike 後,可移除檔案。如果 .nfs 檔案會出現在封包擷取中,確認用戶端程序正在使用該檔案,這可防止在超過硬配額時將其移除。

[root@centos tmp]# lsof testfile123
COMMAND   PID USER   FD   TYPE DEVICE  SIZE/OFF       NODE NAME
tail    13992 root    3r   REG   0,43 104857600 4337893434 testfile123

Once the process that has the file in use is stopped the file can then be removed

[root@centos tmp]# rm -f testfile123
[root@centos tmp]#

Additional Information

Affected Products

Isilon, PowerScale OneFS, Isilon Scale-out NAS
Article Properties
Article Number: 000202922
Article Type: Solution
Last Modified: 27 Nov 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.