Errors because no free space on / ? [BTRFS]

Hi,

Two weeks ago I reinstalled my pc from scratch. Systemd all the way. The pc doubles as a desktop pc and mediaserver, and everything worked as planned.

Yesterday I installed mkvtoolnix and used it to strip some audio channels from a .mkv. After that, I used packer (AUR installer) to install the faenza and faience icon set. The faenza icon set installed correctly, but the faience icon set did not install because the downloaded package could not be expanded.

This could have two causes:1. There is no space left on the device.2. The device is mounted without write-privileges.

I checked both:1. with 'df -h' -> I have at least 2GB free on every partitition (NOTE: there is my 'media'-partition that is listed as 100% used, but it has 6GB out of 996GB free...)2. with 'mount -a -o rw' -> /etc/mtab shows that all are mounted rw

This didn't help: pacman refused to install complaining it could not write any file inside the package

I rebooted to make sure it's not a problem with a temporary folder that had been flooded, and now gnome-session refuses to start. X starts, but Gnome/gdm gives me the sad faced computer that something has gone wrong. I can work in the console and checking both hypotheses results in the same conclusion: I have plenty space left and the (relevant) partitions are all mounted 'rw'.

Help?

/EDIT: more info:* My rootfs is btrfs and systemd warns me that there is no fsck.btrfs, but also that I can safely ignore that warning* gnome-session complains about I/O-errors when writing to /usr/share* My SSD is 1.5 years old and I have never had problems before.

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

df says I'm using 8GB and have 31GB free. But since this is two 20GB partitions in RAID1, I don't have that much free space at all. btrfs reports that I've used 3.78GB of space with data, and has allocated 11GB for that (for now), 4KB on system data (information about the btrfs filesystem, I assume), and 209.53MB on Metadata (out of 1GB allocated). There's 8GB of unallocated space left in reserve, so if I fill up all my Metadata allotment, it'll get increased to 2GB. Likewise, if I fill up my Data allotment, that will get increased.

As the wiki states:

So, in general, it is impossible to give an accurate estimate of the amount of free space on any btrfs filesystem. Yes, this sucks.

But it should be possible to figure out where you stand from what I've just explained.

Re: Errors because no free space on / ? [BTRFS]

Yesterday I quickly issued a 'btrfs fi df /' only to find out that it showed I have around the same free space as with a regular 'df /'. I didn't have time to test more extensively, but if btrfs is the culprit, I might change back to ext4.

I was very curious for btrfs, but if not knowing if I have free space on / is a known problem, then I guess it is not (yet) ready for primetime.

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Re: Errors because no free space on / ? [BTRFS]

zenlord wrote:

Hi,

Two weeks ago I reinstalled my pc from scratch. Systemd all the way. The pc doubles as a desktop pc and mediaserver, and everything worked as planned.

Yesterday I installed mkvtoolnix and used it to strip some audio channels from a .mkv. After that, I used packer (AUR installer) to install the faenza and faience icon set. The faenza icon set installed correctly, but the faience icon set did not install because the downloaded package could not be expanded.

This could have two causes:1. There is no space left on the device.2. The device is mounted without write-privileges.

I checked both:1. with 'df -h' -> I have at least 2GB free on every partitition (NOTE: there is my 'media'-partition that is listed as 100% used, but it has 6GB out of 996GB free...)2. with 'mount -a -o rw' -> /etc/mtab shows that all are mounted rw

This didn't help: pacman refused to install complaining it could not write any file inside the package

I rebooted to make sure it's not a problem with a temporary folder that had been flooded, and now gnome-session refuses to start. X starts, but Gnome/gdm gives me the sad faced computer that something has gone wrong. I can work in the console and checking both hypotheses results in the same conclusion: I have plenty space left and the (relevant) partitions are all mounted 'rw'.

Help?

/EDIT: more info:* My rootfs is btrfs and systemd warns me that there is no fsck.btrfs, but also that I can safely ignore that warning* gnome-session complains about I/O-errors when writing to /usr/share* My SSD is 1.5 years old and I have never had problems before.

Hi, it's because the metadata in btrfs takes up all of your 2GB.Btrfs is claimed to be clever enough to allocate inodes dynamically but actually it's not the case. Try to run

btrfs filesystem balance /

Btrfs is far from stable. Today I just encountered another strange problem of btrfs. I can't delete an empty directory even with

Re: Errors because no free space on / ? [BTRFS]

I have to admit, having flirted with btrfs, I'm back on ext4. btrfs shows a lot of promise, but is not ready for production use yet. Recovery and reporting are still not even close to stable for me (I lost an entire install because of a relatively simple FS problem that btrfs couldn't fix, though similar issues on mature filesystems would have recovered with no effort). Fortunately, I had a full backup, but it put me off btrfs until the recovery tools at the very least are in place.