Re: [gentoo-user] btrfs conversion: first impressions

2014-05-14 Thread Stefan G. Weichinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.05.2014 11:30, schrieb Stefan G. Weichinger: > But the encryption topic for me is interesting because I right now > have it mixed on my thinkpad: > > sda1 - /boot/efi sda2 - btrfs -> root etc sda3 - > cryptsetup-partition -> /home on it with e

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-14 Thread Stefan G. Weichinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.05.2014 11:26, schrieb Neil Bothwick: >> What RAID? I think of a laptop with only one SSD inside. You mean >> the duplicated metadata in this case? > > Ah right. I've got RAID n the brain because I'm currently resizing > the partitions for a ZF

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-14 Thread Neil Bothwick
On Wed, 14 May 2014 10:54:35 +0200, Stefan G. Weichinger wrote: > > No, because each element of the RAID is encrypted separately, so > > btrfs can still use the good one to repair the bad one. If you were > > to create an mdadm array, put dm-crypt on that and then btrfs on > > top, which is more e

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-14 Thread Stefan G. Weichinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.05.2014 10:42, schrieb Neil Bothwick: > On Wed, 14 May 2014 10:01:42 +0200, Stefan G. Weichinger wrote: >> But then the "container" of the btrfs would be corrupted, right? > > No, because each element of the RAID is encrypted separately, so > bt

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-14 Thread Neil Bothwick
On Wed, 14 May 2014 10:01:42 +0200, Stefan G. Weichinger wrote: > >> Doesn't that screw up the whole idea of checksumming etc ? > > > > Not to my mind. The bits are recorded and checksummed, that's what > > matters. If a bit on a platter is flipped, the decrypted bits will > > also change. >

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-14 Thread Stefan G. Weichinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.05.2014 02:39, schrieb Neil Bothwick: >> Doesn't that screw up the whole idea of checksumming etc ? > > Not to my mind. The bits are recorded and checksummed, that's what > matters. If a bit on a platter is flipped, the decrypted bits will > a

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-13 Thread Neil Bothwick
On Wed, 14 May 2014 01:09:17 +0200, Stefan G. Weichinger wrote: > >> How to transform partitions/directories set up with cryptsetup > >> into this new world? Set up a btrfs on top of the crypted fs ? I > >> ask because I look for a clean setup for my 2 thinkpads. > > > > Encrypt the partition(s

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-13 Thread Stefan G. Weichinger
Am 14.05.2014 01:02, schrieb Neil Bothwick: > On Wed, 14 May 2014 00:34:12 +0200, Stefan G. Weichinger wrote: > >> How to transform partitions/directories set up with cryptsetup >> into this new world? Set up a btrfs on top of the crypted fs ? I >> ask because I look for a clean setup for my 2 thi

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-13 Thread Neil Bothwick
On Wed, 14 May 2014 00:34:12 +0200, Stefan G. Weichinger wrote: > How to transform partitions/directories set up with cryptsetup into this > new world? Set up a btrfs on top of the crypted fs ? I ask because I > look for a clean setup for my 2 thinkpads. Encrypt the partition(s) with cryptsetup a

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-13 Thread Stefan G. Weichinger
Am 12.05.2014 20:28, schrieb Stefan G. Weichinger: > Next steps: > > * see if things work :-) > > * migrate my other, faster and bigger SSD to the new and shiny root-fs. > I boot from the EFI partition there ... but root and stuff is on the 2nd > SSD. done that today ... and removed the older S

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-12 Thread Stefan G. Weichinger
Am 12.05.2014 16:30, schrieb Marc Joliet: > In a presentation by Donny Berkholz at Fosdem this year [0], he > mentioned the distro CoreOS, and that they can do atomic updates. I > haven't looked it up in detail, but they're website says that they > use a dual-root scheme where the update is perfor

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-12 Thread Marc Joliet
Am Sun, 11 May 2014 23:24:34 +0200 schrieb "Stefan G. Weichinger" : [...] > ... but it is really nice-to-have the option to snapshot your root-fs, > do-something-to-it (emerge unstable stuff, delete the wrong files, you > name it ...), and if you don't like it you simply boot using your > snapshot

Re: [gentoo-user] btrfs conversion: first impressions

2014-05-11 Thread Stefan G. Weichinger
After some initial learning and fiddling I have to say that I really like the features and possibilities of btrfs so far. OK, features bring complexity as well ... some technology hides that more, some less. ... but it is really nice-to-have the option to snapshot your root-fs, do-something-to-i