Page 2 of 2

[SOLVED] Find account by UUID

Posted: Tue Jun 28, 2011 9:46 am
by L. Mark Stone
[quote user="fyd"]Hi Mark, thanks. Good to see you.
Mine is an ldap/mta/proxy along with two mailstore servers. I guess you are right, I've moved some accounts from one mailstore to another, through the standard mailbox move with zmmailbox. I then make sure it doesn't exist there(make sure the account shows the new mailstore as location)

But that was some long time back, and never seen those errors on my previous 6 versions.
So do you think this can happen as the ids were cached by ldap, and now querying it?[/QUOTE]
That might be it; zmmailboxmove is meant to be run twice. First to move a copy of the mailbox to the new server and update the system that the moved copy is now the "real" mailbox. The second time you run zmmailboxmove with the "-po" (purge old) switch, the old, original mailbox is deleted from the original mailbox server.
If you still have the list of moved mailboxes, wouldn't hurt to run zmmailboxmove with the -po switch against the user's mailbox(es) on the old mailbox server (from whence the mailbox had been moved, not the current mailbox server).
Hope that helps,

Mark

[SOLVED] Find account by UUID

Posted: Wed Jun 29, 2011 12:48 am
by fyd
[quote user="LMStone"]That might be it; zmmailboxmove is meant to be run twice. First to move a copy of the mailbox to the new server and update the system that the moved copy is now the "real" mailbox. The second time you run zmmailboxmove with the "-po" (purge old) switch, the old, original mailbox is deleted from the original mailbox server.
If you still have the list of moved mailboxes, wouldn't hurt to run zmmailboxmove with the -po switch against the user's mailbox(es) on the old mailbox server (from whence the mailbox had been moved, not the current mailbox server).
Hope that helps,

Mark[/QUOTE]
Okay. I just wanted to make sure it was harmless. No issues reported so far so I guess that must be it. Will make note of this.
Thanks for highlighting the right procedure.

[SOLVED] Find account by UUID

Posted: Wed Jun 29, 2011 8:14 am
by L. Mark Stone
[quote user="fyd"]Hi Mark, thanks. Good to see you.
Mine is an ldap/mta/proxy along with two mailstore servers. I guess you are right, I've moved some accounts from one mailstore to another, through the standard mailbox move with zmmailbox. I then make sure it doesn't exist there(make sure the account shows the new mailstore as location)

But that was some long time back, and never seen those errors on my previous 6 versions.
So do you think this can happen as the ids were cached by ldap, and now querying it?[/QUOTE]
Glad we could help! Marking the thread as "Solved".
All the best,

Mark

[SOLVED] Find account by UUID

Posted: Tue Jul 05, 2011 8:23 am
by fyd
Mark, one quick question. I can see my HSM is pretty large, is it because I never ran the 'zmmailbox purge' for those accounts I moved? The server now doesn't have much accounts left. But it is configured to include HSM messages while doing zmmailbox move.
[zimbra@ ~]$ zmprov gacf | grep -i hsm

zimbraMailboxMoveSkipHsmBlobs: FALSE

[zimbra@ ~]$

[SOLVED] Find account by UUID

Posted: Tue Jul 05, 2011 8:37 am
by L. Mark Stone
Messages in an HSM volume do indeed move to the new server using zmmailboxmove.
But recall that when you move a mailbox to another server you lose the hardlinking for mailstore items, and your disk space utilization can increase -- sometimes by a lot!
Consider User A sends a 20MB PowerPoint to nine other users on Mailbox server X.
Now, you zmmailboxmove all ten mailboxes from Mailbox server X to Mailbox server Y.
The disk space consumed by that one email has gone from a little more than 20MB on server X to a little more than 200MB on server Y.
That's why in the long run it can be more cost-effective to add storage to an existing mailbox server rather than move mailboxes to another server.
Hope that helps,

Mark

[SOLVED] Find account by UUID

Posted: Tue Jul 05, 2011 9:34 am
by fyd
Thanks Mark, thats informative. Something that most of us don't know I guess.

[SOLVED] Find account by UUID

Posted: Tue Jul 05, 2011 9:40 am
by L. Mark Stone
[quote user="fyd"]Thanks Mark, thats informative. Something that most of us don't know I guess.[/QUOTE]
We've been running Zimbra since 4.0.3. We have a few "learning experiences" under our belts!
But, the forums we found were very helpful to us when we were getting started, so we try to pay it forward here. You can too!
All the best,

Mark

[SOLVED] Find account by UUID

Posted: Tue Jul 05, 2011 10:08 am
by fyd
[quote user="LMStone"]We've been running Zimbra since 4.0.3. We have a few "learning experiences" under our belts!
But, the forums we found were very helpful to us when we were getting started, so we try to pay it forward here. You can too!
All the best,

Mark[/QUOTE]
It is something great you do here, its beyond a thanks. But still, thank you again!! Its true that forums have a lot of info, and I think sometimes more than the wiki.
I am learning but the feeling is lot better when its shared here. Always looking forward to that! :)
Btwn I also think Mods should never have vacations :D

[SOLVED] Find account by UUID

Posted: Sat Jul 09, 2011 8:16 pm
by L. Mark Stone
[quote user="fyd"]It is something great you do here, its beyond a thanks. But still, thank you again!! Its true that forums have a lot of info, and I think sometimes more than the wiki.
I am learning but the feeling is lot better when its shared here. Always looking forward to that! :)
Btwn I also think Mods should never have vacations :D[/QUOTE]
Sorry I didn't reply sooner to thank you for your kind words; I just got back from vacation... ;-)
All the best,

Mark

[SOLVED] Find account by UUID

Posted: Sun Jul 10, 2011 1:50 am
by fyd
[quote user="LMStone"]Sorry I didn't reply sooner to thank you for your kind words; I just got back from vacation... ;-)
All the best,

Mark[/QUOTE]
:D ha haa okay. Seems like you had a great time, very good to know. I really miss one. :) To get away from work for a while.