Fulldirhash-metapartition bug?
Tornoci Laszlo
torlasz at xenia.sote.hu
Wed Oct 24 09:30:57 EDT 2007
Hi,
I am in the process of migrating my users to a nice new hardware setup.
I decided to change to fulldirhash and to migrate metadata to a separate
partition. First I used "rehash" then "migrate-metadata". Aside from one
glitch (rehash choked on the quota data of a root level mailbox called
"net") everything went fine.
The problem is the following: I have 2 users with long usernames:
csorcsabne and spatandras. Running squatter on these mailboxes dies with:
Oct 24 14:56:27 net-imap imaplocal[12992]: IOERROR: opening
/var/lib/imap/meta/I/user/csorcsabne/cyrus.header: No such file or directory
Oct 24 14:56:58 net-imap imaplocal[12992]: IOERROR: opening
/var/lib/imap/meta/F/user/spatandras/cyrus.header: No such file or directory
Which is not surprising, because the real hash of these users are S and
V respectively, and NOT I and F as squatter tries to access the header
files. I get exactly the same errors if I try to set ACLs on these
mailboxes in cyradm. Listing mailboxes, listing ACLs is fine.
I am not familiar with the cyrus source, but this definitely looks like
a bug. I created user.abcdefghij to see if all mailboxes with a 10
character username have a problem, but this one worked fine.
This is Simon Matters' cyrus-imapd-2.3.9-3 on a 64bit Intel machine with
RHEL 5.
By the way, I remember people having problems with index files after
migrating to 64bit machines. Is this still an issue?
Yours: Laszlo
More information about the Info-cyrus
mailing list