Re: I/O error moving mailbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 26/06/2012 13:32, Eric Luyten wrote:
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@xxxxxxxx> 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 really appreciate you help  Eric.


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 ?

Yes It is. /mnt/celerra is a NFS mountpoint:


pcocol01:~ # mount | grep celerra
212.145.146.8:/FS_AUX/FS_AUX on /mnt/celerra type nfs (rw,addr=212.145.146.8)


But, honestly I think It's not a real I/O problem. I can move other mailboxes from one partition to another without problem.

[...]
pcocol01:~ # cyradm -u cyrus -pass XXXXXXX localhost
localhost> cm user.movingproblem default
localhost> exit
pcocol01:~ # ls /buzonesdir/user/movingproblem/
cyrus.cache  cyrus.header  cyrus.index
pcocol01:~ # cyradm -u cyrus -pass XXXXXXXX localhost
localhost> renm user.movingproblem user.movingproblem part3
localhost> exit
pcocol01:~ # ls /mnt/celerra/user/movingproblem/
cyrus.cache  cyrus.header  cyrus.index
[...]


Also I don't see any NFS error or warning in log files.

?????????

Thank you again.







Eric Luyten, Computing Centre VUB/ULB.

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




--





Javier Sanchez-Arevalo
Dpto. de Informatica

web:www.coam.es
mail:javier.sanchez@xxxxxxxx



Hortaleza 63
28004 Madrid
T. 915 951 536


Este correo electronico y, en su caso, cualquier fichero anexo al mismo, contiene informacion de caracter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgacion, copia o distribucion a terceros sin la previa autorizacion escrita del COLEGIO OFICIAL DE ARQUITECTOS DE MADRID.
En el caso de haber recibido este correo electronico por error, se ruega notifiquese inmediatamente esta circunstancia mediante reenvio a la direccion electronica del remitente o al telefono 915 951 500 1903
De conformidad con lo establecido en la L.O.P.D. 15/1999, EL COLEGIO OFICIAL DE ARQUITECTOS DE MADRID garantiza la adopcion de las medidas necesarias para asegurar el tratamiento confidencial de los datos de caracter personal. Asi mismo le informamos de la posibilidad de ejercer los derechos de acceso, rectificacion, cancelacion y oposicion en la siguiente direccion: Hortaleza 63. Madrid 28004




----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux