1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-10 05:18:36 +03:00
lvm2/man
Zdenek Kabelac 586bac0b10 thin: improve 16g support for thin pool metadata
Initial support for thin-pool used slightly smaller max size 15.81GiB
for thin-pool metadata. However the real limit later settled at 15.88GiB
(difference is ~64MiB - 16448 4K blocks).

lvm2 could not simply increase the size as it has been using hard cropping
of the loaded metadata device to avoid warnings printing warning of kernel
when the size was bigger (i.e. due to bigger extent_size).

This patch adds the new lvm.conf configurable setting:
allocation/thin_pool_crop_metadata
which defaults to 0 -> no crop of metadata beyond 15.81GiB.
Only user with these sizes of metadata will be affected.

Without cropping lvm2 now limits metadata allocation size to 15.88GiB.
Any space beyond is currently not used by thin-pool target.
Even if i.e. bigger LV is used for metadata via lvconvert,
or allocated bigger because of to large extent size.

With cropping enabled (=1) lvm2 preserves the old limitation
15.81GiB and should allow to work in the evironement with
older lvm2 tools (i.e. older distribution).

Thin-pool metadata with size bigger then 15.81G is now using CROP_METADATA
flag within lvm2 metadata, so older lvm2 recognizes an
incompatible thin-pool and cannot activate such pool!

Users should use uncropped version as it is not suffering
from various issues between thin_repair results and allocated
metadata LV as thin_repair limit is 15.88GiB
Users should use cropping only when really needed!

Patch also better handles resize of thin-pool metadata and prevents resize
beoyond usable size 15.88GiB. Resize beyond 15.81GiB automatically
switches pool to no-crop version. Even with existing bigger thin-pool
metadata command 'lvextend -l+1 vg/pool_tmeta' does the change.

Patch gives better controls 'coverted' metadata LV and
reports less confusing message during conversion.

