I/O error moving mailbox
Eric Luyten
Eric.Luyten at vub.ac.be
Tue Jun 26 07:32:12 EDT 2012
On Tue, June 26, 2012 12:54 pm, Javier Sánchez-Arévalo Díaz wrote:
>
> On 26/06/2012 12:45, Sebastian Hagedorn wrote:
>
>> --On 26. Juni 2012 10:07:10 +0200 Javier Sánchez-Arévalo Díaz
>> <javier.sanchez at coam.org> wrote:
>>
>>
>>> I have just tried your suggestion:
>>>
>>>
>>> [...]
>>>
>>>
>>> // cyrus.*.NEW files removed:
>>>
>>>
>>> pcocol01:~ # cd /buzonesdir/user/col1901/
>>> pcocol01:/buzonesdir/user/col1901 # ls
>>> cyrus.cache cyrus.cache.NEW cyrus.header cyrus.index cyrus.index.NEW
>>> Drafts PosibleSPAM Sent Trash
>>> pcocol01:/buzonesdir/user/col1901 # rm cyrus.*.NEW
>>>
>> ...
>>
>>>
>>> // You are right, there was a partial "movement" in
>>> /mnt/celerra/user/col1901:
>>>
>>>
>>> pcocol01:/buzonesdir/user/col1901 # ls /mnt/celerra/user/col1901/
>>> cyrus.cache cyrus.header cyrus.index
>>>
>>> // If I try to move the mailbox without removing this partial files I
>>> have no success:
>>>
>>> pcocol01:/buzonesdir/user/col1901 # cd ..
>>> pcocol01:/buzonesdir/user # cyradm -u cyrus -pass XXXXXXX localhost
>>> localhost> renm user.col1901 user.col1901 part3 renamemailbox: System I/O
>>> error localhost> exit
>>>
>>>
>>> // But It also doesn't work if I remove those files previously.
>>>
>>>
>>> pcocol01:/buzonesdir/user # rm -rf /mnt/celerra/user/col1901
>>> pcocol01:/buzonesdir/user # ls /mnt/celerra/user/col1901
>>> /bin/ls: /mnt/celerra/user/col1901: No such file or directory
>>> pcocol01:/buzonesdir/user # cyradm -u cyrus -pass XXXXXXXX localhost
>>> localhost> renm user.col1901 user.col1901 part3 renamemailbox: System I/O
>>> error
>>>
>>> [...]
>>>
>>>
>>> Any other idea?
>>>
>>
>> Just an idea: Have you checked if after the first attempt the .NEW
>> files you had previously deleted hadn't perhaps reappeared? Maybe you need to
>> delete them again.
>
> I did It :(
>
>
> [...]
> // no *NEW* files in origin partition mailbox:
>
>
> pcocol01:~ # find /buzonesdir/user/col1901/ -iname '*NEW*' -print
> pcocol01:~ #
>
>
> // no one file in destination partition:
> pcocol01:/mnt/celerra/user # ls /mnt/celerra/user/col1901
> /bin/ls: /mnt/celerra/user/col1901: No such file or directory
>
>
> // But still It doesn't work :(
> pcocol01:~ # cyradm -u cyrus -pass XXXXXX localhost
> localhost> renm user.col1901 user.col1901 part3 renamemailbox: System I/O error
> [...]
>
>
> Any other test or idea to try?
Javier,
I am in the middle of preparations for a Cyrus migration myself (50 million
messages in 475,000 mailboxes, totalling more than 5 Terabyte of e-mail)
but I would expect the destination directory to be certainly empty, if not
non-existing. I have little time to test this on my Cyrus 2.3 environment,
however.
I noticed your destination partition bearing a 'celerra' name component.
Is this an NFS mount or an iSCSI block device 'attach' on your Cyrus server ?
Eric Luyten, Computing Centre VUB/ULB.
More information about the Info-cyrus
mailing list