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
  #11 (permalink)  
Old 03-23-2010, 03:35 PM
Member
 
Posts: 14
Default

Quote:
Originally Posted by raj View Post
did you try innodb_force_recovery = 1 to 6 all six options in an increasing order of 1,2...6 or just tried 6 directly.
if you have not tried all 6 then i suggest you do that in increasing order and see if you can start mysqld service

Raj
I tried from 1 to 6, and not work, that's why I name this thread.

I examine the disk and found lot of bad sectors, and in my fsck process there is one of the ib_logfile has report damage.
Reply With Quote
  #12 (permalink)  
Old 03-23-2010, 03:56 PM
Member
 
Posts: 14
Default zimbra database structure

any one can give me a list of ZCS 6.0 database structure include:

database name is zimbra, user is zimbra but all tables, I need it for using the recovery tool of innodb.

thanks in advance!
Reply With Quote
  #13 (permalink)  
Old 03-25-2010, 02:19 AM
Member
 
Posts: 14
Default Summary

solved by the fsck.e3fs -cvf which is manually answering every question of the check tool. this really is the luck that just one of it is the ibdata file repaired, and I copy them it works.

conclusion, the other ways I have checked before moving to the last solution, which I saw all of them need a live connection to the mysql backend, as in this case there is no way of it, and no incremental backups there is no other mysql binlog in the zimbra system, so in case if hard corruption in the ibdata or ib_logfile not work even with innodb_force_recovery = 6, there is no way in zimbra 6.0.0 as tested.

so having a routine backup is a must!
Reply With Quote
  #14 (permalink)  
Old 03-25-2010, 07:37 AM
Moderator
 
Posts: 1,187
Default

Quote:
Originally Posted by wolvesled View Post
solved by the fsck.e3fs -cvf which is manually answering every question of the check tool. this really is the luck that just one of it is the ibdata file repaired, and I copy them it works.

conclusion, the other ways I have checked before moving to the last solution, which I saw all of them need a live connection to the mysql backend, as in this case there is no way of it, and no incremental backups there is no other mysql binlog in the zimbra system, so in case if hard corruption in the ibdata or ib_logfile not work even with innodb_force_recovery = 6, there is no way in zimbra 6.0.0 as tested.

so having a routine backup is a must!
You can schedule a periodic MySQL dump if you like. We use a script called automysqlbackup.sh -- More info at: AutoMySQLBackup | Get AutoMySQLBackup at SourceForge.net

But it sounds like this wasn't a MySQL issue so much as a disk issue, yes?

Running hardware RAID10 with a battery-backed write-cache-equipped controller and a hot-spare disk drive is SOP for us, and even when the controllers fail (and they sometimes do), we have never lost data.

Even a moderately busy Zimbra mailbox server will see MySQL processing ~3,000 questions per second on average. That's not a load we like to see on marginal storage.

Virtualizing Zimbra will only add to the load on the storage system when the Zimbra VM competes for I/O with other VMs running on the host server.

I'm glad you were able to recover, but if it were me I'd be spending some time trying to find out why you got this disk corruption in the first instance -- so you can take steps to avoid this problem recurring in future.

Hope that helps,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
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.