Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]
Date: Fri, 18 Sep 2015 18:20:27
Message-Id: 201509181920.08912.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10] by Rich Freeman
1 On Friday 18 Sep 2015 19:15:50 Rich Freeman wrote:
2 > On Fri, Sep 18, 2015 at 1:56 PM, Mick <michaelkintzios@×××××.com> wrote:
3 > > On Friday 18 Sep 2015 17:16:54 Marc Joliet wrote:
4 > >> On Friday 18 September 2015 10:31:01 Mick wrote:
5 > >> >A couple of months ago the akonadi DB went sideways and kmail played up
6 > >> >as a result. Again I was suspicious of btrfs, but neither the logs
7 > >> >nor fsck showed up anything.
8 > >>
9 > >> I take it "btrfs scrub" didn't turn up anything, or is that what you
10 > >> meant by fsck?
11 > >
12 > > Am I supposed to run scrub with I do not have a RAID running? I thought
13 > > scrub was meant for comparing checksums between mirrored fs - have I got
14 > > this wrong?
15 >
16 > You can actually run scrub on a non-raid btrfs setup. Btrfs will
17 > report any errors that it detects (using the checksumming in the
18 > filesystem), but it would not be able to fix errors unless you have it
19 > storing redundant data somewhere (even on non-raid it still stores
20 > redundant metadata by default, and you can choose to do this with data
21 > as well which protects against block-level failures but not disk-level
22 > failures, obviously).
23 >
24 > However, you'd have gotten the same errors in dmesg just trying to
25 > read the files - btrfs checks the checksum on all file read
26 > operations. That is a big part of the value of both btrfs and zfs.
27
28 Ah! V interesting ... can I run scrub with mounted partitions, or do I have
29 to do it from a LiveCD?
30
31 --
32 Regards,
33 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies