LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-09-2004, 05:43 AM   #1
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
"no space left on device", but there is!


Hello guys (and girls),
I feel a little stupid having to ask this, but I really (really!) can't make sense of it:

Last night I started a large download and went to sleep.
When I started the computer today it would not start X. Turns out I had it save the download to my system partition, which was consequently completely full and caused all kinds of weird behavior.
I deleted the downloaded files and rebooted. Weird thing was the error was still there.
`df -h` reports a total size of 9.7G (correct) of which 9.4 are full. However it says that there is 0 space available.
A file I created with `cat /dev/urandom >> somefile` was 231M when it ran out of disk space (that was before I deleted a few more files, which didnt make much difference).

Still pretty much any program I try to start (at least the GUI based ones (I can get the x-server to run using the vesa driver)) fails with a "no space left on device" error.

What to do?

Thanks for all replies,
- drowstar
 
Old 10-09-2004, 10:21 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I've heard that approx. 10% of disk space is reserved for files owned by root, so it is expected that there is a mismatch between the amount of free space reported and the amount that is actually available. But I've never filled a partition to find out...
 
Old 10-09-2004, 11:36 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Actually the default is 5%. You can use the tune2fs command to reduce the amount of reserved space but you do not want a value of zero. It looks like its time to clean up or migrate to a bigger partition
 
Old 10-09-2004, 02:09 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Also, there's an off chance that you might be out of inodes on the filesystem -- do df -i to see inode usage. This is probably not the case, but it doesn't hurt to check.
 
Old 10-10-2004, 04:44 AM   #5
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Original Poster
Rep: Reputation: 30
Thanks a lot for the information guys!
There was in fact less than 5% disk space available, so I assume that was the reason. I have not tried freeing up more space though. I dont think I am going to either. The system never worked very well anyways, so I think I'll just install another distro this time around.

Thanks again,
- drowstar
 
  


Reply

Tags
at, available, based, before, can, cat, correct, created, deleted, device, df, difference, disk, do, download, downloaded, driver, error, ext2, ext3, fails, few, file, files, full, get, gui, left, limit, make, much, partition, program, reports, root, save, size, space, start, still, system, using, vesa, xserver



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"No space left on device" error 1984 Slackware - Installation 6 03-08-2008 03:30 PM
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 04:05 PM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 08:02 PM
OpenOffice incomplete: "no space left" CPUguy387 Linux - Software 1 08-25-2004 08:45 AM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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