1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/man
David Teigland 904e1e3d26 Place the first PE at 1 MiB for all defaults
. When using default settings, this commit should change
  nothing.  The first PE continues to be placed at 1 MiB
  resulting in a metadata area size of 1020 KiB (for
  4K page sizes; slightly smaller for larger page sizes.)

. When default_data_alignment is disabled in lvm.conf,
  align pe_start at 1 MiB, based on a default metadata area
  size that adapts to the page size.  Previously, disabling
  this option would result in mda_size that was too small
  for common use, and produced a 64 KiB aligned pe_start.

. Customized pe_start and mda_size values continue to be
  set as before in lvm.conf and command line.

. Remove the configure option for setting default_data_alignment
  at build time.

. Improve alignment related option descriptions.

. Add section about alignment to pvcreate man page.

Previously, DEFAULT_PVMETADATASIZE was 255 sectors.
However, the fact that the config setting named
"default_data_alignment" has a default value of 1 (MiB)
meant that DEFAULT_PVMETADATASIZE was having no effect.

The metadata area size is the space between the start of
the metadata area (page size offset from the start of the
device) and the first PE (1 MiB by default due to
default_data_alignment 1.)  The result is a 1020 KiB metadata
area on machines with 4KiB page size (1024 KiB - 4 KiB),
and smaller on machines with larger page size.

If default_data_alignment was set to 0 (disabled), then
DEFAULT_PVMETADATASIZE 255 would take effect, and produce a
metadata area that was 188 KiB and pe_start of 192 KiB.
This was too small for common use.

This is fixed by making the default metadata area size a
computed value that matches the value produced by
default_data_alignment.
2018-11-26 16:36:50 -06:00
..
.gitignore man: add man-generator and build artefacts to .gitignore 2017-03-10 13:14:02 +00:00
blkdeactivate.8_main blkdeactivate: cleanup 2017-09-22 11:10:57 +02:00
cmirrord.8_main man: remove some clvmd references 2018-11-14 10:00:23 -06: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: add support for crypt devices 2017-10-10 14:18:57 +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 build: make generate 2018-10-10 11:25:50 +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 build: make generate 2018-10-10 11:25:50 +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 build: make generate 2018-10-10 11:25:50 +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 build: make generate 2018-06-22 15:36: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 build: make generate 2018-06-11 22:25:42 +02:00
lvm2-activation-generator.8_main pvscan systemd service for event based activation 2018-11-26 14:33:31 -06: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 build: make generate 2018-06-22 15:36: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 build: make generate 2018-06-11 22:25:42 +02:00
lvm.8_main man: remove some clvmd references 2018-11-14 10:00:23 -06: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 writecache: set block_size using --cachesettings 2018-11-21 15:16:23 -06: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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +02:00
lvmdump.8_main man lvmdump: remove clvm reference 2018-11-13 16:20:02 -06:00
lvmlockctl.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvmlockd.8_main man: remove scattered lvmetad references 2018-11-14 09:57:57 -06:00
lvmpolld.8_main man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
lvmraid.7_main man lvmraid: add more indirect conversion info 2017-05-22 14:28:24 -05: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: remove scattered lvmetad references 2018-11-14 09:57:57 -06:00
lvmthin.7_main man lvmthin: change fsck references 2017-08-24 10:25:01 -05: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:20:21 -05:00
lvreduce.8_pregen build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-22 15:36: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 build: make generate 2018-10-10 11:25:50 +02:00
Makefile.in man: remove lvmetad 2018-11-13 16:22:34 -06: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 build: make generate 2018-06-22 15:36: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 build: make generate 2018-06-11 22:25:42 +02:00
pvcreate.8_des Place the first PE at 1 MiB for all defaults 2018-11-26 16:36:50 -06:00
pvcreate.8_end man-generator/man/help: simplify hyphen escaping 2017-03-27 16:49:39 +02:00
pvcreate.8_pregen build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-22 15:36: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 build: make generate 2018-10-10 11:25:50 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-22 15:36:34 +02:00
pvscan.8_des man: pvscan updates 2018-11-14 09:34:30 -06:00
pvscan.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
pvscan.8_pregen build: make generate 2018-10-10 11:25:50 +02:00
see_also.end man: remove scattered lvmetad references 2018-11-14 09:57:57 -06: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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-10-10 11:25:50 +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 build: make generate 2018-06-11 22:25:42 +02:00
vgconvert.8_des Remove vgconvert 2018-06-13 14:14:03 -05:00
vgconvert.8_end man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
vgconvert.8_pregen build: make generate 2018-06-22 15:36:34 +02:00
vgcreate.8_des Place the first PE at 1 MiB for all defaults 2018-11-26 16:36:50 -06:00
vgcreate.8_end man: remove blank lines from end/des files 2017-03-15 15:59:43 -05:00
vgcreate.8_pregen build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-22 15:36: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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-11 22:25:42 +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 build: make generate 2018-06-22 15:36: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 build: make generate 2018-10-10 11:25:50 +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 build: make generate 2018-06-11 22:25:42 +02:00