Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm considering using ext4 on encrypted LVM (which uses LUKS and dm-crypt). Will the transactional guarantees in ext4's journaling be preserved?

Bonus: where may I find authoritative information on this (besides the source)?

share|improve this question

Yes, it does, according to the reply on the dm-crypt mailing list:

share|improve this answer

Meanwhile I'm not 100 % sure regarding what kind of EXT4 transactional guarantees you're talking about, I'd suggest trying mounting with write barriers turned on (by default, IIRC) and see whether it's supported.

share|improve this answer
By transactional guarantees I just mean the generic guarantees made by any journaling filesystem such as ext4 - namely that the FS can always be in (or rather be quickly replayed/rolled back into) a consistent and uncorrupted state thanks to the journal. I assume that the write ordering setting (eg write barriers) is definitely respected. – Yang Apr 24 '12 at 7:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.