From: "Jogi Hofmüller" <jogi@mur.at>
To: linux-btrfs@vger.kernel.org
Subject: strange i/o errors with btrfs on raid/lvm
Date: Thu, 24 Sep 2015 16:34:15 +0200 [thread overview]
Message-ID: <560409E7.5020500@mur.at> (raw)
[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]
Hi all,
We experience strange Input/output errors on our mail server (dovecot
pop/imap) that is using btrfs for its mailspool.
The server uses software RAID10. The RAID is split into LVMs. The
mailspool logical volume uses btrfs. For several days now we see
Input/output errors on different files. We could pinpoint the first
occurrence of the errors to a day when one of the RAID disks failed.
More precisely it all started while the RAID was rebuilding.
All affected files are files that are read/written frequently, like
dovecot index files, maildirsize and the likes.
Most files return to a useful state after some time (sometimes days,
sometimes minutes), which is why we didn't notice the errors right away.
We do snapshot and send/receive backup of the mailspool via cron. A
file that is unreadable in the mailspool is totally OK on the backup
volume, even the latest 'copy' that must have been taken from an
otherwise unreadable file. It is also possible to restore an unreadable
file from backup without Input/output error. The file is fine and
useful then.
All disks taking part in the RAID show now SMART errors btw and a btrfs
scrub on the mailspool did not indicate any errors (I somehow expected
that).
All this runs on a virtual machine that uses kernel 4.1.3 (Debian build)
and btrfs-progs v4.0.
So finally I would ask what we can do to solve this problem? I also
appreciate comments to the situation and of course hints to what is
going on. This is over my head.
Thanks and cheers,
--
J.Hofmüller
Nisiti - Abie Nathan, 1927-2008
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]
next reply other threads:[~2015-09-24 14:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 14:34 Jogi Hofmüller [this message]
2015-09-24 17:41 ` strange i/o errors with btrfs on raid/lvm Chris Murphy
2015-09-25 17:17 ` Chris Murphy
[not found] ` <5605ADE4.5090800@mur.at>
2015-09-25 20:47 ` Chris Murphy
2015-09-28 8:39 ` Jogi Hofmüller
2015-10-02 3:54 ` Russell Coker
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=560409E7.5020500@mur.at \
--to=jogi@mur.at \
--cc=linux-btrfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).