You are not logged in.
My arch system has 190GB total disk space. I have installed filelight. Recently I deleted the virtual windows 10 in my arch. The windows 10 is about 40GB. I checked the available space by the command "df -h" and it still shows the same available space as before, which is about 80GB. However when I used filelight, it showed about 140GB available after summing up the scanning result from root folder and home folder. I searched online about "deleting files in Linux and the space is not released" but I didn't find useful information for my situation. Now I'm not sure whether filelight or df -h is correct. "Dolphin" shows the same free space as df -h. And filelight just shows the used space of root folder and home folder respectively. I manually added them and subtracted it from 190G. And how can I make the available space right?
Last edited by sswybd (2023-06-08 02:31:14)
Offline
Are you using btrfs?
Offline
Yes, btrfs.
Offline
Yes it's btrfs
Are you using btrfs?
Offline
btrfs filesystem usage /mountpoint
Do you use snapshots?
Offline
Yes, I used snapshot that can only apply to btrfs, not the older type of snapshot. ( I forgot the name)
btrfs filesystem usage /mountpoint
Do you use snapshots?
Offline
Yes, I used snapshot that can only apply to btrfs, not the older type of snapshot. ( I forgot the name)
So you'll have to make sure the file you deleted doesn't exist in any snapshot, otherwise the space isn't freed.
Does the command I gave you tell you more about the discrepancy you're observing?
Offline
sudo btrfs filesystem usage /
[sudo] password for sswybd:
Overall:
Device size: 190.00GiB
Device allocated: 117.02GiB
Device unallocated: 72.98GiB
Device missing: 0.00B
Device slack: 0.00B
Used: 111.62GiB
Free (estimated): 77.40GiB (min: 40.91GiB)
Free (statfs, df): 77.40GiB
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 224.59MiB (used: 0.00B)
Multiple profiles: no
Data,single: Size:113.01GiB, Used:108.58GiB (96.09%)
/dev/nvme0n1p7 113.01GiB
Metadata,DUP: Size:2.00GiB, Used:1.52GiB (75.93%)
/dev/nvme0n1p7 4.00GiB
System,DUP: Size:8.00MiB, Used:16.00KiB (0.20%)
/dev/nvme0n1p7 16.00MiB
Unallocated:
/dev/nvme0n1p7 72.98GiB
I used the command and it agreed with df -h.
sswybd wrote:Yes, I used snapshot that can only apply to btrfs, not the older type of snapshot. ( I forgot the name)
So you'll have to make sure the file you deleted doesn't exist in any snapshot, otherwise the space isn't freed.
Does the command I gave you tell you more about the discrepancy you're observing?
Offline
I deleted all my previous snapshots, and it is normal now (with much more extra free space), except for that the filelight shows less free space than that of df -h now. And since very long time ago, I can't delete one exact snapshot. I don't know why. But never mind.
sswybd wrote:Yes, I used snapshot that can only apply to btrfs, not the older type of snapshot. ( I forgot the name)
So you'll have to make sure the file you deleted doesn't exist in any snapshot, otherwise the space isn't freed.
Does the command I gave you tell you more about the discrepancy you're observing?
Offline
If your issue is solved, please mark your thread as such by prepending [SOLVED] to the title of the first post.
Offline