* several GB freespace missing
@ 2024-06-02 18:23 Bhasker C V
2024-06-02 22:57 ` Qu Wenruo
0 siblings, 1 reply; 2+ messages in thread
From: Bhasker C V @ 2024-06-02 18:23 UTC (permalink / raw)
To: linux-btrfs
Below is the status
$ sudo btrfs fi df .
Data, single: total=139.01GiB, used=136.63GiB
System, DUP: total=32.00MiB, used=48.00KiB
Metadata, DUP: total=1.00GiB, used=191.61MiB
GlobalReserve, single: total=169.20MiB, used=0.00B
$ sudo df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/datafs 160G 138G 22G 87% /tmp/user/1000/data
$ sudo du -hs .
90G .
$ sudo btrfs su li .
$
I have tried a btrfs balance with --dusage=90
I have scrubbed the data
I have done a full csum
I am not sure how to recover from the 48GB discrepancy
Please could someone tell me what is happening and how i can get back
my disk space ?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: several GB freespace missing
2024-06-02 18:23 several GB freespace missing Bhasker C V
@ 2024-06-02 22:57 ` Qu Wenruo
0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2024-06-02 22:57 UTC (permalink / raw)
To: Bhasker C V, linux-btrfs
在 2024/6/3 03:53, Bhasker C V 写道:
> Below is the status
>
>
> $ sudo btrfs fi df .
> Data, single: total=139.01GiB, used=136.63GiB
> System, DUP: total=32.00MiB, used=48.00KiB
> Metadata, DUP: total=1.00GiB, used=191.61MiB
> GlobalReserve, single: total=169.20MiB, used=0.00B
> $ sudo df -h .
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/datafs 160G 138G 22G 87% /tmp/user/1000/data
> $ sudo du -hs .
> 90G .
> $ sudo btrfs su li .
Please try "btrfs subvolume list -a" to list all subvolumes.
> $
>
> I have tried a btrfs balance with --dusage=90
> I have scrubbed the data
> I have done a full csum
>
> I am not sure how to recover from the 48GB discrepancy
>
> Please could someone tell me what is happening and how i can get back
> my disk space ?
Another possibility is related to the btrfs extent bookend behavior, can
waste a lot of space if the workload involves a lot of random small writes.
In that case you may want to defrag the fs.
Thanks,
Qu
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-02 22:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-02 18:23 several GB freespace missing Bhasker C V
2024-06-02 22:57 ` Qu Wenruo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox