简体   繁体   English

设备上没有剩余空间(linux)

[英]No space left on device ( linux )

When I try to create a file, it's giving "No space left on device" 当我尝试创建文件时,它提示“设备上没有剩余空间”

I tried to fetch inode usage : 我试图获取inode用法:

$df -ih ~

I am getting : IUse% = 77% 我得到: IUse% = 77%

And when I do this to fetch disk usage : 当我这样做以获取磁盘使用情况时:

$df -h ~

I am getting : Use% = 11% 我得到: Use% = 11%

What's going wrong? 怎么了 How to resolve this issue? 如何解决这个问题?

you check the ~ (Home Folder) and it can be missleading. 您检查〜(主文件夹),可能会误导您。 best practice is to use df -kh * du -sh / fdisk -l https://www.tecmint.com/check-linux-disk-usage-of-files-and-directories/ 最佳做法是使用df -kh * du -sh / fdisk -l https://www.tecmint.com/check-linux-disk-usage-of-files-and-directories/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM