![如何解决“OSError:[Errno 122]超出磁盘配额”?](https://linux22.com/image/153611/%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%E2%80%9COSError%EF%BC%9A%5BErrno%20122%5D%E8%B6%85%E5%87%BA%E7%A3%81%E7%9B%98%E9%85%8D%E9%A2%9D%E2%80%9D%EF%BC%9F.png)
我运行一个 python3 脚本,该程序将输出几个 JSON 文件,每个文件大约 114.17 MB。但在生成大约 60 个文件后,我收到错误消息:
Traceback (most recent call last):
File "dlp.py", line 206, in <module>
json.dump(prediction, fp, indent=2)
OSError: [Errno 122] Disk quota exceeded
我执行quota
命令但没有输出(与这里)。
这是我的磁盘统计数据:
$ df -i .
Filesystem Inodes IUsed IFree IUse% Mounted on
head03-10g:/share/home1/zhusf 6835937472 37193534 6798743938 1% /share/home1/zhusf
$ df -h .
Filesystem Size Used Avail Use% Mounted on
head03-10g:/share/home1/zhusf 319T 79T 241T 25% /share/home1/zhusf
我可以做什么来解决我的问题?