You are not logged in.

#1 2023-12-03 08:58:15

chmurix
Member
Registered: 2023-12-03
Posts: 2

Help restoring free space on storage

Hello guys,

(I am an newbie linux user) - I use Arch as a main OS for Home assistant - over time i was observing disk space (16GB SSD) to be running out;

here;s my output from df:

[chmurix@no.i][/h/chmurix]$ df -H
Filesystem      Size  Used Avail Use% Mounted on
dev             2.0G     0  2.0G   0% /dev
run             2.1G  9.3M  2.0G   1% /run
efivarfs        132k   70k   57k  55% /sys/firmware/efi/efivars
/dev/sda1        16G   15G     0 100% /
tmpfs            73M     0   73M   0% /dev/shm
tmpfs           441M     0  441M   0% /tmp
tmpfs            73M  623k   72M   1% /var/tmp
tmpfs           402M  8.2k  402M   1% /run/user/1000

here's lsblk:

[chmurix@no.i][/h/chmurix]$ lsblk
NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda       8:0    0 14.9G  0 disk
├─sda1    8:1    0 14.8G  0 part /
└─sda69 259:0    0  128M  0 part


Today, after i had to reboot the host the Home Assistant isn't starting (most likely due to disk space issue);
the machine itself boots up and OS as well i can ssh to it and run commands.

But any installation attempt via PacMan ends up as below:


[chmurix@no.i][/h/chmurix]$ sudo pacman -S gdu
[sudo] password for chmurix:
resolving dependencies...
looking for conflicting packages...

Package (1)  New Version  Net Change  Download Size

extra/gdu    5.25.0-1      10.42 MiB       3.30 MiB

Total Download Size:    3.30 MiB
Total Installed Size:  10.42 MiB

:: Proceed with installation? [Y/n]
error: Partition / too full: 5965 blocks needed, 0 blocks free
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

I've been already trying to run pacman commands to free up it's directories - so i removed lot of obsolete files, however it doesn't reflect in the file system.




So my main question here are - what else can i do to troubleshot it and eventually restore the disk space?
Let me know if you need any more details smile

Last edited by chmurix (2023-12-03 08:59:07)

Offline

#2 2023-12-03 10:04:52

chmurix
Member
Registered: 2023-12-03
Posts: 2

Re: Help restoring free space on storage

fixed it, i realised i had over 6GB of obsolite files in var/log smile


topic can be closed

Offline

#3 2023-12-03 10:15:13

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,096

Re: Help restoring free space on storage

Topics can only be closed by forum admins and they only do that in very specific situations.

Please prepend [Solved] to the thread title (edit first post) .

Last edited by Lone_Wolf (2023-12-03 10:15:33)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#4 2023-12-03 13:47:36

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Help restoring free space on storage

chmurix wrote:

realised i had over 6GB of obsolite files in var/log

Perhaps consider investigating why the logs are so large? Otherwise it will just fill up again.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB