View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: full slash partition
PostPosted: Sat Mar 24, 2018 6:25 pm 
Offline
Joined: Mon May 16, 2005 8:04 am
Posts: 5
This machine has been running for a month now and the /partition reached 99%.

I have the os running in either a 120 gb ssd

I have 4 6 tb drives for media storage.

Is there an easy way to clean the drive? What suggestions do you have?


Top
 Profile  
 
 Post subject: Re: full slash partition
PostPosted: Sat Mar 24, 2018 6:58 pm 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 480
How much space is allocated to the root partition (/)?
This is my output for
Code:
df -h
Filesystem      Size  Used Avail Use% Mounted on
dev             3.9G     0  3.9G   0% /dev
run             3.9G  504K  3.9G   1% /run
/dev/sda1       4.5G  3.4G  921M  79% /
shm             3.9G     0  3.9G   0% /dev/shm
/dev/sda7       437G  135G  302G  31% /data/storage/disk0
/dev/sda5        13G  5.3G  6.7G  45% /home
/dev/sda6       4.5G  196M  4.1G   5% /data/srv/mysql


I've had linhe s for about 5 years with this machine. If your root partition is at 99% after a month then something is wrong. Have you checked your logs?


Top
 Profile  
 
 Post subject: Re: full slash partition
PostPosted: Sat Mar 24, 2018 7:41 pm 
Offline
Joined: Mon May 16, 2005 8:04 am
Posts: 5
my / partition is only 40 gigs, this was a default install of 8.5.1


Top
 Profile  
 
 Post subject: Re: full slash partition
PostPosted: Sat Mar 24, 2018 9:49 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1262
Location: Orlando FL
I found this forum post. viewtopic.php?f=21&t=23668&start=15
where you can use this code to figure out where the hard drive space is being eaten up.
Code:
du -hx -d 1 / 2>/dev/null

Also some tips on how to increase your drive space.

_________________
My System


Top
 Profile  
 
 Post subject: Re: full slash partition
PostPosted: Sun Mar 25, 2018 4:56 am 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 480
Follow mattbatt's advice. As you can see from my post, the root partition is only 4.5 GB on my machine and it is only 79% full. For yours to be 99% full on a 40 GB means that something is using a lot of storage that it shouldn't be.


Top
 Profile  
 
 Post subject: Re: full slash partition
PostPosted: Wed Mar 28, 2018 5:10 am 
Offline
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 397
Location: Charlotte, NC
I have had issues with my root partition before. I started using the following command to identify the specific files eating up space. You can change "head -n 10" to whatever file minimum number of files you are looking for (example "head -n 25" for top 25 files). Also, you can exclude certain root folders (or symbolics) by using -not -path...

find / -type f -not -path "/mnt/*" -not -path "/data/*" -exec du -Sh {} + | sort -rh | head -n 10

_________________
Backend server - 4.0 TB 3.0ghz dual core 6 gig RAM, nVidia 9400, Gigabyte GA-870A-UD3 MB, 2 HD-5500, 2 HD Homerun dual tuners, 3 frontend machines - LinHES 8.5


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


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