since a few days I have a problem with my OpenSuse 13.2 System:
KDE doesnt boot, I only can use the terminal (Strg+Alt+F1) to do something. And there it alway says “no space left on device” but df -h says
/dev/sda7 20G 15G 4.2G 78% /
So I googled and found out that it coud be beacuse of no left “Inodes”. So I looked up with “df -i” and so there was the issue. But on Google I found only if there are no inodes avaible (100% used). But my problem is there are no Inodes on my partition:
If you look at the first line in the output of btrfs filesystem show
Total devices 1 FS bytes used 13.96GiB
That should pretty much match the df -kh command?
The second line is what’s been alloacted, in your case the full amount, what happens is if you are making changes over a day, snapshots can add up (use snapper list command) for example large updates etc, so I think if your running only 20GB, then creating a root cronjob running every 3 or 4 hours pointing at the daily clean up job would help keep it under control, else I would disable snapper and not have snapshots.
There are some commands you can run for cleaning up, but need to see the output from the above filesystem command first to advise.
> That should pretty much match the df -kh command?
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 20G 16G 3.9G 80% /
or df -k
/dev/sda7 20550656 15823980 4030196 80% /
vs. btrfs filesystem show
> Label: none uuid: 5839be1b-2df2-437e-8dda-8ceccd37587c
> Total devices 1 FS bytes used 14.17GiB
> devid 1 size 19.60GiB used 19.60GiB path /dev/sda7
it’s about 1GB diffrent, but it doesnt matter.
I would try balancing the btrfs system, as root user (don’t use sudo…)
btrfs balance start /
See how that goes.
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.38-44-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
If I try “btrfs balance start /” as root, it stops with an error:
ERROR: error during balancing '/' - No space left on device
There may be more info in syslog - try dmesg | tail
But now with “btrfs filesystem show” there is more free spacein the row “devid”
Label: none uuid: 5839be1b-2df2-437e-8dda-8ceccd37587c
Total devices 1 FS bytes used 14.17GiB
devid 1 size 19.60GiB used 16.81GiB path /dev/sda7
Maybe its better to buy a new HDD, so I can increase the space of the partition. But actual I dont need more than 20 GB Space (without home) for my system and I should change btrfs to ext4? what do you mean? Or have you maybe some more suggestions?
I dont give up!
You may need to try a few times to see how it goes…
No, 20GB is fine, unless your using snapshots then disable, else only keep a few and run an additional cron job or two… Normally I use 40GB these days and leave snapper running with only 6 snapshots retained in a day…