public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@binarywings.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dm-crypt + ext4 = where will the journal go?
Date: Mon, 03 Sep 2012 22:40:12 +0200	[thread overview]
Message-ID: <504515AC.9060603@binarywings.net> (raw)
In-Reply-To: <trinity-d4c8875e-6af1-4873-9151-83c82e7599a8-1346703623543@3capp-webde-bs27>

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

Am 03.09.2012 22:20, schrieb "Roland Häder":
> Hi all,
> 
> I'm currently testing dm-crypt to encrypt my whole hard drive. So far
> I followed this [1] guide and have to wait for the randomization part
> of the hard drive.
> 

You forgot the link to [1].

> In the wiki, ext4 is being used. Since ext3 a journal has been added.
> From my times with loop-aes I know that I have to store the journal
> through an encrypted loop device else it might be written on the hard
> drive.
> 

Never used loop-aes myself. Sorry if I miss the reason for your
confusion because of it.

> As of I'm new to dm-crypt and Gentoo, where will that journal now
> go?
> 

Opening a dmcrypt volume creates a mapped block device in /dev/mapper.
You treat it like a partition and format it with ext4. Unless you use
some exotic flags for mke2fs, the journal will be put on the same block
device and is encrypted along with the rest of it.

So: No need to worry about it.

Hope this helps,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  parent reply	other threads:[~2012-09-03 20:43 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 20:20 [gentoo-user] dm-crypt + ext4 = where will the journal go? "Roland Häder"
2012-09-03 20:36 ` Aw: " "Roland Häder"
2012-09-03 20:52   ` Florian Philipp
2012-09-03 21:23     ` Aw: " "Roland Häder"
2012-09-03 22:12       ` "Roland Häder"
2012-09-04 13:48         ` "Roland Häder"
2012-09-04 14:15           ` Dale
2012-09-04 15:14             ` Alan McKinnon
2012-09-04 15:53               ` Dale
2012-09-04 16:10                 ` Michael Mol
2012-09-04 20:09                 ` Neil Bothwick
2012-09-04 20:51                   ` Florian Philipp
2012-09-04 15:59             ` Aw: Re: " "Roland Häder"
2012-09-04 17:37           ` Aw: " Hinnerk van Bruinehsen
2012-09-04 18:18             ` Florian Philipp
2012-09-04 18:27               ` Michael Mol
2012-09-04 19:09                 ` Florian Philipp
2012-09-04 20:05                   ` Aw: " "Roland Häder"
2012-09-04 20:15                     ` Hinnerk van Bruinehsen
2012-09-04 18:48             ` Michael Hampicke
2012-09-04 20:08               ` Hinnerk van Bruinehsen
2012-09-04 20:15             ` Neil Bothwick
2012-09-04 18:33         ` Florian Philipp
2012-09-04 19:40           ` Aw: " "Roland Häder"
2012-09-04 19:47             ` Michael Mol
2012-09-04 20:36             ` Florian Philipp
2012-09-04 18:59       ` Florian Philipp
2012-09-04 20:14         ` Neil Bothwick
2012-09-04 20:45           ` Florian Philipp
2012-09-04 21:10             ` Neil Bothwick
2012-09-04 22:03               ` Samurai
2012-09-05 16:04                 ` Aw: " "Roland Häder"
2012-09-05 16:12                   ` Michael Mol
2012-09-05 18:18                     ` Aw: " "Roland Häder"
2012-09-05 22:10                       ` Florian Philipp
2012-09-06 14:20                         ` Aw: " "Roland Häder"
2012-09-06 15:36                           ` "Roland Häder"
2012-09-03 20:40 ` Florian Philipp [this message]
2012-09-03 20:52   ` "Roland Häder"
2012-09-03 20:51 ` Steve Buzonas

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=504515AC.9060603@binarywings.net \
    --to=lists@binarywings.net \
    --cc=gentoo-user@lists.gentoo.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