Hello, On Fri, 08 Jun 2012, Anton Aylward wrote:
I just tried converting a FS from reiser to ext4 and got a ridiculous 'out of space' message - it turned out that the 'lots-a-small-files' meant I ran out of inodes long, long before I ran out of data space.
Does reiser allocate inodes dynamically?
Yes. That's why you get no useful info using 'df -i'.
Anyway, I wondered if there was a tool that that walked a file system and told you the distribution of file sizes, so as to help you figure out the inode vs space ratio.
reiserfsck outputs the number of dirs and files, so with the size of the FS you can calculate the ratio. If in doubt you could use 'mke2fs -T news' with an inode for every 4096 bytes (which is the usual blocksize). HTH, -dnh -- SYNOPSIS glimpse - [almost all letters] pattern -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org