Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dm-crypt + ext4 = where will the journal go?
Date: Mon, 03 Sep 2012 20:43:57
Message-Id: 504515AC.9060603@binarywings.net
In Reply to: [gentoo-user] dm-crypt + ext4 = where will the journal go? by "Roland Häder"
1 Am 03.09.2012 22:20, schrieb "Roland Häder":
2 > Hi all,
3 >
4 > I'm currently testing dm-crypt to encrypt my whole hard drive. So far
5 > I followed this [1] guide and have to wait for the randomization part
6 > of the hard drive.
7 >
8
9 You forgot the link to [1].
10
11 > In the wiki, ext4 is being used. Since ext3 a journal has been added.
12 > From my times with loop-aes I know that I have to store the journal
13 > through an encrypted loop device else it might be written on the hard
14 > drive.
15 >
16
17 Never used loop-aes myself. Sorry if I miss the reason for your
18 confusion because of it.
19
20 > As of I'm new to dm-crypt and Gentoo, where will that journal now
21 > go?
22 >
23
24 Opening a dmcrypt volume creates a mapped block device in /dev/mapper.
25 You treat it like a partition and format it with ext4. Unless you use
26 some exotic flags for mke2fs, the journal will be put on the same block
27 device and is encrypted along with the rest of it.
28
29 So: No need to worry about it.
30
31 Hope this helps,
32 Florian Philipp

Attachments

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

Replies

Subject Author
Aw: Re: [gentoo-user] dm-crypt + ext4 = where will the journal go? "Roland Häder" <r.haeder@×××.de>