Re: ENOSPC while df shows 826.93GiB free
From: Christoph Anton Mitterer <hidden>
Date: 2021-12-07 15:22:36
Hey Jorge.
I've looked at your old mail thread... and the first case you've
showed:
btrfs fi usage /mnt/disk4
Overall:
Device size: 7.28TiB
Device allocated: 7.28TiB
Device unallocated: 1.04MiB
Device missing: 0.00B
Used: 7.24TiB
Free (estimated): 34.55GiB (min: 34.55GiB)
Free (statfs, df): 34.55GiB
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 512.00MiB (used: 0.00B)
Multiple profiles: no
Data,single: Size:7.26TiB, Used:7.22TiB (99.54%)
/dev/md4 7.26TiB
Metadata,DUP: Size:9.50GiB, Used:8.45GiB (88.93%)
/dev/md4 19.00GiB
System,DUP: Size:32.00MiB, Used:800.00KiB (2.44%)
/dev/md4 64.00MiB
Unallocated:
/dev/md4 1.04MiB
Seems similar to my problem... but far less extrem.... so that I
personally would say I could live with that.
Of data you "loose" 0.04 TB ... so 40 GiB... of metadata you "loose"
1.45 GiB
It's a bit strange IMO that you then get ENOSPC, when your metadata has
still 1GB free (thought it would reserve less?)
But still, out of 7.28 TiB, that's ~0,556%... not sooo much.
I in contrast have:
829,44 + 0,5 = 829,94 GiB "lost"
Which is out of 16.00TiB some ~5,066% lost... which seems pretty much.
Cheers,
Chris.