Red Hat Bugzilla – Bug 174753
greater than one snapshots do not sync and behave the same as the first snapshot
Last modified: 2007-11-30 17:07:21 EST
Description of problem:
When I write files A B C to an origin fs, and then snap, those files show up in
the snap fs everytime without a sleep or a sync in between, however when I
create more files D E F to the origin, and then create a 2nd snap, those files
won't show up unless I do a sync before the 2nd snap or a sleep of >6 sec. In
ext2, even with the sleep of >6, the 2nd snap wont work without a manual sync
since it apparently doesn't have the same freeze hooks as ext3.
Need to think about this: have seen similar problem for a long time when using
loopback. Is some flushing missing from lvm2 or dm?
haven't been able to reproduce this with kernel-2.6.9-24.EL
I was able to easily create it with earlier kernels
can't reproduce with kernel-2.6.9-25.EL either... please verify
This appears to be fixed with the latest kern/rpms
[root@link-08 bin]# uname -ar
Linux link-08 2.6.9-28.ELsmp #1 SMP Fri Jan 13 17:08:22 EST 2006 x86_64 x86_64
[root@link-08 bin]# rpm -q lvm2
[root@link-08 bin]# rpm -q device-mapper
OK - not sure of the precise cause, but I'll close this.