All of lore.kernel.org
 help / color / mirror / Atom feed
* space still allocated post deletion
@ 2022-04-19 10:41 Alex Powell
  2022-04-19 11:21 ` Graham Cobb
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Powell @ 2022-04-19 10:41 UTC (permalink / raw)
  To: linux-btrfs

Hi team,
I have deleted hundreds of GB of files however space still remains the
same, even after a full balance and a dusage=0 balance. The location I
am deleting from is usually a mount point but I found some files had
saved there while the array was unmounted, which I then removed.

root@bean:/home/bean# du -h --max-depth=1 /mnt/data/triage
6.4G /mnt/data/triage/complete
189G /mnt/data/triage/incomplete
195G /mnt/data/triage

root@bean:/home/bean# rm -rf /mnt/data/triage/complete/*
root@bean:/home/bean# rm -rf /mnt/data/triage/incomplete/*
root@bean:/home/bean# du -h --max-depth=1 /mnt/data/triage
0 /mnt/data/triage/complete
0 /mnt/data/triage/incomplete
0 /mnt/data/triage

root@bean:/home/bean# btrfs filesystem show
Label: none  uuid: 24933208-0a7a-42ff-90d8-f0fc2028dec9
Total devices 1 FS bytes used 209.03GiB
devid    1 size 223.07GiB used 211.03GiB path /dev/sdh2

root@bean:/home/bean# du -h --max-depth=1 /
244M /boot
91M /home
7.5M /etc
0 /media
0 /dev
0 /mnt
0 /opt
0 /proc
2.7G /root
1.6M /run
0 /srv
0 /sys
0 /tmp
3.6G /usr
13G /var
710M /snap
22G /

Linux bean 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC
2022 x86_64 x86_64 x86_64 GNU/Linux
btrfs-progs v5.16.2

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-23  6:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 10:41 space still allocated post deletion Alex Powell
2022-04-19 11:21 ` Graham Cobb
2022-04-19 12:42   ` Hugo Mills
2022-04-20  7:17   ` Alex Powell
2022-04-20  8:27     ` Graham Cobb
2022-04-23  6:04     ` Andrei Borzenkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.