LinHES Forums
http://forum.linhes.org/

disk full error
http://forum.linhes.org/viewtopic.php?f=5&t=25890
Page 1 of 1

Author:  caymann [ Thu Mar 26, 2020 1:33 pm ]
Post subject:  disk full error

Hello
I installed LinHES on 64GB SSD Intel NUC i3
Lately i am getting /def/sda1 warning to be nearly full and sometimes 100% full leading to the read only mount of the filesystem.
I am getting tired of deleting logs under /var/log and also moving directories to an attached USB drive (2TB) (/dev/sdc1) and attached USB 1TB (/dev/sdb1)
All my recordings are on attached USB drives
Anytime i install new software or update LinHES it takes more disk space on /dev/sda1, mostly because of updated libraries

I am wondering if there is a better way out there, aside from buying a bigger SSD to replace the 64GB SSD

I was thinking about deleting some partitions and expanding /dev/sda1
But i am not sure what other problems i may be inviting.

[mythtv@mythtv ~]$ df

Filesystem 1K-blocks Used Available Use% Mounted on
dev 1935980 0 1935980 0% /dev
run 1941872 384 1941488 1% /run
/dev/sda1 4674688 3877272 536912 88% /
shm 1941872 0 1941872 0% /dev/shm
/dev/sda7 44919368 77888 44841480 1% /data/storage/disk0
/dev/sda5 4674688 987644 3426540 23% /home
/dev/sda6 2818080 339584 2332016 13% /data/srv/mysql
/dev/sdc1 1831225144 479602736 1253932040 28% /media/usb
/dev/sdb1 915606856 479877500 386875036 56% /media/backup

Author:  brfransen [ Thu Mar 26, 2020 6:43 pm ]
Post subject:  Re: disk full error

Your best bet is to backup and make sure the backup is saved on one of the attached USB drives. Then reinstall and give 10gb or more to root, 10gb to home, and 10gb to sql.

Author:  mikavir [ Fri Mar 27, 2020 7:48 am ]
Post subject:  Re: disk full error

Hi,

I've suffered very long from the same problem, in my case it's /dev/sdb1. I was bold enough to try live linux boot and use gparted for arranging more space to sdb1 from the other partitions. It didn't help too much, since some partitions (swap?) in between could not be moved.

I was also baffled for a while, since I couldn't find what is taking space from that partition. Something that was hidden from normal tools e.g. ncdu. I finally tried moving and linking /tmp to more spacious partitiion, and I've been much happier ever since. I should have thought of that earlier, since I'm using Chrome quite a lot from my couch. Now the 8G sdb1 is 94% full (after cleaning logs), so eventually I'll need a new disk.

A full root disk partition gives so much trouble that I'd consider giving it 20G -or more. Disk space is cheap...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/