Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

Yes, it does, according to the reply on the dm-crypt mailing list: http://www.saout.de/pipermail/dm-crypt/2012-April/002441.html

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.