Re: [Dovecot] what to expect from changing index location

2011-06-30 Thread Davide Vaghetti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/29/2011 06:36 PM, William Blunn wrote: On 28/06/2011 17:13, Davide Vaghetti wrote: I have one thousand virtual users with mdbox mailbox format and 10 GByte quota. I have noticed some performance problem related to I/O (the mailbox disk is a

Re: [Dovecot] what to expect from changing index location

2011-06-30 Thread William Blunn
I concede that this is most likely a WIBNI (Wouldn't It Be Nice If...) and most likely will end up on the list of WIBNIs, never to be implemented. But I would like to take the brainstorm forward another step, just to see. On 30/06/2011 05:35, Timo Sirainen wrote: To allow for migration of

Re: [Dovecot] what to expect from changing index location

2011-06-29 Thread Davide Vaghetti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/28/2011 07:29 PM, Charles Marcus wrote: On 2011-06-28 12:13 PM, Davide Vaghetti wrote: mail_location = mdbox:/var/vmail/%-1.1u/%u/mdbox and I want to switch to mail_location =

Re: [Dovecot] what to expect from changing index location

2011-06-29 Thread William Blunn
On 28/06/2011 17:13, Davide Vaghetti wrote: I have one thousand virtual users with mdbox mailbox format and 10 GByte quota. I have noticed some performance problem related to I/O (the mailbox disk is a 6TB raid1+0 on ISCSI), so I want to put the index files on a different disk. My actual

Re: [Dovecot] what to expect from changing index location

2011-06-29 Thread William Blunn
In fact, under sdbox and mdbox, calling these files index files is misleading because it implies that they can be re-created, leading to situations like this. Such situations could result in catastrophic data loss. Whilst we could say it is user error, users could argue that it is common

Re: [Dovecot] what to expect from changing index location

2011-06-29 Thread William Blunn
On 29/06/2011 18:00, William Blunn wrote: Perhaps the per-mailbox index files for sdbox and mdbox should be re-named to message metadata databases, and the map index should be renamed to message store database. Also it might be an idea to change the filenames of the files to avoid the word

Re: [Dovecot] what to expect from changing index location

2011-06-29 Thread Timo Sirainen
On Wed, 2011-06-29 at 18:09 +0100, William Blunn wrote: On 29/06/2011 18:00, William Blunn wrote: Perhaps the per-mailbox index files for sdbox and mdbox should be re-named to message metadata databases, and the map index should be renamed to message store database. Also it might be an

Re: [Dovecot] what to expect from changing index location

2011-06-28 Thread Charles Marcus
On 2011-06-28 12:13 PM, Davide Vaghetti wrote: mail_location = mdbox:/var/vmail/%-1.1u/%u/mdbox and I want to switch to mail_location = mdbox:/var/vmail/%-1.1u/%u/mdbox:INDEX=/var/indexes/%-1.1u/%u/ But I cannot figure out a pair of things: - - do the switch trigger the rebuilding of