Re: I/O error moving mailbox

2012-06-26 Thread Javier Sánchez-Arévalo Díaz

  
  

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@pcocol01:~ mbpath user.col1901
/buzonesdir/user/col1901


cyrus@pcocol01:~ cd /buzonesdir/user/col1901
cyrus@pcocol01:/buzonesdir/user/col1901 pwd
/buzonesdir/user/col1901
cyrus@pcocol01:/buzonesdir/user/col1901 ls
cyrus.cache cyrus.cache.NEW cyrus.header cyrus.index
cyrus.index.NEW Drafts PosibleSPAM Sent Trash
cyrus@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


cyrus@pcocol01:/buzonesdir/user/col1901 chk_cyrus -M
user.col1901
Examining mailbox: user.col1901
checking: user.col1901 (/buzonesdir/user/col1901)
- 0 records
[...]



Thank you.





On 25/06/2012 14:56, Eric Luyten wrote:


  On Mon, June 25, 2012 10:30 am, Javier Snchez-Arvalo Daz wrote:

  


  
  

  
Hi again!



Nobody have any idea about how to solve this problem?


I'm confused about the real state of the database and I have no idea
about how to solve this issue.

Does anybody have any idea about how to help me?

  
  

Javier,


What is the output of :


 'grep partition /etc/imapd.conf'

 'mbpath user.col1901'

and what happens if you 'cd' into the result of the second
command and execute 'pwd' and 'ls' there ?

Does 'chk_cyrus -M user.col1901' return something weird ?


Regards,
Eric Luyten, Computing Centre VUB/ULB.




  

On 21/06/2012 12:50, Javier Snchez-Arvalo Daz wrote:



  
On 21/06/2012 12:18, Adam Tauno Williams wrote:


  
On Thu, 2012-06-21 at 11:57 +0200, Javier Snchez-Arvalo Daz wrote:



  I'm experiencing some problems moving a mailbox from one partition
("default") to another ("part3").
I have already moved more than 19000 mailboxes from "default" to
"part3" but I don't know why I'm unable to move
"user.col1901"



If you tail your mail / messages log do you see any messages when you
try to move the mailbox?

  
  
Yes.


This is what I receive in /var/log/messages:


[...]
Jun 21 12:33:43 pcocol01 imap[19914]: DBERROR: error fetching
user.col1901: cyrusdb error
[...]



And this is the result of executing ctl_mboxlist for this partition:


[...]
cyrus@pcocol01:~ ctl_mboxlist -d -p default
user.col1901default col1901 lrswipcda user.col1901.Drafts default
col1901 lrswipcda user.col1901.PosibleSPAMdefault col1901 lrsipd
cyrus lrswipcda user.col1901.Sent   default col1901 lrswipcda
user.col1901.Trash  default col1901 lrswipcda [...]




  

  When I try to do It I receive the next error:
[...]
localhost renm user.col1901 user.col1901 part3 renamemailbox: System I/O
error [...]
I have checked permissions and even I have given 777 to this mailbox:



It probably isn't a good idea to mess with filesystem permissions.  As
long as everything is owned by your cyrus user it should be just fine.

  
  
I agree. It was just for test purposes.


Thank you for your help Adam.


--






*Javier Sanchez-Arevalo*
Dpto. de Informatica


web:*www.coam.es* http://www.coam.es
mail:*javier.sanc...@coam.org* mailto:javier.sanc...@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 

Re: I/O error moving mailbox

2012-06-26 Thread Eric Luyten
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@pcocol01:~ mbpath user.col1901
 /buzonesdir/user/col1901



 cyrus@pcocol01:~ cd /buzonesdir/user/col1901
 cyrus@pcocol01:/buzonesdir/user/col1901 pwd
 /buzonesdir/user/col1901
 cyrus@pcocol01:/buzonesdir/user/col1901 ls
 cyrus.cache  cyrus.cache.NEW  cyrus.header  cyrus.index cyrus.index.NEW Drafts
 PosibleSPAM  Sent  Trash
 cyrus@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


