]> sourceware.org Git - lvm2.git/commit
Fix pvresize to not allow resize if PV has two metadata areas.
authorMilan Broz <mbroz@redhat.com>
Fri, 12 Sep 2008 15:26:45 +0000 (15:26 +0000)
committerMilan Broz <mbroz@redhat.com>
Fri, 12 Sep 2008 15:26:45 +0000 (15:26 +0000)
commitfbc34d70b000a94abf18ee9e72b7829c45cc7e5a
treef52585fcdaac47787a6a66aa25be8084c43f1011
parent91dcddbdf7639a88271432ac1700ae5a65c8ef20
Fix pvresize to not allow resize if PV has two metadata areas.

If the PV has two metadata areas, second one is located at the end of the device.

Do not allow resize of PV or second metadata area can be overwritten.
(The check was active only for orphan PVs.)
WHATS_NEW
tools/pvresize.c
This page took 0.036141 seconds and 5 git commands to generate.