Hi,
im facing issues with free space on TurrisOS 5.3.11, Turris Omnia
I have noticed error in reForris saying no free space on device. I get into ssh and delete some files and free up 200 MB (deleted around 2.5 GB)
$ du -c /
4370100 total
I tried to rollback to previous snapshot in Schnapps, some btrfs check commands, but no luck.
Any idea how to fix that?
root@turris:~# btrfs fi usage /
Overall:
Device size: 7.28GiB
Device allocated: 7.28GiB
Device unallocated: 0.00B
Device missing: 0.00B
Used: 7.03GiB
Free (estimated): 210.45MiB (min: 210.45MiB)
Data ratio: 1.00
Metadata ratio: 1.00
Global reserve: 39.23MiB (used: 0.00B)
Multiple profiles: no
Data+Metadata,single: Size:7.28GiB, Used:7.03GiB (96.65%)
/dev/mmcblk0p1 7.28GiB
System,single: Size:4.00MiB, Used:4.00KiB (0.10%)
/dev/mmcblk0p1 4.00MiB
Unallocated:
/dev/mmcblk0p1 0.00B
root@turris:~# btrfs fi show
Label: none uuid: 39c5312e-25c4-40f5-921e-97269cc336e9
Total devices 1 FS bytes used 7.03GiB
devid 1 size 7.28GiB used 7.28GiB path /dev/mmcblk0p1
Sorry my bad. I forgot mention, i had already tried to balance (based on this artictle):
root@turris:~# btrfs balance start -dusage=66 /
ERROR: error during balancing '/': Invalid argument
There may be more info in syslog - try dmesg | tail
root@turris:~# dmesg | tail
[ 1210.476801] BTRFS error (device mmcblk0p1): with mixed groups data and metadata balance options must be the same
There’s 21 snapshots from Schnapps, mainly from auto-update. Only one manually created from me after update to 5.x. Complete size of snapshots is around 500 MB max.
ncdu shows the problem (i think). I have backups from Dejà Dup inside my /root/backups dir, which i deleted manually as i mentioned. Showing old deleted files, with 3.4 GB.
The question is, how to delete, deleted files now
delete all snapshots either from reforris or from comand line by
schnapps list and then
schnapps delete 1 2 3 4 5 6 7 8 9 (numbers of snapshots you will see in the schnapps list result).
then put command sync and wait for while about
5-10 minutes as btrfs will process everthing in the background
You can see by utilising df command how free space grow bigger