Fulldirhash-metapartition bug?

Alain Spineux aspineux at gmail.com
Wed Oct 24 13:23:39 EDT 2007


On 10/24/07, Tornoci Laszlo <torlasz at xenia.sote.hu> wrote:
> 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.

Do csorcsabne and spatandras can receive and read their email ?
If not, maybe this is another "glitch" of rehash !
You could try to rename these mailbox into I and V.

>
> 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
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>


-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list