* [PATCH 1/3] Fix 'lvchange --resync'
@ 2008-01-25 20:58 Jun'ichi Nomura
0 siblings, 0 replies; only message in thread
From: Jun'ichi Nomura @ 2008-01-25 20:58 UTC (permalink / raw)
To: lvm-devel
Fix 'lvchange --resync' breakage (since 2.02.30)
# lvchange --resync vg/lv
LV lv_mlog is used by LV lv:0, but missing ptr from lv to lv_mlog
Internal error: LV segments corrupted in lv_mlog.
Failed to write intermediate VG metadata.
When changing seg->log_lv, it needs to do corresponding
add_seg_to_segs_using_this_lv/remove_seg_from_segs_using_this_lv.
Without them, the metadata validator will detect inconsistency
and report like the above.
Attached patch fixes the issue.
Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-lvchange-resync.patch
Type: text/x-patch
Size: 1515 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080125/ee9d7fe7/attachment.bin>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-25 20:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 20:58 [PATCH 1/3] Fix 'lvchange --resync' Jun'ichi Nomura
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.