Re: incorrect inode count on reiserfs

From: Matthias Urlichs
Date: Mon Dec 08 2003 - 11:35:34 EST


Hi, Erik Hensema wrote:

> But innwatch checks for a out-of-inodes condition. How can it differentiate
> between a undefined number of inodes (field set to 0) and a system that ran
> out of inodes (field dropped to 0)?
>
Create a file. Watch that succeed. Check whether this succeeds, and that
the number of free inodes is still zero.
Delete the file. Check that the number of free inodes is _still_ zero.

Repeat a few times, with random sub-second delay if you're feeling
especially paranoid today, for added confidence.

--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@xxxxxxxxxxxxxx
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
"The Establishment Clause, unlike the Free Exercise Clause, does not
depend upon any showing of direct governmental compulsion and is violated
by the enactment of laws which establish an official religion whether
those laws operate directly to coerce nonobserving individuals or not."
[U.S. Supreme Court, Wallace v. Jaffree (1985)]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/