Hello, On Thursday 04 August 2011 18:24:59 Kevin Wolf wrote: > When loading an internal snapshot whose L1 table is smaller than the > current L1 table, the size of the current L1 would be shrunk to the > snapshot's L1 size in memory, but not on disk. This lead to incorrect > refcount updates and eventuelly to image corruption. > > Instead of writing the new L1 size to disk, this simply retains the bigger > L1 size that is currently in use and makes sure that the unused part is > zeroed. > > Signed-off-by: Kevin Wolf Tested-by: Philipp Hahn > Philipp, I think this should fix your corruption. Please give it a try. Yes, the patch looks conceptually right and fixes the observed problem. > Anthony, this must go into 0.15. That bug is also found in 0.12.4 and 0.14.1, so if there ever shoudl be an update to those branches, that fix should be applied there as well. Thanks for your fast support. Sincerely Philipp Hahn -- Philipp Hahn Open Source Software Engineer hahn@univention.de Univention GmbH Linux for Your Business fon: +49 421 22 232- 0 Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99 http://www.univention.de/