Patch set also moves the code for updating min/max into pool_manip.c
for better sharing with cache_pool code.
2021-02-01 14:35:53 +01:00
..
.gitignore man: add man-generator and build artefacts to .gitignore 2017-03-10 13:14:02 +00:00
blkdeactivate.8_main blkdeactivate: add support for VDO in blkdeactivate script 2020-10-19 16:02:20 +02:00
clvmd.8_main man clvmd: mention lvmlockd is another option 2017-05-03 16:26:21 -05:00
cmirrord.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
dmeventd.8_main man: another missed typo for thin plugin 2018-05-24 16:02:31 +02:00
dmfilemapd.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
dmsetup.8_main dmsetup: hide integrity encryption keys on table output 2017-11-10 15:23:00 +01:00
dmstats.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
fsadm.8_main fsadm: missing -l description 2018-06-22 15:00:52 +02:00
lvchange.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvchange.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvchange.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvconvert.8_des man lvcreate/lvconvert: minor clean up rewording 2017-04-11 10:21:36 -05:00
lvconvert.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvconvert.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvcreate.8_des man lvcreate/lvconvert: minor clean up rewording 2017-04-11 10:21:36 -05:00
lvcreate.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvcreate.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvdisplay.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvdisplay.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvdisplay.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvextend.8_des man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvextend.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvextend.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvm2-activation-generator.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvm-fullreport.8_des man lvm fullreport and lvpoll references 2017-05-03 16:40:44 -05:00
lvm-fullreport.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvm-fullreport.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvm-lvpoll.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvm-lvpoll.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvm-lvpoll.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvm.8_main libdm: support for DM_DEBUG_WITH_LINE_NUMBERS 2018-03-15 10:49:24 +01:00
lvm.conf.5_main man lvm.conf: say how to get a description of settings 2017-05-03 16:01:19 -05:00
lvmcache.7_main man: specify slow device when creating origin LV 2017-07-10 14:58:33 +02:00
lvmconf.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvmconfig.8_des man: simplify by avoiding different headers on de-duplication of lvmconfig, lvm-config and lvm-dumpconfig 2017-03-29 01:44:09 +02:00
lvmconfig.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvmconfig.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvmdbusd.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvmdiskscan.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvmdiskscan.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvmdiskscan.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvmdump.8_main man: correctly use configured directories 2020-10-16 17:07:58 +02:00
lvmetad.8_main man lvmetad: mention repair as a reason for disabling 2017-05-05 10:48:58 -05:00
lvmlockctl.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvmlockd.8_main man: correctly use configured directories 2020-10-16 17:07:58 +02:00
lvmpolld.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvmraid.7_main man: adjust 'disks' to 'devices' as used throughout 2019-11-07 17:47:35 +01:00
lvmreport.7_main man lvm fullreport and lvpoll references 2017-05-03 16:40:44 -05:00
lvmsadc.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvmsar.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvmsystemid.7_main man: update lvmsystemid wording 2018-06-14 13:34:35 -05:00
lvmthin.7_main thin: improve 16g support for thin pool metadata 2021-02-01 14:35:53 +01:00
lvreduce.8_des man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvreduce.8_end Revert "man: fix lvreduce example" 2018-06-27 09:19:01 -05:00
lvreduce.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvremove.8_des man: remove blank lines from end/des files 2017-03-15 15:59:43 -05:00
lvremove.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvremove.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvrename.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvrename.8_end man: remove blank lines from end/des files 2017-03-15 15:59:43 -05:00
lvrename.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvresize.8_des man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvresize.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvresize.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvs.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvs.8_end man: remove blank lines from end/des files 2017-03-15 15:59:43 -05:00
lvs.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
lvscan.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvscan.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
lvscan.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
Makefile.in build: remove --with-{snapshots,mirrors,raid,thin,cache} options from ./configure 2018-04-30 10:11:23 +01:00
pvchange.8_des man pvchange: mention one option is required 2017-05-03 15:10:10 -05:00
pvchange.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
pvchange.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
pvck.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvck.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
pvck.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
pvcreate.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvcreate.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
pvcreate.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
pvdisplay.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvdisplay.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvdisplay.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
pvmove.8_des man: remove blank lines from end/des files 2017-03-15 15:59:43 -05:00
pvmove.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
pvmove.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
pvremove.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvremove.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvremove.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
pvresize.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvresize.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
pvresize.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
pvs.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvs.8_end man: remove blank lines from end/des files 2017-03-15 15:59:43 -05:00
pvs.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
pvscan.8_des man pvscan: just write --activate in description 2017-09-18 10:56:39 -05:00
pvscan.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvscan.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
see_also.end man lvm fullreport and lvpoll references 2017-05-03 16:40:44 -05:00
vgcfgbackup.8_des man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgcfgbackup.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgcfgbackup.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgcfgrestore.8_des man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgcfgrestore.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgcfgrestore.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgchange.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgchange.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgchange.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgck.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgck.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgck.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgconvert.8_des Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00
vgconvert.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgconvert.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgcreate.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgcreate.8_end man: remove blank lines from end/des files 2017-03-15 15:59:43 -05:00
vgcreate.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgdisplay.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgdisplay.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgdisplay.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgexport.8_des man vgexport: expand description 2018-05-21 16:26:49 -05:00
vgexport.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgexport.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgextend.8_des man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgextend.8_end man: remove blank lines from end/des files 2017-03-15 15:59:43 -05:00
vgextend.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgimport.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgimport.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgimport.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgimportclone.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgimportclone.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgimportclone.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgmerge.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgmerge.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgmerge.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgmknodes.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgmknodes.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgmknodes.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgreduce.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgreduce.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgreduce.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgremove.8_des man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgremove.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgremove.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgrename.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgrename.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
vgrename.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgs.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgs.8_end man: remove blank lines 2017-03-15 11:05:31 -05:00
vgs.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgscan.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgscan.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgscan.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00
vgsplit.8_des man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgsplit.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgsplit.8_pregen man: regenerate 2020-10-20 22:41:34 +02:00