Skip to contentSkip to conversation

Broken "--corelog" option in lvcreate/lvconvert

PATCH New Jun'ichi Nomura 1 participant 1 message Aug 28, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Broken "--corelog" option in lvcreate/lvconvert

Hi,

In 2.02.28, "--corelog" option is just broken.

# lvcreate -m1 -l1 --corelog testvg
  --mirrorlog disk and --corelog are incompatible
# lvcreate -l1 -n lv0 testvg; lvconvert -m1 --corelog testvg/lv0
  Logical volume "lv0" created
  --mirrorlog disk and --corelog are incompatible

I guess this is not an intended behavior.

Attached patch will fix it.

Thanks,

Signature · 8 lines
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-fix-lvcreate-corelog.patch
Type: text/x-patch
Size: 3385 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20070828/02c9a8d4/attachment.bin>