]> 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)
commit004cda1b645c145b39528572c48a6d9e2c1e904a
tree811cf1c38258fdd36dc7ecd09f7e1cc522b121b1
parent97c6592073e4620e1138c15db2c6ebf96e84c133
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.040394 seconds and 5 git commands to generate.