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

Re: [lvm-devel] [PATCH 2/7] Never set mirror log and images directly visible in metadata.

On Sun, May 10, 2009 at 08:33:22PM +0200, Peter Rockai wrote:
> (The whole non-atomicity of those mirror operation is very unfortunate for
> other reasons, but I didn't yet have time to investigate how hard it would be
> to make those really atomic.)
We've two factors here:

  All single-VG command-line-level changes must have a single commit
point with no chance of data/metadata corruption.  (See Rik's lvconvert
bug report.)  pvmove offers a model.

  Not all lvm2 code does everything possible to clean up after an
operation fails.  More code could take the trouble to undo operations
rather than logging error messages telling the admin to remove something
by hand.  More code could detect things left behind by an earlier failed
operation and clean them up transparently.


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