[lvm-devel] [PATCH 0 of 12] LVM add 'mirrored' log type

Takahiro Yasui tyasui at redhat.com
Thu Feb 11 19:42:26 UTC 2010


Jonathan Brassow wrote:
> The following set of patches adds the 'mirrored' log type.  It differs
> from the last batch by changing the name of the log type
> (s/redundant/mirrored/), fixing all the issues uncovered by the
> testsuite, adding new test cases, and including log monitoring (provided
> by Malahal Naineni).

I found other two cases which caused Segmentation Fault.

# lvcreate --version
  LVM version:     2.02.61(1)-cvs (2010-02-02)
  Library version: 1.02.44-cvs (2010-02-02)
  Driver version:  4.16.0

Tests are done with lvm2, 2.02.61(1)-cvs (2010-02-02) with this
patch set, and vg00 contains just one PV.

[case 1]
# lvcreate -m1 -L12m -nlv00 --mirrorlog mirrored --alloc anywhere vg00
Segmentation fault

[case 2]
# dmsetup table
vg00-lv00: 0 24576 linear 8:32 384
# lvconvert -m1 --mirrorlog mirrored --alloc anywhere vg00/lv00
Segmentation fault

In both cases, initialization of log_areas array seems to have a problem.

Thanks,
Taka





More information about the lvm-devel mailing list