[lvm-devel] [PATCH] lvconvert --repair

Petr Rockai prockai at redhat.com
Mon Mar 30 15:14:32 UTC 2009


Milan Broz <mbroz at redhat.com> writes:
> please try this test - it tries to allocate new log - not sure if it is what we want,
> but lvconvert fails but log lv is later visible, vg is still inconsistent
> and I am confused what the correct state should be:-)
The problem was that the code neglected to write out the consistent volume
before trying to add new bits (which could obviously fail). The attached
version of the patch fixes that (it also contains your test now).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvconvert-repair.diff
Type: text/x-diff
Size: 19931 bytes
Desc: lvconvert-repair.diff
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20090330/04afeba8/attachment.bin>
-------------- next part --------------

Yours,
   Petr.

-- 
Peter Rockai | me()mornfall!net | prockai()redhat!com
 http://blog.mornfall.net | http://web.mornfall.net

"In My Egotistical Opinion, most people's C programs should be
 indented six feet downward and covered with dirt."
     -- Blair P. Houghton on the subject of C program indentation


More information about the lvm-devel mailing list