LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-14-2010, 11:06 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Random "No space on device messages"


Ocassionally i get a "No space on device" message on all open terminals
and in logs.
How do i make it go away.
 
Old 02-15-2010, 12:42 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Does it inform you of what device. What do you get when you type in
Code:
stat -f /
Also can you print how your filesystem is setup?
 
Old 02-15-2010, 12:50 AM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
[root@localhost(/)]stat -f /
File: "/"
ID: 0 Namelen: 64 Type: ext2/ext3
Blocks: Total: 193510 Free: 168520 Available: 158681 Size: 4096
Inodes: Total: 98496 Free:75816
[root@localhost(/)]df -h
Filesystem     Size Used Avail Use% Mounted on
/dev/hda6     756M 98M 620M 14% /
/dev/hda1     99M 9.2M 85M 10% /boot
/dev/hda8     79M 0 79M 0% /d
/dev/hda2     9.7G 33M 9.2G 1% /home
none          62M 0 62M 0% /dev/shm
/dev/hda5     756M 17M 701M 3% /tmp
/dev/hda3     4.0G 1.7G 2.1G 45% /usr
/dev/hda7     464M 46M 395M 11% /var
[root@localhost(/)]
----edit----
Code:
[root@localhost(/)]free
     total     used     free    shared     buffers     cached
    125992     92224     33768     0     7316     60240
-/+ buffers/cache     24668     101324
Swap      7992     2004     5998
[root@localhost(/)]

Last edited by smeezekitty; 02-15-2010 at 12:57 AM. Reason: Added memory info
 
Old 02-15-2010, 12:55 AM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by smeezekitty View Post
Code:
[root@localhost(/)]stat -f /
File: "/"
ID: 0 Namelen: 64 Type: ext2/ext3
Blocks: Total: 193510 Free: 168520 Available: 158681 Size: 4096
Inodes: Total: 98496 Free:75816
[root@localhost(/)]df -h
Filesystem     Size Used Avail Use% Mounted on
/dev/hda6     756M 98M 620M 14% /
/dev/hda1     99M 9.2M 85M 10% /boot
/dev/hda8     79M 0 79M 0% /d
/dev/hda2     9.7G 33M 9.2G 1% /home
none          62M 0 62M 0% /dev/shm
/dev/hda5     756M 17M 701M 3% /tmp
/dev/hda3     4.0G 1.7G 2.1G 45% /usr
/dev/hda7     464M 46M 395M 11% /var
[root@localhost(/)]
Hmmmm..... Well I am at a loss for words here. Everything looks fine. The only thing I can think of is some large temp file gets written to /usr and brings the avaliable space to 0. Does this happen at random intervals by chance? Maybe like a cron command that gets fired off?
 
Old 02-15-2010, 12:59 AM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Hmmmm..... Well I am at a loss for words here. Everything looks fine. The only thing I can think of is some large temp file gets written to /usr and brings the avaliable space to 0. Does this happen at random intervals by chance? Maybe like a cron command that gets fired off?
It seems to do it about evrey 30 min but it doesnt seem perfectly timed.
BTW, Whats cron?
 
Old 02-15-2010, 01:03 AM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by smeezekitty View Post
It seems to do it about evrey 30 min but it doesnt seem perfectly timed.
BTW, Whats cron?
Sorry meant to say command in crontab. Which is like schedule tasks for linux and unix.
 
Old 02-15-2010, 01:12 AM   #7
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
crontab -l
0 0 * * 1 sysx.sh
 
Old 02-15-2010, 03:48 PM   #8
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
a bump lump.
 
Old 02-15-2010, 03:52 PM   #9
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by smeezekitty View Post
a bump lump.
can you what sysx.h is doing? When you this message pop up try doing a fdisk -l to see if you can see any drive with 0 available space.
 
Old 02-15-2010, 05:19 PM   #10
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
which sysx.sh
/usr/bin/sysx.sh
cat /usr/bin/sysx.sh
#/bin/bash
dd if=/dev/zero of=/usr/spec bs=1M count=32
exec /usr/bin/backup
rm /usr/spec
 
  


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
apt-get -f install fails due to "No space left on device" madkayaker Linux - Newbie 9 01-05-2014 09:39 PM
"No space left on device" error using SystemV shared memory clalfa Programming 5 07-09-2007 07:34 AM
Multiple "device not ready" messages in System Log quasy Linux - Hardware 0 04-27-2004 05:58 AM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 01:14 PM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 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