Skip to contentSkip to conversation

df -i reports '-' inodes available on reiser4

DISCUSSION Branko F. Gračnar 3 participants 3 messages Mar 3, 2005

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

We're evaluating reiser4 filesystem for our storage server, which will run on linux 2.6.x.

However, according to our tests it performs very well. Becouse our storage server will be responsible to server very *huge* amount of small files, we need to investigate the following issue:

Command df -i reports '-' as number of used and total inodes available on filesystem.

Is this a bug, or a feature? Or i missed out some documentation which i should read before i formatted storage volume?

Best regards,

- --

Branko F. Gracnar
Sistemska administracija / razvoj
Noviforum d.o.o., Stegne 31, SI-1000 Ljubljana
Tel > 00 386 1 500 8528 ,
Fax > 00 386 1 519 73 88
e-mail > [email protected]
www.noviforum.si, www.najdi.si

-----BEGIN PGP SIGNATURE-----

iD8DBQFCJwcAN7LHXgqRB4IRAvUXAJ4+JsaB3jvFYhHYngSHR9niSowskQCfRG45 6dnzCV/hfkFhzI39VGpqKro=
=4Dqi
-----END PGP SIGNATURE-----

#1 lore raw

Am Donnerstag, 3. März 2005 13:45 schrieb "Branko F. Graènar":

Quoted 9 lines

Hello,

We're evaluating reiser4 filesystem for our storage server, which will run on linux 2.6.x.

However, according to our tests it performs very well. Becouse our storage server will be responsible to server very *huge* amount of small files, we need to investigate the following issue:

Quoted 5 lines

Command df -i reports '-' as number of used and total inodes available on filesystem.

Is this a bug, or a feature? Or i missed out some documentation which i should read before i formatted storage volume?

There is a long thread on this, which starts with a mail from Miguel on 13.05.2004 at 09:34 (acording to my mailer).

If you are interested in, I can send it to you by mail.

Signature · 2 lines
Üdvözlettel -- Mit freundlichen Grüssen,
Marcel Hilzinger
#2 lore raw
In reply to Branko F. Gračnar

Hello

Quoted 8 lines · Branko F. Graènar

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

We're evaluating reiser4 filesystem for our storage server, which will run on linux 2.6.x.

Quoted 8 lines

However, according to our tests it performs very well. Becouse our storage server will be responsible to server very *huge* amount of small files, we need to investigate the following issue:

Command df -i reports '-' as number of used and total inodes available on filesystem.

Is this a bug, or a feature?

Those numbers are intentionally left to be 0.
There is a following comment in the code:

/* FIXME: Seems that various df implementations are way unhappy by such big numbers.
So we will leave those as zeroes.

	statfs->f_files = oids_used(super) + oids_free(super);
	statfs->f_ffree = oids_free(super);

*/

I think we should just uncomment these lines in
fs/reiser4/vfs_ops.c:reiser4_statfs().

Quoted 23 lines

Or i missed out some documentation which i
should read before i formatted storage volume?

Best regards,

- --

Branko F. Gracnar
Sistemska administracija / razvoj
Noviforum d.o.o., Stegne 31, SI-1000 Ljubljana
Tel > 00 386 1 500 8528 ,
Fax > 00 386 1 519 73 88
e-mail > [email protected]
www.noviforum.si, www.najdi.si

-----BEGIN PGP SIGNATURE-----

iD8DBQFCJwcAN7LHXgqRB4IRAvUXAJ4+JsaB3jvFYhHYngSHR9niSowskQCfRG45 6dnzCV/hfkFhzI39VGpqKro=
=4Dqi
-----END PGP SIGNATURE-----