LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-23-2014, 03:12 AM   #1
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Rep: Reputation: Disabled
Exclamation Fedora 19 showing Low Disk Space on "filesystem root".


hi there,
i hope u all r having a great day =)

i'm just a novice fedora user. i'm running fedora 19 in a duel boot machine with win7.

yesterday, all of a sudden, the fedora got stuck in boot. i searched for hours over internet with the error message and found it may be a problem with the disk space. so from command prompt, deleted some files and the machine booted.

now after starting, i'm getting the message

Quote:
Low Disk Space on "filesystem root"
it says root has 0 kb space left.
i have separate root and home partition. i store all my personal data on home and doesn't touch the root at all.

for this problem, even firefox doesn't run on my machine. i'm posting this from another machine.

i'm seeking for urgent suggestion from u people. what should i do now? how can i free up some space on root? what files can i delete without harming the system?

thanks in advance.

Last edited by oceanmbs; 10-23-2014 at 03:29 AM.
 
Old 10-23-2014, 03:32 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
provide the output of:

Code:
sudo df -h
Unless you have /var/log in a separate partition you may be able to see if there are old logs in there that tou don't need.

Also check /tmp

Other than that you can try
Code:
cd /;sudo du -h --max-depth=1
and that'll give you an indication as to which folders in / are the biggest, you can then go through them individually using du -h to see if you can find what's using the most space.
 
1 members found this post helpful.
Old 10-23-2014, 04:15 AM   #3
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: Disabled
thanks for ur quick response =)

here is the output of my df -h
(as i can't use browser from that pc, so i'm posting the pics)

Click image for larger version

Name:	DSC_1489.jpg
Views:	210
Size:	70.4 KB
ID:	16723
 
Old 10-23-2014, 04:20 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Ok, so now take a look at the output of the du -h command (as above), I'm sure you're going to start finding folders that are taking up a lot of space then just go down the levels using du -h each time and you should be able to identify what's taking up the space.
 
1 members found this post helpful.
Old 10-23-2014, 04:26 AM   #5
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: Disabled
by using
Quote:
du -h --max-depth=1
, i find ./var has 1.9 gb.

is it the culprit? then what should i do about it?

here is output of the above command :

Click image for larger version

Name:	DSC_1490.jpg
Views:	140
Size:	82.1 KB
ID:	16724
 
Old 10-23-2014, 04:38 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
/usr is 5.8Gb, so looks like you've probably got a few installed applications.
/var is 1.9Gb, so check /var/log as that's the most likely place you'll find log files that can be easily cleared out.
 
1 members found this post helpful.
Old 10-23-2014, 05:38 AM   #7
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: Disabled
thanks for ur insight. now i'm seeing things.

but i don't get it. i have only a very few applications installed other than the defaults, like yumex, openoffice suite, ktorrent, smplayer -- these should be all. how come its taking such huge spaces?

i ran du -h --max-depth=1 on /usr, and here are the outputs:
Click image for larger version

Name:	DSC_1500.jpg
Views:	79
Size:	70.3 KB
ID:	16725

./share has 2.9 GB. can i delete the contents of this folder without any harm?

i'm checking the /var/log now.
 
Old 10-23-2014, 05:41 AM   #8
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: Disabled
okay, in /var, /cache has 349 MB and /log has 1.2GB. can i delete the contents of these folder without affecting the system?
 
Old 10-23-2014, 05:47 AM   #9
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
I'd look at individual files in /var/log and see what you can get rid of. I wouldn't just blindly delete a whole folder structure, especially not /var/share without seeing exactly what files are in there.
 
1 members found this post helpful.
Old 10-23-2014, 05:53 AM   #10
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: Disabled
no no, the /share is in /usr.

so how can i know which files i can delete and which i can't? or should i post the contents of those folders here?
 
Old 10-23-2014, 06:46 AM   #11
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Do not delete anything under /usr/share unless you are absolutely sure of what it is you are deleting.

Post the listing of the files in /var/log for a start, that should get you some space back, as for what other files are..... Google them if you don't know what they are.
 
1 members found this post helpful.
Old 10-23-2014, 07:27 AM   #12
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: Disabled
okay, here are the file under /var/log : Click image for larger version

Name:	DSC_1501.jpg
Views:	88
Size:	96.1 KB
ID:	16726

Last edited by oceanmbs; 10-23-2014 at 07:30 AM.
 
Old 10-23-2014, 07:41 AM   #13
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: Disabled
by running a du -sh *, i find the 'messages' alone takes 1.1GB !
 
Old 10-23-2014, 08:28 AM   #14
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
If you use ls -lh * you'll get a listing with the file sizes, if your messages file is that big then look at it to see what's creating the log entries.
 
Old 10-23-2014, 08:49 AM   #15
oceanmbs
Member
 
Registered: Jul 2013
Location: Dhaka, Bangladesh
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
if your messages file is that big then look at it to see what's creating the log entries.
i tried, but i don't understand what is going on there. :-(

can i delete this file? i need to start using that machine so i can post the outputs directly from there.
 
  


Reply



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
[SOLVED] Dell PERC 5/i showing virtual disk "Ready" instead of "Optimal" MensaWater Linux - Hardware 1 08-30-2012 09:02 AM
fedora 16 live usb fails on boot with "cant mount root filesystem" ikarus Fedora 4 06-04-2012 11:39 AM
Kubuntu slow system -- now get "low disk space" error drjoewebb Linux - Hardware 8 08-23-2008 05:28 PM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:34 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
Open Source Consulting | Domain Registration