Skip to contentSkip to conversation

considerations for reiserfs with lots of files.

DISCUSSION Pysiak Satriani 1 participant 1 message May 1, 2006

lore
Share & tools
lore
#0 lore raw

Hi!

I am running a mail server that stores email on a 270G reiserfs partition in a Maildir format (one file per email message)

I have an account that is a kind of a tap and receives tremendous amounts of email. In just over 2 months I have 233k email messages, ie. 233k files in one directory!

Now, the obvious thing is that accessing that directory takes some time, I understand that, but I am having other problems with it. Since creating that account I started having strange problems like:
- files impossible to delete/read/rename (well actually I found one like that)
- reiserfsck --fix-fixable told me that it found some nodes that need --rebuild-tree
- I had an reiserfs related oops, unfortunately It did not save to the log.

So my question is, are there any special considerations for reiserfs with huge directories?

I am running 2.6.16.11, the partition is mounted exec,dev,suid, rw,noatime,notail,iocharset=iso8859-2

It is qmail and courier-imap that operate on these maildir accounts.

Best regards,
Maciej