Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-04-2006, 07:51 PM   #1
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
4.0G 4.0G 0 100% /
/dev/sda3 190M 28M 153M 16% /boot
none 1014M 0 1014M 0% /dev/shm
4.0G 201M 3.6G 6% /home
4.0G 41M 3.7G 2% /tmp
7.9G 2.8G 4.7G 38% /usr
4.0G 1.2G 2.7G 31% /var

df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
524288 37979 486309 8% /
/dev/sda3 50400 56 50344 1% /boot
none 223839 1 223838 1% /dev/shm
524288 431 523857 1% /home
524288 100 524188 1% /tmp
1048576 143313 905263 14% /usr
524288 4025 520263 1% /var
Old 05-04-2006, 10:38 PM   #2
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,187

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

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:

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

Old 05-04-2006, 11:38 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,258

Rep: Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640
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
du -x / | sort -nr | less
The ones you are generally interested in are at the top.


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 09:26 AM
No space left on device (28) AllanBC Linux - Software 3 04-03-2006 04:55 AM
no space left on device, but it has enough!!! help!!! sarah21 Red Hat 3 02-03-2005 09:37 PM
No space left on device xfgao Red Hat 27 01-13-2005 05:06 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 01:05 AM > Forums > Linux Forums > Linux - Software

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

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