Skip to contentSkip to conversation

Negative inode-nr ?

DISCUSSION Jakob Østergaard 3 participants 4 messages May 19, 2001 – May 21, 2001

lore
Share & tools
lore
#0 lore raw

Hello all,

I was investigating a problem we believed we had with our monitoring software (from sysorb.com), where it failed to report the number of free and allocated inodes.

However, looking into the problem I found that it's the kernel that's returning bogus values.

What do you think of this ?
[root]# cat /proc/sys/fs/inode-nr
157097 -180

The number of free inodes is negative ! I find it hard to believe that that's correct.

Kernel: 2.4.4 on i686

All filesystems are ext2fs.

If you need more information, let me know.

Signature · 6 lines
................................................................
:   [email protected]   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
#1 lore raw
Quoted 3 lines · On Sat, 19 May 2001, [iso-8859-1] Jakob �stergaard wrote:

What do you think of this ?
[root]# cat /proc/sys/fs/inode-nr
157097 -180

I think you should upgrade to a newer kernel; Al Viro fixed this bug and the fix went into 2.4.5-pre1.

regards,

Rik
--
Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose...

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to [email protected] (spam digging piggy)

#2 lore raw
Quoted 7 lines · Rik van Riel
Quoted 3 lines · On Sat, 19 May 2001, [iso-8859-1] Jakob Østergaard wrote:

What do you think of this ?
[root]# cat /proc/sys/fs/inode-nr
157097 -180

I think you should upgrade to a newer kernel; Al Viro fixed this bug and the fix went into 2.4.5-pre1.

What was the bug and how was it fixed?

/me wishes one more time for an applied-patch history.

--
Daniel

#3 lore raw
In reply to Jakob Østergaard
Quoted 8 lines · Rik van Riel
Quoted 3 lines · On Sat, 19 May 2001, [iso-8859-1] Jakob Østergaard wrote:

What do you think of this ?
[root]# cat /proc/sys/fs/inode-nr
157097 -180

I think you should upgrade to a newer kernel; Al Viro fixed this bug and the fix went into 2.4.5-pre1.

Thank you Rik (and others who sent me roughly the same answer)

Now *that's* support ;)

Cheers,

Signature · 6 lines
................................................................
:   [email protected]   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............: