Riches Jr, RobertX M [robertx.m.riches.jr@xxxxxxxxx] wrote: > However, I am able to reproduce the symptom using the standard dm-linear module supplied with the x86_64 kernel that comes with Ubuntu Karmic. With the attached script, the first 'od' on /dev/vg1/lv1, done before 'dmsetup remove', shows the first part of the file contains 0x00. A second 'od' after 'dmsetup remove' shows the file contains random data. > > I didn't see any queues or caches in dm-linear that would need to be flushed. > > Any other suggestions? If you write to a block device devA and read from it on the same system, you would get the expected data. In your case, you have devA and devB (devB is a mapped device on devA, but that doesn't matter), you write to devA and read from devB. You won't see what you wrote because of block device caching. Try fsync() on the block device fred01 before copying or try suspend on the linear dev (fred01 in your case). Thanks, Malahal. -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel