[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Page cache corruption when creating a snapshot



On Fri, Feb 29, 2008 at 12:32:41PM -0500, ghudson MIT EDU wrote:
> The reproduction recipe looks like:
>   rm -rf /tmp/test
>   mkdir /tmp/test
>   # Put around 60MB of files into /tmp/test
>   find /tmp/test -type f | xargs md5sum > /tmp/sum.pre
>   lvcreate --size 2G --snapshot /dev/dink/gutsy-i386-sbuild --name testsnapshot
>   find /tmp/test -type f | xargs md5sum > /tmp/sum.post

Can you do that twice?
    find /tmp/test -type f | xargs md5sum > /tmp/sum.post2
and check the two post files are the same?

And add some syncs/blockdev --flushbufs at different places
in the script to see if you can make it go away.

Alasdair
-- 
agk redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]