]> sourceware.org Git - lvm2.git/commit
vgcreate/vgextend: restrict PVs with mixed block sizes
authorDavid Teigland <teigland@redhat.com>
Thu, 1 Aug 2019 15:06:47 +0000 (10:06 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 1 Aug 2019 15:06:47 +0000 (10:06 -0500)
commit0404539edb25e4a9d3456bb3e6b402aa2767af6b
treee46b137a78e7071cbd9372c39dbcdd4f35fc16aa
parentc1996c78c18ee0b555e4f7eba16858d8dd4fa0a1
vgcreate/vgextend: restrict PVs with mixed block sizes

Avoid having PVs with different logical block sizes in the same VG.
This prevents LVs from having mixed block sizes, which can produce
file system errors.

The new config setting devices/allow_mixed_block_sizes (default 0)
can be changed to 1 to return to the unrestricted mode.
lib/commands/toolcontext.h
lib/config/config_settings.h
lib/metadata/metadata-exported.h
lib/metadata/metadata.c
tools/lvmcmdline.c
tools/toollib.c
tools/vgcreate.c
This page took 0.038029 seconds and 5 git commands to generate.