]> sourceware.org Git - lvm2.git/commit
Convey need for snapshot-merge target in lvconvert error message and man
authorMike Snitzer <snitzer@redhat.com>
Wed, 13 Oct 2010 21:26:37 +0000 (21:26 +0000)
committerMike Snitzer <snitzer@redhat.com>
Wed, 13 Oct 2010 21:26:37 +0000 (21:26 +0000)
commit9443b5d4cda01b4ec0fc80c505680d43c0e52af7
tree811cf1c38258fdd36dc7ecd09f7e1cc522b121b1
parent336d41d685d8b7199b149972416ac655a7f7177c
Convey need for snapshot-merge target in lvconvert error message and man
page.

Add ->target_name to segtype_handler to allow a more specific target
name to be returned based on the state of the segment.

Result of trying to merge a snapshot using a kernel that doesn't have
the snapshot-merge target:

Before:
# lvconvert --merge vg/snap
  Can't expand LV lv: snapshot target support missing from kernel?
  Failed to suspend origin lv

After:
# lvconvert --merge vg/snap
  Can't process LV lv: snapshot-merge target support missing from kernel?
  Failed to suspend origin lv
  Unable to merge LV "snap" into it's origin.
WHATS_NEW
lib/activate/dev_manager.c
lib/metadata/segtype.h
lib/snapshot/snapshot.c
man/lvconvert.8.in
tools/lvconvert.c
This page took 0.036675 seconds and 5 git commands to generate.