View unanswered posts    View active topics

All times are UTC - 6 hours

Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: disk full error
PostPosted: Thu Mar 26, 2020 1:33 pm 
Joined: Tue Mar 27, 2018 12:02 pm
Posts: 40
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

 Post subject: Re: disk full error
PostPosted: Thu Mar 26, 2020 6:43 pm 
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
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.

 Post subject: Re: disk full error
PostPosted: Fri Mar 27, 2020 7:48 am 
Joined: Mon Mar 20, 2006 11:39 am
Posts: 35

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...


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu