没有可用磁盘空间问题
Tofloor
poster avatar
152******80
Advanced Packager
2017-12-28 01:11
Author
RT,btrfs文件系统,提示空间不足,无法保存,但是其实是有空间的,该怎么处理哦,太多东西了,不能重装了


Reply Favorite View the author
All Replies
avatar
aida
deepin
2017-12-28 01:38
#1
执行 du- h ,查看下哪个目录下占的空间打,清除下。
Reply View the author
avatar
woodelf
deepin
2017-12-28 03:25
#2
  1. # btrfs fi dh -h /
Copy the Code
看一下具体的占用情况,可能是元数据被写满了,是的话需要用btrfs balance命令清理下。
Reply View the author
avatar
SoftCat
deepin
2017-12-28 04:06
#3
df -i 看一下呢,是否 Inode 用完了
Reply View the author
avatar
woodelf
deepin
2017-12-28 04:39
#4
https://bbs.deepin.org/post/150731
df -i 看一下呢,是否 Inode 用完了

btrfs的inode上限是2^64个,大概是ext4 inode上限的46亿倍。
而且,传统df工具读不出btrfs的inode属性。
Reply View the author
avatar
152******80
Advanced Packager
2017-12-28 17:05
#5
https://bbs.deepin.org/post/150731
执行 du- h ,查看下哪个目录下占的空间打,清除下。

没用啊,感觉删除了btrfs不释放空间
Reply View the author
avatar
152******80
Advanced Packager
2017-12-28 17:07
#6
https://bbs.deepin.org/post/150731
df -i 看一下呢,是否 Inode 用完了

所有都是0
Reply View the author
avatar
tmacy
deepin
2017-12-28 17:34
#7
恩,和我一样的情况,df对于btrfs是没有用的。参考连接:http://marc.merlins.org/perso/bt ... -Full-Problems.html

你需要btrfs blances
Reply View the author
avatar
tmacy
deepin
2017-12-28 17:45
#8
  1. sudo btrfs fi df /
Copy the Code

Reply View the author