Re: understanding disk space usage

2017-02-09 Thread Austin S. Hemmelgarn
On 2017-02-09 08:25, Adam Borowski wrote: On Wed, Feb 08, 2017 at 11:48:04AM +0800, Qu Wenruo wrote: Just don't believe the vanilla df output for btrfs. For btrfs, unlike other fs like ext4/xfs, which allocates chunk dynamically and has different metadata/data profile, we can only get a clear v

Re: understanding disk space usage

2017-02-09 Thread Adam Borowski
On Wed, Feb 08, 2017 at 11:48:04AM +0800, Qu Wenruo wrote: > Just don't believe the vanilla df output for btrfs. > > For btrfs, unlike other fs like ext4/xfs, which allocates chunk dynamically > and has different metadata/data profile, we can only get a clear view of the > fs from both chunk level

Re: understanding disk space usage

2017-02-09 Thread Austin S. Hemmelgarn
On 2017-02-08 16:45, Peter Grandi wrote: [ ... ] The issue isn't total size, it's the difference between total size and the amount of data you want to store on it. and how well you manage chunk usage. If you're balancing regularly to compact chunks that are less than 50% full, [ ... ] BTRFS on 1

Re: understanding disk space usage

2017-02-09 Thread Vasco Visser
I did have snapshots. Apparently my distro's update utility made these snapshots without clearly telling me... Everything makes sense now. Thanks again for the help. -- Vasco On Thu, Feb 9, 2017 at 3:53 AM, Qu Wenruo wrote: > > > At 02/08/2017 05:55 PM, Vasco Visser wrote: >> >> Thank you for t

Re: understanding disk space usage

2017-02-08 Thread Qu Wenruo
At 02/08/2017 05:55 PM, Vasco Visser wrote: Thank you for the explanation. What I would still like to know is how to relate the chunk level abstraction to the file level abstraction. According to the btrfs output there is 2G of data space is available and 24G of data space is being used. Does t

Re: understanding disk space usage

2017-02-08 Thread Peter Grandi
[ ... ] > The issue isn't total size, it's the difference between total > size and the amount of data you want to store on it. and how > well you manage chunk usage. If you're balancing regularly to > compact chunks that are less than 50% full, [ ... ] BTRFS on > 16GB disk images before with absolu

Re: understanding disk space usage

2017-02-08 Thread Austin S. Hemmelgarn
On 2017-02-08 09:46, Peter Grandi wrote: My system is or seems to be running out of disk space but I can't find out how or why. [ ... ] FilesystemSize Used Avail Use% Mounted on /dev/sda3 28G 26G 2.1G 93% / [ ... ] So from chunk level, your fs is already full. And

Re: understanding disk space usage

2017-02-08 Thread Hugo Mills
On Wed, Feb 08, 2017 at 02:46:32PM +, Peter Grandi wrote: > >> My system is or seems to be running out of disk space but I > >> can't find out how or why. [ ... ] > >> FilesystemSize Used Avail Use% Mounted on > >> /dev/sda3 28G 26G 2.1G 93% / > [ ... ] > > So from

Re: understanding disk space usage

2017-02-08 Thread Peter Grandi
>> My system is or seems to be running out of disk space but I >> can't find out how or why. [ ... ] >> FilesystemSize Used Avail Use% Mounted on >> /dev/sda3 28G 26G 2.1G 93% / [ ... ] > So from chunk level, your fs is already full. And balance > won't success since

Re: understanding disk space usage

2017-02-08 Thread Vasco Visser
Thank you for the explanation. What I would still like to know is how to relate the chunk level abstraction to the file level abstraction. According to the btrfs output there is 2G of data space is available and 24G of data space is being used. Does this mean 24G of data used in files? How do I kno

Re: understanding disk space usage

2017-02-07 Thread Qu Wenruo
At 02/08/2017 12:44 AM, Vasco Visser wrote: Hello, My system is or seems to be running out of disk space but I can't find out how or why. Might be a BTRFS peculiarity, hence posting on this list. Most indicators seem to suggest I'm filling up, but I can't trace the disk usage to files on the F

understanding disk space usage

2017-02-07 Thread Vasco Visser
Hello, My system is or seems to be running out of disk space but I can't find out how or why. Might be a BTRFS peculiarity, hence posting on this list. Most indicators seem to suggest I'm filling up, but I can't trace the disk usage to files on the FS. The issue is on my root filesystem on a 28Gi