]> sourceware.org Git - lvm2.git/commit
lvcreate: remove RaidLV on creation failure
authorHeinz Mauelshagen <heinzm@redhat.com>
Fri, 16 Mar 2018 14:47:12 +0000 (15:47 +0100)
committerHeinz Mauelshagen <heinzm@redhat.com>
Fri, 16 Mar 2018 14:57:53 +0000 (15:57 +0100)
commitd68d71013fb261c87f1d3a26ebf098644055c6d1
tree8bbe075629a55e4abfbf70c9c7692051614ff7c7
parent9553dc77611e787999923a4cfeb223360ce00672
lvcreate: remove RaidLV on creation failure

In case a newly created RaidLV is blacklisted using config
\"activation { volume list = [ ... ] }\" (i.e. its SubLVs stay inactive),
the metadata SubLVs can't get wiped thus failing the creation.

As a result, the RaidLV together with its SubLVs
is left behind in an inconsistent state.

Fix by removing the RaidLV and provide a hint about volume_list reasoning.

Resolves: rhbz1161347
WHATS_NEW
lib/metadata/lv_manip.c
This page took 0.036 seconds and 5 git commands to generate.