Re: I/O error moving mailbox

2012-06-26 Thread Javier Sánchez-Arévalo Díaz

  
  


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 XXX 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  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 Snchez-Arvalo Daz 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@pcocol01:~ mbpath user.col1901
/buzonesdir/user/col1901



cyrus@pcocol01:~ cd /buzonesdir/user/col1901
cyrus@pcocol01:/buzonesdir/user/col1901 pwd
/buzonesdir/user/col1901
cyrus@pcocol01:/buzonesdir/user/col1901 ls
cyrus.cache  cyrus.cache.NEW  cyrus.header  cyrus.index cyrus.index.NEW Drafts
PosibleSPAM  Sent  Trash
cyrus@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: 

Upgrade path from Cyrus 2.2 o 2.4

2012-06-26 Thread Dominique
Hi,

I am running Cyrus2.2 installed on a small Ubuntu server through 
apt-get, and I was looking at upgrading to Cyrus2.4.

Can I simply remove C2.2 and Install C2.4 in its place, keeping 
everything else the same ? Or are there more fundamental changes 
(mailbox structure or other?) that need to be addressed specifically ?

Thanks for the input.

Dominique

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


Re: I/O error moving mailbox

2012-06-26 Thread Sebastian Hagedorn
--On 26. Juni 2012 10:07:10 +0200 Javier Sánchez-Arévalo Díaz 
javier.sanc...@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 XXX 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  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.

--
.:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.
.:.Regionales Rechenzentrum (RRZK).:.
.:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:.

p7saiofCHRBpT.p7s
Description: S/MIME cryptographic signature

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

Re: I/O error moving mailbox

2012-06-26 Thread Javier Sánchez-Arévalo Díaz

  
  

On 26/06/2012 12:45, Sebastian Hagedorn
  wrote:

--On 26. Juni 2012 10:07:10 +0200 Javier
  Snchez-Arvalo Daz javier.sanc...@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 XXX
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 
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 XX localhost
localhost renm user.col1901 user.col1901 part3
renamemailbox: System I/O error
[...]

Any other test or idea to try?

Thanks a lot!.


-- 
  
  
  




  
  

  

  Javier Sanchez-Arevalo
Dpto. de Informatica

web:www.coam.es
mail:javier.sanc...@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
  
  
  




  


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

Re: I/O error moving mailbox

2012-06-26 Thread Eric Luyten
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.sanc...@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 XXX 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  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 XX 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.


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


Re: I/O error moving mailbox

2012-06-26 Thread Javier Sánchez-Arévalo Díaz

  
  

On 26/06/2012 13:32, Eric Luyten wrote:


  On Tue, June 26, 2012 12:54 pm, Javier Snchez-Arvalo Daz wrote:

  


  
  

  
On 26/06/2012 12:45, Sebastian Hagedorn wrote:



  --On 26. Juni 2012 10:07:10 +0200 Javier Snchez-Arvalo Daz
javier.sanc...@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 XXX 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  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 XX 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 XXX localhost
localhost cm user.movingproblem default
localhost exit
pcocol01:~ # ls /buzonesdir/user/movingproblem/
cyrus.cache cyrus.header cyrus.index
pcocol01:~ # cyradm -u cyrus -pass  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.sanc...@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 

Re: Upgrade path from Cyrus 2.2 o 2.4

2012-06-26 Thread Dan White
On 06/26/12 11:50 +0200, Dominique wrote:
Hi,

I am running Cyrus2.2 installed on a small Ubuntu server through
apt-get, and I was looking at upgrading to Cyrus2.4.

Can I simply remove C2.2 and Install C2.4 in its place, keeping
everything else the same ? Or are there more fundamental changes
(mailbox structure or other?) that need to be addressed specifically ?

Upgrade instructions can be found here:

http://cyrusimap.org/docs/cyrus-imapd/2.4.16/install-upgrade.php

I have not performed such a large upgrade jump myself, but I assume that it
is possible.

-- 
Dan White

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