I/O error moving mailbox

Javier Sánchez-Arévalo Díaz javier.sanchez at coam.org
Tue Jun 26 04:07:10 EDT 2012



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
pcocol01:/buzonesdir/user/col1901 # ls
cyrus.cache  cyrus.header  cyrus.index  Drafts  PosibleSPAM  Sent Trash
pcocol01:/buzonesdir/user/col1901 # cd Drafts/
pcocol01:/buzonesdir/user/col1901/Drafts # ls
cyrus.cache  cyrus.cache.NEW  cyrus.header  cyrus.index cyrus.index.NEW
pcocol01:/buzonesdir/user/col1901/Drafts # rm cyrus.*.NEW
pcocol01:/buzonesdir/user/col1901/Drafts # ls
cyrus.cache  cyrus.header  cyrus.index
pcocol01:/buzonesdir/user/col1901/Drafts # cd ..
pcocol01:/buzonesdir/user/col1901 # cd PosibleSPAM/
pcocol01:/buzonesdir/user/col1901/PosibleSPAM # ls
1365.  1366.  1367.  1368.  356.  cyrus.cache  cyrus.cache.NEW 
cyrus.header  cyrus.index  cyrus.index.NEW
pcocol01:/buzonesdir/user/col1901/PosibleSPAM # rm cyrus.*.NEW
pcocol01:/buzonesdir/user/col1901/PosibleSPAM # ls
1365.  1366.  1367.  1368.  356.  cyrus.cache  cyrus.header cyrus.index
pcocol01:/buzonesdir/user/col1901/PosibleSPAM # cd ..
pcocol01:/buzonesdir/user/col1901 # cd Sent/
pcocol01:/buzonesdir/user/col1901/Sent # ls
cyrus.cache  cyrus.cache.NEW  cyrus.header  cyrus.index cyrus.index.NEW
pcocol01:/buzonesdir/user/col1901/Sent # rm cyrus.*.NEW
pcocol01:/buzonesdir/user/col1901/Sent # ls
cyrus.cache  cyrus.header  cyrus.index
pcocol01:/buzonesdir/user/col1901/Sent # cd ..
pcocol01:/buzonesdir/user/col1901 # cd Trash/
pcocol01:/buzonesdir/user/col1901/Trash # ls
cyrus.cache  cyrus.cache.NEW  cyrus.header  cyrus.index cyrus.index.NEW
pcocol01:/buzonesdir/user/col1901/Trash # rm cyrus.*.NEW
pcocol01:/buzonesdir/user/col1901/Trash # ls
cyrus.cache  cyrus.header  cyrus.index
pcocol01:/buzonesdir/user/col1901/Trash # cd ..
pcocol01:/buzonesdir/user/col1901 # ls
cyrus.cache  cyrus.header  cyrus.index  Drafts  PosibleSPAM  Sent Trash
pcocol01:/buzonesdir/user/col1901 #

// 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?

Thank you very much for your help.

Javier.

On 26/06/2012 9:44, Eric Luyten wrote:
> On Tue, June 26, 2012 9:11 am, Javier Sánchez-Arévalo Díaz wrote:
>> Eric,
>>
>>
>> Here are the results:
>> [...]
>>
>>
>> pcocol01:~ # grep partition /etc/imapd.conf
>> partition-default: /buzonesdir
>> partition-part2: /mnt/aux
>> partition-part3: /mnt/celerra
>> defaultpartition: part3
>>
>>
>>
>> cyrus at pcocol01:~> mbpath user.col1901
>> /buzonesdir/user/col1901
>>
>>
>>
>> cyrus at pcocol01:~> cd /buzonesdir/user/col1901
>> cyrus at pcocol01:/buzonesdir/user/col1901> pwd
>> /buzonesdir/user/col1901
>> cyrus at pcocol01:/buzonesdir/user/col1901> ls
>> cyrus.cache  cyrus.cache.NEW  cyrus.header  cyrus.index cyrus.index.NEW Drafts
>> PosibleSPAM  Sent  Trash
>> cyrus at pcocol01:/buzonesdir/user/col1901> ls -l
>> total 20 -rw------- 1 cyrus mail   4 2012-06-21 11:14 cyrus.cache
>> -rw------- 1 cyrus mail   4 2012-06-21 15:46 cyrus.cache.NEW
>> -rw------- 1 cyrus mail 165 2012-06-21 11:14 cyrus.header
>> -rw------- 1 cyrus mail  76 2012-06-26 07:32 cyrus.index
>> -rw------- 1 cyrus mail  76 2012-06-21 15:46 cyrus.index.NEW
>> drwxrwxrwx 2 cyrus mail 208 2012-06-21 15:46 Drafts
>> drwxrwxrwx 2 cyrus mail 328 2012-06-22 02:06 PosibleSPAM
>> drwxrwxrwx 2 cyrus mail 208 2012-06-21 15:46 Sent
>> drwxrwxrwx 2 cyrus mail 208 2012-06-21 15:46 Trash
>
> Javier,
>
>
> I suggest you get rid of those cyrus.*.NEW files in the source directory.
> (rm cyrus.*.NEW)
>
> Please also check the directory where you want the mailbox to be moved to
> (is that /mnt/celerra/user/col1901 ?)
> Is there already something in that location ?
> Your 'rename_mailbox' may have partially succeeded.
>
>
> 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* <http://www.coam.es>
mail:*javier.sanchez at coam.org* <mailto:javier.sanchez at coam.org>

	



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

<http://www.coam.es>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20120626/a7a3a6d0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logocoam.png
Type: image/png
Size: 3881 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20120626/a7a3a6d0/attachment.png 


More information about the Info-cyrus mailing list