]> sourceware.org Git - lvm2.git/commit - tools/lvresize.c
Don't allow resizing of internal logical volumes.
authorMike Snitzer <snitzer@redhat.com>
Sat, 20 Mar 2010 03:44:04 +0000 (03:44 +0000)
committerMike Snitzer <snitzer@redhat.com>
Sat, 20 Mar 2010 03:44:04 +0000 (03:44 +0000)
commitfd817ff34a0ff9913e8797737f8fbd72ac9d2ead
tree17eccda34ccdf276f19143c4f19d5d4f5819182b
parent94ff21b4f10d9237875a626df48ddadb2bd807ce
Don't allow resizing of internal logical volumes.

Prevent lvresize from being able to resize internal LVs: mirror legs
(*_mimage_*), mirror log (*_mlog), snapshot placeholder LVs (snapshot*)
and others.  Resizing these would leads to unexpected metadata and
sometimes crashes (in case of growing snapshot*).
WHATS_NEW
tools/lvresize.c
This page took 0.02613 seconds and 5 git commands to generate.