[arch-general] Btrfs blues - lack of space

Savyasachee Jha savya.jha91 at gmail.com
Sat Aug 30 15:03:20 EDT 2014


On Sun, Aug 31, 2014 at 12:29 AM, Jakub Klinkovský <j.l.k at gmx.com> wrote:

> On 30.08.14 at 23:09, Savyasachee Jha wrote:
> > Hello, all
> >
> > The contents of my /etc/fstab are as follows:
> >
> > /dev/sda3               /             btrfs
> > rw,relatime,space_cache,autodefrag    0 0
> > /dev/sda1               /boot         ext2          rw,relatime    0 2
> > /dev/sda5               /home       btrfs
> > rw,relatime,space_cache,autodefrag    0 0
> >
> > Whenever I start my laptop up, /home takes ~17-19 seconds to mount, as is
> > evidenced by this line in the output of systemd-analyze blame:
> >
> > 16.467s home.mount
> >
> > Running df -h on my system, I get:
> >
> > Filesystem       Total    Used   Free   Use%     Mounted on
> > /dev/sda5         422G   364G   53G   88%        /home
> >
> > However, running du -h --summarize /home, I get:
> >
> > 318G /home
> >
> > If I use xdiskusage to see the partition, it shows 46.48G as
> > /home/(permission denied). I tried doing this using sudo, and I still
> have
> > the same problem. I have neither subvolumes nor any snapshots on this
> > volume.
> >
> > Is there any way of recovering this space?
> >
> > Thank you,
> > Savya
> >
> > --
> > Savyasachee Jha
> >
> > *"Aerodynamics is for people whodon't know how to build engines."*
>
> Use:
> $ btrfs filesystem df /home
>

I just did that, and I get:

Data, single: total=396.01GiB, used=362.83GiB
System, DUP: total=8.00MiB, used=48.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, DUP: total=3.00GiB, used=594.23MiB
Metadata, single: total=8.00MiB, used=0.00
unknown, single: total=200.00MiB, used=0.00

This gives me a totally different count of total space. Why's that?

-- 
Savyasachee Jha

*"Aerodynamics is for people whodon't know how to build engines."*


More information about the arch-general mailing list