Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] btrfs conversion: first impressions
Date: Wed, 14 May 2014 08:43:04
Message-Id: 20140514094247.7753ea59@digimed.co.uk
In Reply to: Re: [gentoo-user] btrfs conversion: first impressions by "Stefan G. Weichinger"
1 On Wed, 14 May 2014 10:01:42 +0200, Stefan G. Weichinger wrote:
2
3 > >> Doesn't that screw up the whole idea of checksumming etc ?
4 > >
5 > > Not to my mind. The bits are recorded and checksummed, that's what
6 > > matters. If a bit on a platter is flipped, the decrypted bits will
7 > > also change.
8 >
9 > But then the "container" of the btrfs would be corrupted, right?
10
11 No, because each element of the RAID is encrypted separately, so btrfs
12 can still use the good one to repair the bad one. If you were to create
13 an mdadm array, put dm-crypt on that and then btrfs on top, which is more
14 efficient because it encrypts each byte only once, then you would lose
15 the check and repair facilities.
16
17
18 --
19 Neil Bothwick
20
21 -Come, come, why they couldn't hit an elephant from this dist-

Attachments

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

Replies

Subject Author
Re: [gentoo-user] btrfs conversion: first impressions "Stefan G. Weichinger" <lists@×××××.at>