Bug 109972 - diskcheck should also look at inodes
Summary: diskcheck should also look at inodes
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: diskcheck
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-13 16:09 UTC by Karl DeBisschop
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-05 14:04:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
revised diskcheck monitors inodes (10.58 KB, text/plain)
2003-11-17 18:25 UTC, Karl DeBisschop
no flags Details

Description Karl DeBisschop 2003-11-13 16:09:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b)
Gecko/20031110 Firebird/0.7+

Description of problem:
presently only bytes free are checked.

A disk can also become full by running out of inodes.

Checking inodes would be a useful enhancement for diskcheck.

I have a diff for a working replacement that I will provide.

Version-Release number of selected component (if applicable):
1.4-5

How reproducible:
Always

Steps to Reproduce:
1. use up all your inodes and note that diskcheck just doesn't care
    

Actual Results:  disk is no longer writable.

Expected Results:  diskcheck should warn as inodes start running low

Additional info:

Comment 1 Karl DeBisschop 2003-11-17 18:25:09 UTC
Created attachment 96021 [details]
revised diskcheck monitors inodes

Since the output of df is parsed the same whether checking inodes or bytes, I
made the old paring section into a function, and called it once for bytes then
again for inodes.

Since this approach reoders the file, the diff tends to obsure rather than
calrify the change. So I'm just posting the revised file instead of the diff

Comment 2 Harald Hoyer 2003-12-05 14:04:18 UTC
many thx! :-)


Note You need to log in before you can comment on or make changes to this bug.