public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kai Krakow <hurikhan77@gmail.com>
To: gentoo-user-de@lists.gentoo.org
Subject: [gentoo-user-de] Re: Akonadi
Date: Sat, 27 May 2017 10:18:40 +0200	[thread overview]
Message-ID: <20170527101840.340a35ca@jupiter.sol.kaishome.de> (raw)
In-Reply-To: 5419266.C8nKY9zgeD@sed-notebook

[-- Attachment #1: Type: text/plain, Size: 2525 bytes --]

Am Sat, 27 May 2017 09:18:43 +0200
schrieb Sven Eden <sven.eden@gmx.de>:

> Hallo allerseits.
> 
> > > Akonadi startet hier nicht richtig. Folgende Fehlermeldungen
> > > erhalte ich beim Start von Kontact.
> > > 170526 13:48:01 [Note] InnoDB: Database was not shutdown normally!
> > > 170526 13:48:01 [Note] InnoDB: Starting crash recovery. 170526
> > > 13:48:01 [Note] InnoDB: Reading tablespace information from
> > > the .ibd files... 170526 13:48:01 [Note] InnoDB: Restoring
> > > possible half-written data pages 170526 13:48:01 [Note] InnoDB:
> > > from the doublewrite buffer... 170526 13:48:06 [ERROR] InnoDB:
> > > Tried to read 16384 bytes at offset 64208896. Was only able to
> > > read 12288. 2017-05-26 13:48:06 7f7699b06740 InnoDB: Operating
> > > system error number 5 in a file operation. InnoDB: Error number 5
> > > means 'Input/output error'. InnoDB: Some operating system error
> > > numbers are described at InnoDB:
> > > http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
> > > 170526 13:48:06 [ERROR] InnoDB: File (unknown): 'read' returned OS
> > > error 105. Cannot continue operation  
> 
> Wieso wurde denn mysql nicht richtig beendet? Stromausfall oder so?
> 
> Naja, die Innodb ist hin.

Richtig...


> > Sieht aus, als wäre die MySQL-Datei von Akonadi beschädigt, und
> > außerdem die InnoDB-Log-Datei... Da wird es vermutlich einfacher,
> > das neu aufzusetzen. Gibt es Backups von deinen Mails?  
> 
> Alle Mails sind entweder auf dem Server oder dem Dateisystem. Die
> Datenbank von Akonadi ist nur für die Organisation und Metadatensuche.

Werden nicht sehr kleine Objekte direkt in der Datenbank gespeichert
und nicht extern? Die wären dann doch auch weg?


> > Die Frage ist eigentlich auch, wie das passieren konnte. Verwendest
> > du dein Dateisystem mit nobarrier?  
> 
> "InnoDB: Database was not shutdown normally!" - Und das mitten im 
> Schreibprozess. Die InnoDB ist *eigentlich* sehr robust.

Ja, eigentlich... Wenn man allerdings die Ordering-Garantien des
Dateisystems abschaltet, geht die beim Absturz/Reset/Stromausfall nun
mal kaputt, zumindest wenn gerade darin geschrieben wird.
HDD-Schreibcache und nobarrier können da beide sehr böse Fallen werden,
die aber in fast jedem einfachen Tuning-Tutorial immer wieder erwähnt
werden. InnoDB muss sich auf den unterliegenden Storage-Stack verlassen
können, sonst funktioniert es nicht.


-- 
Regards,
Kai

Replies to list-only preferred.

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2017-05-27  8:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-26 11:58 [gentoo-user-de] Akonadi Sebastian Kürschner
2017-05-26 12:16 ` [gentoo-user-de] Akonadi Kai Krakow
2017-05-27  7:18   ` Sven Eden
2017-05-27  8:18     ` Kai Krakow [this message]
2017-05-27  8:58       ` Sven Eden
2017-05-27 14:13         ` Kai Krakow
2017-05-31  7:01           ` Sven Eden
2017-05-31 19:53             ` Kai Krakow
  -- strict thread matches above, loose matches on Subject: below --
2017-05-27 13:05 [gentoo-user-de] Re Akonadi Sebastian Kürschner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170527101840.340a35ca@jupiter.sol.kaishome.de \
    --to=hurikhan77@gmail.com \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox