[Dovecot] Quota Calculation seems to be wrong when using dsync

Thomas Leuxner tlx at leuxner.net
Sat Feb 11 09:58:08 EET 2012


Am 09.02.2012 um 19:24 schrieb Timo Sirainen:
> 
> So .. I'm not really sure what I can do about this. There are some
> workarounds you could do, like:
> 
> dsync -u user at domain.tld backup dsync -o mail=mdbox:/<path to backup>/mdbox -o plugin/quota=
> 

Thanks tried this morning. I think it has some issues with options and crashes without options :/

$ doveadm backup -u tlx at leuxner.net mdbox:/tmp/tlx/mdbox -o plugin/quota=
backup: invalid option -- 'o'
doveadm backup [-u <user>|-A] [-S <socket_path>] [-fR] [-m <mailbox>] <dest>

$ doveadm backup -u tlx at leuxner.net mdbox:/tmp/tlx/mdbox
dsync(tlx at leuxner.net): Panic: file dsync-worker-local.c: line 1643 (local_worker_save_msg_continue): assertion failed: (ret == -1)
dsync(tlx at leuxner.net): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x43c9a) [0x7f29e7fbec9a] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7f29e7fbed82] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7f29e7f963af] -> doveadm() [0x428c6a] -> doveadm() [0x428dd1] -> doveadm(dsync_worker_msg_save+0x99) [0x428299] -> doveadm() [0x423e85] -> doveadm() [0x4287bb] -> doveadm() [0x4289b8] -> doveadm(dsync_worker_msg_get+0x56) [0x427ea6] -> doveadm() [0x423c5e] -> doveadm(dsync_brain_msg_sync_more+0x2a4) [0x423524] -> doveadm(dsync_brain_sync+0x4b9) [0x421df9] -> doveadm() [0x422c79] -> doveadm(dsync_brain_sync+0x7fd) [0x42213d] -> doveadm() [0x422b0c] -> doveadm(dsync_brain_sync+0x63e) [0x421f7e] -> doveadm(dsync_brain_sync_all+0x18) [0x4229e8] -> doveadm() [0x4204b0] -> doveadm() [0x40f346] -> doveadm(doveadm_mail_single_user+0x59) [0x40f3f9] -> doveadm() [0x40f646] -> doveadm(doveadm_mail_try_run+0x141) [0x40fa91] -> doveadm(main+0x391) [0x415de1] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7f29e7c37c8d] -> doveadm() [0x40ec59]
Aborted

$ dovecot --version
2.1.rc5 (a927b41bf699)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120211/14adee7e/attachment.bin>


More information about the dovecot mailing list