Linux
不能 mkdir:磁碟配額超出,但 iNodes 和空間遠未超出
當我收到如下錯誤消息時,我正在解壓 tar 文件:
[xxxxx@lo-login-02 ~]$ tar -xvf ontonotes-release-5.0_LDC2013T19.tgz ...... (omitted lines) tar: ontonotes-release-5.0/tools/ontonotes-db-tool-v0.999b/src/on/__init__.py: Cannot open: No such file or directory ontonotes-release-5.0/tools/ontonotes-db-tool-v0.999b/LICENSE tar: ontonotes-release-5.0/tools: Cannot mkdir: Disk quota exceeded tar: ontonotes-release-5.0/tools/ontonotes-db-tool-v0.999b/LICENSE: Cannot open: No such file or directory ontonotes-release-5.0/tools/ontonotes-db-tool-v0.999b/INSTALL tar: ontonotes-release-5.0/tools: Cannot mkdir: Disk quota exceeded tar: ontonotes-release-5.0/tools/ontonotes-db-tool-v0.999b/INSTALL: Cannot open: No such file or directory ontonotes-release-5.0/tools/ontonotes-db-tool-v0.999b/setup.py tar: ontonotes-release-5.0/tools: Cannot mkdir: Disk quota exceeded tar: ontonotes-release-5.0/tools/ontonotes-db-tool-v0.999b/setup.py: Cannot open: No such file or directory ontonotes-release-5.0/index.html tar: ontonotes-release-5.0/index.html: Cannot open: Disk quota exceeded tar: Exiting with failure status due to previous errors
我檢查了我的文件系統配額、索引節點和磁碟空間,但它們似乎都很好:
[xxxxx@lo-login-02 ~]$ quota Disk quotas for user xxxxx (uid 198587): Filesystem blocks quota limit grace files quota limit grace lo-ne-home3:/home3 9005516 16777216 20971520 100000* 80000 100000 [xxxxx@lo-login-02 ~]$ df -i Filesystem Inodes IUsed IFree IUse% Mounted on lo-ne-home3:/home3/xxxxx 21251126 122640 21128486 1% /cluster/home/xxxxx [xxxxx@lo-login-02 ~]$ df -h Filesystem Size Used Avail Use% Mounted on lo-ne-home3:/home3/xxxxx 1.0T 8.5G 1016G 1% /cluster/home/xxxxx
您已達到文件系統上的最大文件數,但您的使用配額。刪除一些文件(任何大小),將能夠創建新文件。