LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2014, 01:25 PM   #1
mel_newbie
LQ Newbie
 
Registered: Jun 2004
Location: earth
Distribution: Salix OS 14.1
Posts: 7

Rep: Reputation: 0
clean up disk space in salix (slackware) 14.1


I received a "no space left on device" message and could not log in to salix installation. I've since used gparted to give the /root partition more space as this was what was 100% full.

I'm now trying to figure out why it filled up to 20GB.

I'm trying to use the steps from this:
http://www.linuxquestions.org/questi...2/#post3232993

Here's the output of df -m:
Code:
Filesystem     1M-blocks  Used Available Use% Mounted on
/dev/sda1          44457 19100     23077  46% /
/dev/sda5         159776 49970    101668  33% /home
/dev/sda6           4912   149      4491   4% /OE_SYSTEM
/dev/sda7           4912   224      4416   5% /OE_DATA
/dev/sda9          14990    38     14169   1% /LFS
tmpfs                990     0       990   0% /dev/shm
Here's the output of du -sm /var | sort -nr:
Code:
du: cannot access '/home/mpadilla2/.gvfs': Permission denied
du: cannot access '/proc/4652/task/4652/fd/4': No such file or directory
du: cannot access '/proc/4652/task/4652/fdinfo/4': No such file or directory
du: cannot access '/proc/4652/fd/4': No such file or directory
du: cannot access '/proc/4652/fdinfo/4': No such file or directory
49910   /home
8139    /root
8033    /usr
1714    /var
560     /tmp
327     /opt
214     /OE_DATA
193     /lib
139     /OE_SYSTEM
21      /boot
20      /lib64
20      /etc
17      /sbin
11      /bin
1       /srv
1       /run
1       /mnt
1       /media
1       /lost+found
1       /LFS
0       /sys
0       /proc
0       /dev
How do I figure out what's causing /root to be so large?

Any guidance would be appreciated.
 
Old 03-29-2014, 02:40 PM   #2
mel_newbie
LQ Newbie
 
Registered: Jun 2004
Location: earth
Distribution: Salix OS 14.1
Posts: 7

Original Poster
Rep: Reputation: 0
I figured it out using this link:
http://www.linuxquestions.org/questi...tition-923653/
 
Old 03-30-2014, 07:15 AM   #3
nithinsugathan
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Another thing you can do is find which file is eating up more disk space. If you want to check files under /root, type
Code:
find /root -type f -exec ls -s {} \;|sort -nr
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to clean up disk space on Linux LXer Syndicated Linux News 0 09-10-2013 05:51 PM
Clean disk space in Ubuntu 12.04 SuSE_Lamer Ubuntu 14 01-22-2013 03:20 AM
clean up free some disk space fachhoch@gmail.com Linux - Newbie 5 02-13-2012 09:09 PM
clean up disk space in SuSE linux nanda22 Linux - Newbie 5 08-01-2008 06:37 AM
Running out of disk space... clean up possible? donv2 Linux - Newbie 3 04-19-2005 03:48 AM


All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration