LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-04-2009, 11:32 PM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 676
Blog Entries: 2

Rep: Reputation: 36
No space left on device


Hi guys whenever i execute any command i get above mentioned error .
Please help
following is the output of df command but i dont know which file to delete to free up the space.
Code:
[root@OVM-SERVER-1 running_pool]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda5              3050060   3049980         0 100% /
/dev/sda1               101086     45724     50143  48% /boot
tmpfs                   278100         0    278100   0% /dev/shm
10.180.45.151:/nfs_share
                      71482688  24082144  43710848  36% /var/ovs/mount/93B14928C7A6438284753B2F2AB197BB
 
Old 11-05-2009, 12:08 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Most likly there is something very large in /tmp

Have a look with the following command:

ls -lhrS /tmp

This will list all the files in order of size. If you are running an apt based distro and have recently upgraded you can clean out the downloaded package files using:

apt-get clean

If the above don't help. Report back an I can give you some ways to track down large files.

Cheers,

Evo2.
 
Old 11-05-2009, 01:47 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
The command that gives the used space is du
Code:
root@btd-techweb01:~# du -h --max-depth=1 /
5.5M    /bin
314K    /dev
8.9M    /etc
21M     /lib
2.5K    /mnt
9.2M    /opt
135K    /tmp
512     /sys
1.9G    /var
1.8G    /usr
3.1M    /boot
926M    /home
258M    /proc
11M     /sbin
1.8M    /root
16M     /server
4.9G    /
root@btd-techweb01:~#
Next you can iterate through the big directories.
 
  


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
no space left on device cjupiter2 Linux - General 2 09-03-2007 08:56 PM
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 05:22 PM
No space left on device clintdavis Linux - Software 2 05-04-2006 11:38 PM
no space left on device, but it has enough!!! help!!! sarah21 Red Hat 3 02-03-2005 09:37 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 01:05 AM


All times are GMT -5. The time now is 10:20 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration