All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
To: lvm-devel@redhat.com
Subject: [PATCH 1/3] Fix 'lvchange --resync'
Date: Fri, 25 Jan 2008 15:58:21 -0500	[thread overview]
Message-ID: <479A4D6D.10506@ce.jp.nec.com> (raw)

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>

                 reply	other threads:[~2008-01-25 20:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=479A4D6D.10506@ce.jp.nec.com \
    --to=j-nomura@ce.jp.nec.com \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.