-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2013-10-27 at 21:16 +0100, Yamaban wrote:
On Sun, 27 Oct 2013 20:09, Carlos E. R.
wrote:
Yes, I know that that the inode count and sector size can be adjusted. But I intentionally did not :-)
I also wanted to test number of big files allowed by each filesystem, but I did not. Time!
The trouble with that is the "assumptions" (Ass-out-of-you-and-me) that are made in the mke2fs code (have a look, use "-n" to see).
(Details, see /etc/mke2fs.conf, esp. inode_ratio and blocksize)
For a averaged file size above 20kB that may be ok, but below that? Just no! -- And that has been since before the 'invention' of ext3.
Right...
I can vividly remember disaster recovery of a /var/spool/mail partition in 1999, with the changed use from mbox to maildir... most mails where about less then 4 kB, and you can do the math, no more inodes available. -- Lovely night that was.
I can imagine. I remember once, I untarred certain tar.gz archive. I don't remember where it came from, I think it was the database of mp3 tags that is accesible on internet somewhere. The file was not big, but when untarred it created many thousands of small files. I was untarring on an ext3 partition, perhaps ext2; it was very slow, hours perhaps, and expent the inodes. Recollection is vague. Knowing what had happened, I untarred again, this time on a reiserfs particion. Sucess! It was fast, minutes or seconds, and no problems.
So, it's well presumed that those that have such use-cases know something about the filesystem they use for it.
Yes. If I use a maildir spool or news spool, I early learnt that I had to do that :-)
Reiserfs has no static inode allocation, and thus does not hit this problem.
To call btrfs "finished" or "done" is just false. Also see: http://btrfs.wiki.kernel.org/
The mkfs.btrfs utility says that it should not be called directly, that it is intended for use by YaST.
mkfs.btrfs options "-n" and "-s" will come to play for this.
I confess I did not look at them, or not much. the man page said little.
Xfs, I had to look it up: man mkfs.xfs or http://xfs.org/docs/xfsdocs-xml-dev/XFS_User_Guide//tmp/en-US/html/xfs-mkfs....
"mkfs.xfs -s size=1024 -b size=1024"
Noted, thanks.
Conclusion: In all main-stay FS, the defaults are NOT for lots of small files.
True. I wanted to try many files of other sizes, but I had to stop. Maybe I can rig something else for testing.
Reiserfs can handle that, but would like some help, too.
Yes, it would. I would like sometime to test reiserfs4... - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJteZ8ACgkQtTMYHG2NR9VlGgCdGnOUYTMogr8i3LGA8F0YIHzq rCUAn0qVxzqI8gSpXdjTsaCtQA71Q+bZ =TXwt -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org