LinuxQuestions.org
Help answer threads with 0 replies.
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-14-2003, 06:37 AM   #1
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
Exclamation ext3 fs chokes at 100% usage?


Recently I was at a LAN party with some mates, and as you do, was flogging lots of nice digital memorabilia. I unwittingly started downloading an ISO which I didn't have hard drive space for, and it started to transfer and only stopped when it ran out of space.

This is all fine, but when I deleted the remains of the ISO, df still reported that my partition was 100% full. To check if it was wrong or not, I tried creating a file and putting some writing in it, but it wouldn't let me. Now I was getting worried. I started t delete more stuff, but the usage was still at 100%! I must have deleted a gig or so before I decided to give up. df still reported 100% usage.

I could restart the system OK (not perfectly - some things failed, but it was usable).

At the time I was running Red Hat 8, with an ext3 file system. Everything was on the one partition (/boot and / - everything). The file transfers were done using samba.

I since had to format and re-install (I used the opportunity to put RH9 on). Fortunately being at a LAN party I had some friends who I could temporarily offload data to.

Have any of you heard of this happening before? I was very surprised and confounded that such a praised fs would buckle under this kind of problem.

I would have given ReiserFS a go, but the Red Hat installer didn't give me the option in Disk Druid (and I was in a rush).

Have I done something wrong, or would there have been a way to fix it?

Thanks in advance for any feedback!
 
Old 05-14-2003, 06:42 AM   #2
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
I'm not sure exactly why it happened, but I had a similar experience with ext3 and not being able to create files due there being no space left (even though there was), although this was only for my user account and not root who could still create files. Did you try root to see if you could create files?

To cut a long boring story short I decided to reformat and use reiserfs, which I had been using before but wanted to try ext3 to see what the fuss was about.
 
Old 05-14-2003, 07:08 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
You sure that you didn't run out of inodes?

Just a thought

Jamie...
 
Old 05-14-2003, 08:04 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i've got a few spare if you want some extra. reasonable rates.

sorry. couldn't resist.....
 
Old 05-14-2003, 08:16 AM   #5
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
lol - got all the inodes I need now thanks.

Anyways, if it was the case that I had run out of inodes then how comes root could do whatever it wanted to the filesystem?

Plus, how would you 'make' some free inodes apart from deleteing files? Is it not that when a file is removed sometimes all that is deleted is the reference to that file, not the file itself?
 
Old 05-14-2003, 08:27 AM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Space is reserved for root on most file systems (it used to be 5% for ext2 which used to be way over the top for large file systems!), but yeah, deleting files means you're freeing-up inodes. Certainly the "unlinking" action is how I understand all file deletions to behave.

cheers

Jamie...
 
Old 05-14-2003, 07:43 PM   #7
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Original Poster
Rep: Reputation: 30
What's an inode?
 
Old 05-15-2003, 03:51 AM   #8
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
http://www.idallen.com/teaching/fast...nix/inodes.htm
and
http://www.cs.sfu.ca/CC/760/tiko/lecnotes/5.ooFS.pdf
and
http://www.idallen.com/teaching/dat2...nd_inodes.html
and
http://www.cs.ucsb.edu/~rich/class/c...es/FileSystem/

Should answer that!

HTH

Jamie...
 
Old 05-15-2003, 04:33 AM   #9
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Re: ext3 fs chokes at 100% usage?

Quote:
I would have given ReiserFS a go, but the Red Hat installer didn't give me the option in Disk Druid (and I was in a rush).
You could have enabled it with the installer boot option reiserfs, but note that it is NOT supported by Red Hat. There are still people who make the experience that ReiserFS can break into pieces suddenly and that an fsck doesn't help.
 
  


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
CPU permanently 100% usage dangerousdave Linux - Newbie 2 02-18-2005 01:23 PM
Memory Usage 100% XPediTioN Mandriva 1 01-27-2004 02:35 PM
CPU usage 100% ecsfan Red Hat 17 11-19-2003 03:06 PM
100 % CPU usage ???? rolandi Linux - Newbie 1 10-07-2003 11:52 PM
Machine locks up at 100% usage... vbp6us Linux - General 10 08-18-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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