Hi Sumit, There are several possibilities. After you have made sure that noting is chanmging the source during the copying, the remaning possibilitiy is data corruption. The first thing is to get an idea how many bytes are different. cmp -b file1 file2 | wc does that. Please run this (may take long) and post the results. One of the usual suspects in data corruption is RAM. You ma want to run a memory-check overnight, just to be sure. See FAQ Item 4.3 and 4.4: https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions Regards, Arno On Mon, Nov 30, 2015 at 10:19:34 CET, Sumit Kumar wrote: > <http://stackoverflow.com/questions/33993264/luks-linux-encrypted-file-system-causing-file-corruption#> > I am having a LUKS encrypted Linux file system (dmCrypt). When I copy a > huge file, around 5 GB of file, from un-encrypted linux file system to LUKS > encrypted linux file system then the target copied file MD5 changed. > > I am not sure does it corrupting the file as the MD5 changed? > > I am using CentOS 6.5 and working on VMs not on physical machine. > > Any help will be greatly appreciated . > > -- > Thanks & Regards > *Sumit Kumar* > _______________________________________________ > dm-crypt mailing list > dm-crypt@xxxxxxxx > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@xxxxxxxxxxx GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt