Return-Path: Received: from 185-6-29-55-rev.logitus.pl ([185.6.29.55]:60615 "EHLO mother.pipebreaker.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbaJQIKj (ORCPT ); Fri, 17 Oct 2014 04:10:39 -0400 Date: Fri, 17 Oct 2014 10:10:09 +0200 From: Tomasz Torcz To: linux-btrfs@vger.kernel.org Subject: Re: unexplainable corruptions 3.17.0 Message-ID: <20141017081009.GC582640@mother.pipebreaker.pl> References: <20141016091726.GA582640@mother.pipebreaker.pl> <20141017080202.GA3604@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20141017080202.GA3604@localhost.localdomain> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Fri, Oct 17, 2014 at 04:02:03PM +0800, Liu Bo wrote: > > Recently I've observed some corruptions to systemd's journal > > files which are somewhat puzzling. This is especially worrying > > as this is btrfs raid1 setup and I expected auto-healing. > > > > System details: 3.17.0-301.fc21.x86_64 > > btrfs: raid1 over 2x dm-crypted 6TB HDDs. > > mount opts: rw,relatime,seclabel,compress=lzo,space_cache > > Reads with cat, hexdump fails with: > > read(4, 0x1001000, 65536) = -1 EIO (Input/output error) > > > Does scrub work for you? As there seem to be no way to scrub individual files, I've started scrub of full volume. It will take some hours to finish. Meanwhile, could you satisfy my curiosity what would scrub do that wouldn't be done by just reading the whole file? -- Tomasz Torcz "Never underestimate the bandwidth of a station xmpp: zdzichubg@chrome.pl wagon filled with backup tapes." -- Jim Gray