LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-27-2009, 10:36 AM   #1
Peacefrog10
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Rep: Reputation: 0
Low Disk Space


Hello,

Newb here, I have Linux Red Hat Enterprise 4.0 running as my mail server and I am getting errors that I am out of disk space. For example if I try and drop a file on the desktop I get an error that there is no enough space available. I recently deleted some old RPM packages from the Update folder and uninstalled openoffice as this server is not used for anything but my mail server, and I still get this error. If I open the file system it says 0 bytes available. I'm not sure how to tell how much space is available on the partition or if its configured somehow as to only allow a certain amount of available space for certain folder. Any help would be greatly appreciated
 
Old 07-27-2009, 11:06 AM   #2
Peacefrog10
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
After doing a # df I can see that Dev00 is completely full.
 
Old 07-27-2009, 11:07 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986
Hi,

Welcome to LQ!

You could use 'df -h' from the cli which will identify the space on the disks in human readable format. You could then see where space can be recovered by deletion of files that are no longer necessary.
 
Old 07-27-2009, 11:18 AM   #4
Peacefrog10
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
thanks, entering that command from terminal shows me that I have 63 of 65 gigs used, but how can i see what is taking up what as far as space is concerned.
 
Old 07-27-2009, 11:28 AM   #5
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
There are several methods you can use to determine what is taking up space.

If you have root access you can run this command:

Quote:
du -m / | sort -n -r | head -n 10
That will sort the directories starting at the / directory and list the top 10. Also the "find" command with various flags and options can be useful.
 
Old 07-27-2009, 11:42 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986
Hi,

Quote:
Originally Posted by Peacefrog10 View Post
thanks, entering that command from terminal shows me that I have 63 of 65 gigs used, but how can i see what is taking up what as far as space is concerned.
Quote:

~#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 94G 5.1G 85G 6% /
/dev/sda1 30G 9.4G 20G 33% /mnt/winxp
/dev/sdb1 39G 4.3G 34G 12% /mnt/winxp2
tmpfs 876M 0 876M 0% /dev/shm
/dev/sda6 9.4G 746M 8.2G 9% /mnt/gws
/dev/sdb2 38G 32G 3.7G 90% /mnt/Linux_Archive
/dev/sdg1 3.8G 332M 3.5G 9% /media/STORE N GO
The above output shows that '/' used 5.1GB with avail 85GB. Now if you want to get specific within '/' then you could use 'ncsuapex' method or even 'find'.

But 'YOU' will need to decide what can be safely removed. As a user then '/home/user' would be a good place to start.
 
Old 07-27-2009, 11:48 AM   #7
Peacefrog10
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks.

This is the drive in question

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 65G 62G 0 100% /


I'm not sure what I can safely delete.
 
Old 07-27-2009, 12:14 PM   #8
oshibravo
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Linux ID

Dear all,

I went to register for my Linux Level 1 exam today but they require me to submit a Linux ID. How can i obtain one, colleagues please help me as i need to go sit for my exams.

Kind regards
Fritz
 
Old 07-27-2009, 12:20 PM   #9
Peacefrog10
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Hey..dont bogart my thread!
 
Old 07-27-2009, 12:23 PM   #10
Peacefrog10
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I figured out what was eating the disk space....an old archive folder. Thanks All!
 
  


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
Low disk space xp home 2canoe General 35 12-01-2008 01:20 AM
Low disk space problem rjvcrisen0 Linux - Hardware 4 07-22-2007 07:55 AM
Low disk space in /var wuqso Linux - General 2 05-22-2006 10:11 PM
low disk space ahmed gamal Slackware 3 03-21-2006 02:32 PM
Low disk space??? kevinlyfellow Linux - General 6 11-12-2003 02:37 PM


All times are GMT -5. The time now is 09:12 PM.

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