Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-03-2009, 01:45 PM
Junior Member
 
Posts: 6
Question Delete lost messages

Hi There,
During a failed attempt to upgrade the hardware of the production server I have lost the HSM drive to a nasty crush.
It is not a disaster to the company, but I have to tidy up things in order to let the users carry on working without errors.
Currently if they go back in their inbox previous to the HSM cutover date, they can see messages which they cannot open, since the BLOB of the message is lost.
This is obvious however, I tried few mailboxes and done the reindex mailbox, however it didn't solve the problem. It still doesn't delete these messages or pointers to the messages.

Does anyone have an idea of how to remove all the "lost" messages from all the mailboxes in one process?

Thank you very much for your help,
Best Regards,
Dvir
Reply With Quote
  #2 (permalink)  
Old 07-04-2009, 04:43 AM
Moderator
 
Posts: 7,911
Default

Well, first of all to ascertain the full impact you could run
Code:
su - zimbra
zmblobchk
It would also be helpful if you would update your profile with the following output so we know which version of ZCS you are running
Code:
su - zimbra
zmcontrol -v
Well, there is probably a easier way of doing what I am going to describe but here goes anyway
Code:
su - zimbra
zmvolume -l    * this will list all your volumes so you can see which is your HSM
mysql
use mboxgroup1;
select * from mail_item where volume_id = '3'   * obviously change the volume_id to be your HSM one.
You could then delete all the mail items that are in your HSM but do not have any data files. You will need to do this for all the 10 mboxgroups and then re-index once completed. Alternatively, you may just be able to remove the HSM store and all the referencial data will be updated accordingly.

NO warranty comes with any of this as I personally keep good backups
__________________

Last edited by uxbod; 07-04-2009 at 04:54 AM..
Reply With Quote
  #3 (permalink)  
Old 07-04-2009, 04:47 AM
Junior Member
 
Posts: 6
Default Zimbra Version...

Using the latest NE Version.

5.0.16

On RHEL 4 Machine.

Will the blob check also remove or only display the problem?
Is there a flag to activating a removal of invalid blobs?
Reply With Quote
  #4 (permalink)  
Old 07-04-2009, 03:01 PM
Junior Member
 
Posts: 6
Default Backups

Quote:
Originally Posted by uxbod View Post
NO warranty comes with any of this as I personally keep good backups
You right, me too, it's all backed up on the users' machines and already done archiving on these machines. That's why I wrote that it is not really a problem that the information is lost.
I didn't expect the storage device to fail on me like that, but nothing really important is lost, as all the important mailboxes are backuped seperately.

Thank you for the input, will give it a shot on Monday.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.