LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-04-2006, 06:51 PM   #1
clintdavis
LQ Newbie
 
Registered: May 2006
Location: Indiana
Distribution: RHEL 4
Posts: 2

Rep: Reputation: 0
Unhappy No space left on device


I have a Dell Server with 3 x 73GB SCSI drives configured as RAID 5 by Dell. I'm running a mail server with very weird things happening that seem to indicate a full disk. I tried to mkdir at the root and got a "No space left on device" error. I'm a total linux noob, so any instructions should be very basic.

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
4.0G 4.0G 0 100% /
/dev/sda3 190M 28M 153M 16% /boot
none 1014M 0 1014M 0% /dev/shm
/dev/mapper/VolGroup00-LogVol05
4.0G 201M 3.6G 6% /home
/dev/mapper/VolGroup00-LogVol03
4.0G 41M 3.7G 2% /tmp
/dev/mapper/VolGroup00-LogVol02
7.9G 2.8G 4.7G 38% /usr
/dev/mapper/VolGroup00-LogVol04
4.0G 1.2G 2.7G 31% /var


df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00
524288 37979 486309 8% /
/dev/sda3 50400 56 50344 1% /boot
none 223839 1 223838 1% /dev/shm
/dev/mapper/VolGroup00-LogVol05
524288 431 523857 1% /home
/dev/mapper/VolGroup00-LogVol03
524288 100 524188 1% /tmp
/dev/mapper/VolGroup00-LogVol02
1048576 143313 905263 14% /usr
/dev/mapper/VolGroup00-LogVol04
524288 4025 520263 1% /var
 
Old 05-04-2006, 09:38 PM   #2
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,053

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
There is at least one partition which ran out of space:

Code:
/dev/mapper/VolGroup00-LogVol00
4.0G 4.0G 0 100% /
This is usually a bad thing. If your /var/ directory is mounted there, you are in trouble.

To see which directories take up that space, go to the root directory of that partition and say:

Code:
du -h | grep ^[0-9][0-9]*M
which give you a list with all directories or files > 10MB

jlinkels
 
Old 05-04-2006, 10:38 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,095

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
What about directories (maybe even files) over a Gig ???
Might do the job well enough in this case, given the root is only 4Gig.

I don't use the -h as it messes up sort (try it with K and M and maybe G in the same list). I just use a simple
Code:
du -x / | sort -nr | less
The ones you are generally interested in are at the top.
 
  


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
cp: No space left on device, but df does not agree! Correador Linux - General 5 04-18-2011 08:26 AM
No space left on device (28) AllanBC Linux - Software 3 04-03-2006 03:55 AM
no space left on device, but it has enough!!! help!!! sarah21 Red Hat 3 02-03-2005 08:37 PM
No space left on device xfgao Red Hat 27 01-13-2005 04:06 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 12:05 AM


All times are GMT -5. The time now is 01:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration