Re: ext2 filesystem corruptions back from dead? 2.4.0-test11

Ion Badulescu
2000-11-29T07:50:53Z

On Wed, 29 Nov 2000, Mohammad A. Haque wrote:

> [mhaque@viper mhaque]$ df
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda3 12737128 9988400 2101712 83% /
> /dev/hda2 46668 15106 29153 35% /boot
> /dev/hdd1 44327416 26319188 15756484 63% /home2
> none 8388608 11944 8376664 1% /dev/shm

No, you misunderstood me. df is always going to say 1k-blocks, but that
doesn't mean that the filesystem's allocation unit is actually 1k.

Try doing a tune2fs -l on the device holding the filesystem and grep for
"Block size". Although... looking at the numbers above, it's almost
certainly 4k.

> Yes, exactly 4096 nulls.

That's what I thought... thanks.

Ion

--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.