求助:删了文件但是磁盘空间没释放是什么情况?

2022-04-22 18:23:12 +08:00
 huadi

磁盘满了,开始删文件,结果发现文件是删了,但 df 命令的输出和 disk utility 并没有释放。
左上角 about this mac 里面,显示有 220G 空间(符合删除后的空间释放)

这是 df 输出:

Filesystem       Size   Used  Avail Capacity iused     ifree %iused  Mounted on
/dev/disk1s1s1  932Gi   14Gi   13Gi    52%  500637 140715400    0%   /
devfs           335Ki  335Ki    0Bi   100%    1160         0  100%   /dev
/dev/disk1s5    932Gi   24Ki   13Gi     1%       0 140715400    0%   /System/Volumes/VM
/dev/disk1s3    932Gi  287Mi   13Gi     3%    1229 140715400    0%   /System/Volumes/Preboot
/dev/disk1s6    932Gi  1.0Mi   13Gi     1%      19 140715400    0%   /System/Volumes/Update
/dev/disk1s2    932Gi  902Gi   13Gi    99% 1793026 140715400    1%   /System/Volumes/Data
map auto_home     0Bi    0Bi    0Bi   100%       0         0  100%   /System/Volumes/Data/home

有人遇到过这个问题吗?

1223 次点击
所在节点    Apple
5 条回复
kaz10025
2022-04-22 18:24:47 +08:00
垃圾箱清空?
jsd
2022-04-22 18:27:47 +08:00
搜索下:du 与 df 统计不一致的解决方法
mamba
2022-04-22 18:28:48 +08:00
有一些节点状态是已删除的
icyalala
2022-04-22 18:44:37 +08:00
APFS 的特性,有些被删除文件仍然占用空间,直到系统空闲或者需要大量磁盘时才清理。
最常见的就是开了 Time Machine 又没有备份完成。
huadi
2022-04-23 10:29:22 +08:00
后续:
应该如 @icyalala 所说,今天早晨看已经释放了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/848641

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX