main - man: typography fixes
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=9164a393de449f285038811d58ade0fb3ecfba30 Commit: 9164a393de449f285038811d58ade0fb3ecfba30 Parent: 0f87b015b5f4251f9584244176b9f7c0579755e3 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Apr 15 13:16:41 2021 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Apr 19 14:54:37 2021 +0200
man: typography fixes
Correcting some usage of Bold and Italics (files).
Adding some missing SEE ALSO.
Fixing missed replaceable paths that are configurable.
Be careful about .P in .TP sections - need to use .sp for space line. Use .UR/.UE for URL references.
--- man/blkdeactivate.8_main | 41 +++++++++++---------- man/dmeventd.8_main | 13 ++++--- man/dmfilemapd.8_main | 24 ++++++------- man/dmsetup.8_main | 55 +++++++++++++++-------------- man/dmstats.8_main | 92 ++++++++++++++++++++++++++---------------------- man/lvconvert.8_des | 4 +-- man/lvcreate.8_end | 2 +- man/lvm.8_main | 30 +++++++++++++--- man/lvm.conf.5_main | 20 +++++------ man/lvmcache.7_main | 46 ++++++++++++++---------- man/lvmdevices.8_des | 4 +-- man/lvmdump.8_main | 26 ++++++++------ man/lvmlockctl.8_main | 34 +++++++++--------- man/lvmpolld.8_main | 6 ++-- man/lvmthin.7_main | 8 +++-- man/lvmvdo.7_main | 57 ++++++++++++++++-------------- man/lvs.8_end | 82 +++++++++++++++++++++--------------------- man/pvck.8_des | 2 +- man/pvs.8_end | 6 ++-- man/see_also.end | 14 ++++---- man/vgs.8_end | 12 +++---- 21 files changed, 314 insertions(+), 264 deletions(-)
man/blkdeactivate.8_main +22 -19
@@ -45,9 +45,11 @@ MD devices are handled using the \fBmdadm\fP(8) command. Comma separated list of device-mapper specific options. Accepted \fBdmsetup\fP(8) options are: .RS -.IP \fIretry\fP +.TP +.B retry Retry removal several times in case of failure. -.IP \fIforce\fP +.TP +.B force Force device removal. .RE .
@@ -66,19 +68,32 @@ Display the help text. .BR -l | --lvmoptions " " \fIlvm_options Comma-separated list of LVM specific options: .RS -.IP \fIretry\fP +.TP +.B retry Retry removal several times in case of failure. -.IP \fIwholevg\fP +.TP +.B wholevg Deactivate the whole LVM Volume Group when processing a Logical Volume. Deactivating the Volume Group as a whole is quicker than deactivating each Logical Volume separately. .RE . .TP +.BR -r | --mdraidoptions " " \fImdraid_options +Comma-separated list of MD RAID specific options: +.RS +.TP +.B wait +Wait MD device's resync, recovery or reshape action to complete +before deactivation. +.RE +. +.TP .BR -m | --mpathoptions " " \fImpath_options Comma-separated list of device-mapper multipath specific options: .RS -.IP \fIdisablequeueing\fP +.TP +.B disablequeueing Disable queueing on all multipath devices before deactivation. This avoids a situation where blkdeactivate may end up waiting if all the paths are unavailable for any underlying device-mapper multipath
@@ -86,19 +101,11 @@ device. .RE . .TP -.BR -r | --mdraidoptions " " \fImdraid_options -Comma-separated list of MD RAID specific options: -.RS -.IP \fIwait\fP -Wait MD device's resync, recovery or reshape action to complete -before deactivation. -.RE -. -.TP .BR -o | --vdooptions " " \fIvdo_options Comma-separated list of VDO specific options: .RS -.IP \fIconfigfile=file\fP +.TP +.BR configfile = \fIfile Use specified VDO configuration file. .RE .
@@ -118,21 +125,18 @@ devices. .br # .B blkdeactivate -.br .P Deactivate all supported block devices found in the system, unmounting any mounted devices first, if possible. .br # .B blkdeactivate -u -.br .P Deactivate the device /dev/vg/lvol0 together with all its holders, unmounting any mounted devices first, if possible. .br # .B blkdeactivate -u /dev/vg/lvol0 -.br .P Deactivate all supported block devices found in the system. If the deactivation of a device-mapper device fails, retry it. Deactivate the whole
@@ -140,7 +144,6 @@ Volume Group at once when processing an LVM Logical Volume. .br # .B blkdeactivate -u -d retry -l wholevg -.br .P Deactivate all supported block devices found in the system. If the deactivation of a device-mapper device fails, retry it and force removal.
man/dmeventd.8_main +8 -5
@@ -96,11 +96,11 @@ The warning is repeated when more then 85%, 90% and 95% of the thin pool is filled. See .BR lvm.conf (5). When a thin pool fills over 50% (data or metadata) thin plugin calls -configured \fIdmeventd/thin_command\fP with every 5% increase. +configured \fBdmeventd/thin_command\fP with every 5% increase. With default setting it calls internal \fBlvm lvextend --use-policies\fP to resize thin pool when it's been filled above configured threshold -\fIactivation/thin_pool_autoextend_threshold\fP. +\fBactivation/thin_pool_autoextend_threshold\fP. If the command fails, dmeventd thin plugin will keep retrying execution with increasing time delay between retries upto 42 minutes.
@@ -126,11 +126,11 @@ The warning is repeated when more then 85%, 90% and 95% of the VDO pool is filled. See .BR lvm.conf (5). When a VDO pool fills over 50% vdo plugin calls -configured \fIdmeventd/vdo_command\fP with every 5% increase. +configured \fBdmeventd/vdo_command\fP with every 5% increase. With default setting it calls internal \fBlvm lvextend --use-policies\fP to resize VDO pool when it's been filled above the configured threshold -\fIactivation/vdo_pool_autoextend_threshold\fP. +\fBactivation/vdo_pool_autoextend_threshold\fP. If the command fails, dmeventd vdo plugin will keep retrying execution with increasing time delay between retries upto 42 minutes.
@@ -173,4 +173,7 @@ a thin_command, vdo_command environment. .SH SEE ALSO . .BR lvm (8), -.BR lvm.conf (5) +.BR lvm.conf (5), +.BR lvextend (8), +.br +.BR fstrim (8)
man/dmfilemapd.8_main +10 -14
@@ -44,7 +44,7 @@ dmfilemapd \(em device-mapper filemap monitoring daemon . .SH DESCRIPTION . -The dmfilemapd daemon monitors groups of \fBdmstats\fP regions that +The dmfilemapd daemon monitors groups of \fBdmstats\fP(8) regions that correspond to the extents of a file, adding and removing regions to reflect the changing state of the file on-disk. .P
@@ -174,28 +174,20 @@ verbose logging .ad l # .B dmfilemapd 3 0 /var/tmp/data inode 1 3 3< /var/tmp/data -.br +.nf Starting dmfilemapd with fd=3, group_id=0 mode=inode, path=/var/tmp/data -.br dm version [ opencount flush ] [16384] (*1) -.br dm info (253:0) [ opencount flush ] [16384] (*1) -.br dm message (253:0) [ opencount flush ] @stats_list dmstats [16384] (*1) -.br Read alias 'data' from aux_data -.br Found group_id 0: alias="data" -.br dm_stats_walk_init: initialised flags to 4000000000000 -.br starting stats walk with GROUP -.br exiting _filemap_monitor_get_events() with deleted=0, check=0 -.br Waiting for check interval -.br +.fi .ad b + . .SH AUTHORS .
@@ -205,6 +197,10 @@ Bryn M. Reeves <[email protected]> . .BR dmstats (8) .P -LVM2 resource page: https://www.sourceware.org/lvm2/ +LVM2 resource page: +.UR https://www.sourceware.org/lvm2 +.UE .br -Device-mapper resource page: http://sources.redhat.com/dm/ +Device-mapper resource page: +.UR http://sources.redhat.com/dm +.UE
man/dmsetup.8_main +28 -27
121 lines not on this page · raw message
man/dmstats.8_main +49 -43
269 lines not on this page · raw message
man/lvconvert.8_des +2 -2
@@ -67,5 +67,5 @@ Striped raid types support converting the layout, their stripesize and their number of stripes. The striped raid types combined with raid1 allow for conversion from -linear -> striped/raid0/raid0_meta and vice-versa by e.g. linear <-> raid1 -<-> raid5_n (then adding stripes) <-> striped/raid0/raid0_meta. +linear \[->] striped/raid0/raid0_meta and vice-versa by e.g. linear \[<>] raid1 +\[<>] raid5_n (then adding stripes) \[<>] striped/raid0/raid0_meta.
man/lvcreate.8_end +1 -1
@@ -66,7 +66,7 @@ to the first image). Create a 1TiB thin LV mythin, with 256GiB thinpool tpool0 in vg00. .br -.B lvcreate --T --size 256G --name mythin vg00/tpool0 +.B lvcreate -T -V 1T --size 256G --name mythin vg00/tpool0 Create a 1TiB thin LV, first creating a new thin pool for it, where the thin pool has 100MiB of space, uses 2 stripes, has a 64KiB stripe
man/lvm.8_main +25 -5
@@ -258,7 +258,7 @@ The valid characters for VG and LV names are: .BR a - z .BR A - Z .BR 0 - 9 -.BR "+ _ . -" +.B + _ . - .P VG names cannot begin with a hyphen. The name of a new LV also cannot begin with a hyphen. However, if the
@@ -274,11 +274,31 @@ argument.) .P There are also various reserved names that are used internally by lvm that can not be used as LV or VG names. A VG cannot be called anything that exists in -\fI/dev/\fP at the time of creation, nor can it be called '.' or '..'. -An LV cannot be called '.', '..', 'snapshot' or 'pvmove'. +\fI/dev/\fP at the time of creation, nor can it be called +.RB ' . ' +or +.RB ' .. '. +An LV cannot be called +.RB ' . ', +.RB ' .. ', +.RB ' snapshot ' +or +.RB ' pvmove '. The LV name may also not contain any of the following strings: -\fR'_cdata', '_cmeta', '_corig', '_mlog', '_mimage', '_pmspare', -\fR'_rimage', '_rmeta', '_tdata', '_tmeta', '_vorigin' or '_vdata'. +.RB ' _cdata ', +.RB ' _cmeta ', +.RB ' _corig ', +.RB ' _mimage ', +.RB ' _mlog ', +.RB ' _pmspare ', +.RB ' _rimage ', +.RB ' _rmeta ', +.RB ' _tdata ', +.RB ' _tmeta ', +.RB ' _vdata ', +.RB ' _vorigin ' +or +.RB ' _wcorig '. A directory bearing the name of each Volume Group is created under \fI/dev\fP when any of its Logical Volumes are activated. Each active Logical Volume is accessible from this directory as a symbolic
man/lvm.conf.5_main +10 -10
@@ -1,4 +1,4 @@ -.TH LVM.CONF 5 "LVM TOOLS #VERSION#" "Red Hat, Inc." \" -*- nroff -*- +.TH LVM.CONF 5 "LVM TOOLS #VERSION#" "Red Hat, Inc." . .SH NAME .
@@ -6,7 +6,7 @@ lvm.conf \(em Configuration file for LVM2 . .SH SYNOPSIS . -.B #DEFAULT_SYS_DIR#/lvm.conf +.I #DEFAULT_SYS_DIR#/lvm.conf . .SH DESCRIPTION .
@@ -16,7 +16,7 @@ being loaded - settings read in later override earlier settings. File timestamps are checked between commands and if any have changed, all the files are reloaded. .P -For a description of each lvm.conf setting, run: +For a description of each \fBlvm.conf\fP(5) setting, run: .P .B lvmconfig --typeconfig default --withcomments --withspaces .P
@@ -97,11 +97,11 @@ When several configuration methods are used at the same time and when LVM looks for the value of a particular setting, it traverses this \fBconfig cascade\fP from left to right: .P -\fBdirect config override on command line\fP -> -\fBcommand profile config\fP -> -\fBmetadata profile config\fP -> -\fBtag config\fP -> -\fBlvmlocal.conf\fP -> +\fBdirect config override on command line\fP \[->] +\fBcommand profile config\fP \[->] +\fBmetadata profile config\fP \[->] +\fBtag config\fP \[->] +\fBlvmlocal.conf\fP \[->] \fBlvm.conf\fP .P No part of this cascade is compulsory. If there's no setting value found at
@@ -214,9 +214,9 @@ e.g. umask: .br .I #DEFAULT_CACHE_DIR#/.cache .br -.I #DEFAULT_LOCK_DIR# -.br .I #DEFAULT_PROFILE_DIR# +.br +.I #DEFAULT_LOCK_DIR# . .SH SEE ALSO .
man/lvmcache.7_main +28 -18
84 lines not on this page · raw message
man/lvmdevices.8_des +2 -2
@@ -1,5 +1,5 @@ The LVM devices file lists devices that lvm can use. The default file is -/etc/lvm/devices/system.devices, and the lvmdevices(8) command is used to +\fI#DEFAULT_SYS_DIR#/devices/system.devices\fP, and the \fBlvmdevices\fP(8) command is used to add or remove device entries. If the file does not exist, or if lvm.conf includes use_devicesfile=0, then lvm will not use a devices file.
@@ -34,7 +34,7 @@ overriding the devices file. The listed devices act as a sort of devices file in terms of limiting which devices lvm will see and use. Devices that are not listed will appear to be missing to the lvm command. -Multiple devices files can be kept in /etc/lvm/devices, which allows lvm +Multiple devices files can be kept in \fI#DEFAULT_SYS_DIR#/devices\fP, which allows lvm to be used with different sets of devices, e.g. system devices do not need to be exposed to a specific application, and the application can use lvm on its own devices that are not exposed to the system. The option
man/lvmdump.8_main +15 -11
@@ -32,15 +32,15 @@ dmsetup info .IP \[bu] table of currently running processes .IP \[bu] -recent entries from /var/log/messages (containing system messages) +recent entries from \fI/var/log/messages\fP (containing system messages) .IP \[bu] -complete lvm configuration and cache (content of #DEFAULT_SYS_DIR#) +complete lvm configuration and cache (content of \fI#DEFAULT_SYS_DIR#\fP) .IP \[bu] -list of device nodes present under /dev +list of device nodes present under \fI/dev\fP .IP \[bu] -list of files present /sys/block +list of files present \fI/sys/block\fP .IP \[bu] -list of files present /sys/devices/virtual/block +list of files present \fI/sys/devices/virtual/block\fP .IP \[bu] if enabled with -m, metadata dump will be also included .IP \[bu]
@@ -99,9 +99,9 @@ controlling LVM functionality and the content of systemd journal for current boot. .TP .B -u -Gather udev info and context: /etc/udev/udev.conf file, udev daemon version +Gather udev info and context: \fI/etc/udev/udev.conf\fP file, udev daemon version (output of 'udevadm info --version' command), udev rules currently used in the system -(content of /lib/udev/rules.d and /etc/udev/rules.d directory), +(content of \fI/lib/udev/rules.d\fP and \fI/etc/udev/rules.d\fP directory), list of files in /lib/udev directory and dump of current udev database content (the output of 'udevadm info --export-db' command). .
@@ -110,13 +110,17 @@ database content (the output of 'udevadm info --export-db' command). .TP .B LVM_BINARY The LVM2 binary to use. -Defaults to "lvm". -Sometimes you might need to set this to "#LVM_PATH#.static", for example. +Defaults to "\fBlvm\fP". +Sometimes you might need to set this to "\fI#LVM_PATH#.static\fP", for example. .TP .B DMSETUP_BINARY The dmsetup binary to use. -Defaults to "dmsetup". +Defaults to "\fBdmsetup\fP". . .SH SEE ALSO . -.BR lvm (8) +.BR lvm (8), +.BR lvmpolld (8), +.P +.BR udev (8), +.BR udevadm (8)
man/lvmlockctl.8_main +17 -17
@@ -61,54 +61,54 @@ Stop all lockspaces. . .SH USAGE . -.SS info -. +.TP +.B --info This collects and displays lock state from lvmlockd. The display is primitive, incomplete and will change in future version. To print the raw lock state from lvmlockd, combine this option with --dump|-d. . -.SS dump -. +.TP +.B --dump This collects the circular log buffer of debug statements from lvmlockd and prints it. . -.SS kill -. +.TP +.B --kill This is run by sanlock when it loses access to the storage holding leases for a VG. It runs the command specified in lvm.conf lvmlockctl_kill_command to deactivate LVs in the VG. If the specified command is successful, locks will be dropped for the VG in lvmlockd -(the equivalent of lvmlockctl --drop will be run.) If no command +(the equivalent of \fBlvmlockctl --drop\fP will be run.) If no command is specified, or the command fails, then the user must intervene to forcefully deactivate LVs in the VG, and if successful, run -lvmlockctl --drop. For more, see +\fBlvmlockctl --drop\fP. For more, see .BR lvmlockd (8). . -.SS drop -. +.TP +.B --drop This should only be run after a VG has been successfully deactivated following an lvmlockctl --kill command. It clears the stale lockspace from lvmlockd. When lvmlockctl_kill_command is used, the --kill command may run drop automatically. For more, see .BR lvmlockd (8). . -.SS gl-enable -. +.TP +.B --gl-enable This enables the global lock in a sanlock VG. This is necessary if the VG that previously held the global lock is removed. For more, see .BR lvmlockd (8). . -.SS gl-disable -. +.TP +.B --gl-disable This disables the global lock in a sanlock VG. This is necessary if the global lock has mistakenly been enabled in more than one VG. The global lock should be disabled in all but one sanlock VG. For more, see .BR lvmlockd (8). . -.SS stop-lockspaces -. +.TP +.B --stop-lockspaces This tells lvmlockd to stop all lockspaces. It can be useful to stop -lockspaces for VGs that the vgchange --lock-stop comand can no longer +lockspaces for VGs that the \fBvgchange --lock-stop\fP command can no longer see, or to stop the dlm global lockspace which is not directly stopped by the vgchange command. The wait and force options can be used with this command.
man/lvmpolld.8_main +3 -3
@@ -68,14 +68,14 @@ and is equivalent to a comma-separated list \fB-l wire,debug\fP. .TP .BR -p | --pidfile " " \fIpidfile_path Path to the pidfile. This overrides both the built-in default -(#DEFAULT_PID_DIR#/lvmpolld.pid) and the environment variable +(\fI#DEFAULT_PID_DIR#/lvmpolld.pid\fP) and the environment variable \fBLVM_LVMPOLLD_PIDFILE\fP. This file is used to prevent more than one instance of the daemon running simultaneously. . .TP .BR -s | --socket " " \fIsocket_path Path to the socket file. This overrides both the built-in default -(#DEFAULT_RUN_DIR#/lvmpolld.socket) and the environment variable +(\fI#DEFAULT_RUN_DIR#/lvmpolld.socket\fP) and the environment variable \fBLVM_LVMPOLLD_SOCKET\fP. . .TP
@@ -85,7 +85,7 @@ option is omitted or the value given is zero the daemon never shutdowns on idle. . .TP .BR -B | --binary " " \fIlvm_binary_path -Optional path to alternative LVM binary (default: #LVM_PATH#). Use for +Optional path to alternative LVM binary (default: \fI#LVM_PATH#\fP). Use for testing purposes only. . .TP
man/lvmthin.7_main +5 -3
@@ -870,7 +870,7 @@ To change these values globally, edit To change these values on a per-VG or per-LV basis, attach a "profile" to the VG or LV. A profile is a collection of config settings, saved in a local text file (using the lvm.conf format). lvm looks for profiles in -the profile_dir directory, e.g. #DEFAULT_SYS_DIR#/profile/. Once attached to a VG +the profile_dir directory, e.g. \fI#DEFAULT_SYS_DIR#/profile/\fP. Once attached to a VG or LV, lvm will process the VG or LV using the settings from the attached profile. A profile is named and referenced by its file name. .P
@@ -901,8 +901,10 @@ profile_dir="#DEFAULT_SYS_DIR#/profile" .P # cat #DEFAULT_SYS_DIR#/profile/pool0extend.profile activation { - thin_pool_autoextend_threshold=50 - thin_pool_autoextend_percent=10 +.RS +thin_pool_autoextend_threshold=50 +thin_pool_autoextend_percent=10 +.RE } .P # lvchange --metadataprofile pool0extend vg/pool0
man/lvmvdo.7_main +30 -27
103 lines not on this page · raw message
man/lvs.8_end +41 -41
122 lines not on this page · raw message
man/pvck.8_des +1 -1
@@ -48,7 +48,7 @@ Save the entire text metadata area to a file without processing. .B --repair .br Repair headers and metadata on a PV. This uses a metadata input file that -was extracted by --dump, or a backup file (from /etc/lvm/backup). When +was extracted by --dump, or a backup file (from \fI#DEFAULT_BACKUP_DIR#\fP). When possible, use metadata saved by --dump from another PV in the same VG (or from a second metadata area on the PV).
man/pvs.8_end +3 -3
@@ -2,8 +2,8 @@ . The pv_attr bits are: .IP 1 3 -(d)uplicate, (a)llocatable, (u)sed +(\fBd\fP)uplicate, (\fBa\fP)llocatable, (\fBu\fP)sed .IP 2 3 -e(x)ported +e(\fBx\fP)ported .IP 3 3 -(m)issing +(\fBm\fP)issing
man/see_also.end +8 -6
@@ -1,11 +1,13 @@ +. .SH SEE ALSO +. .nh .ad l .BR lvm (8), .BR lvm.conf (5), .BR lvmconfig (8), .BR lvmdevices (8), - +.P .BR pvchange (8), .BR pvck (8), .BR pvcreate (8),
@@ -15,7 +17,7 @@ .BR pvresize (8), .BR pvs (8), .BR pvscan (8), - +.P .BR vgcfgbackup (8), .BR vgcfgrestore (8), .BR vgchange (8),
@@ -36,7 +38,7 @@ .BR vgs (8), .BR vgscan (8), .BR vgsplit (8), - +.P .BR lvcreate (8), .BR lvchange (8), .BR lvconvert (8),
@@ -48,20 +50,20 @@ .BR lvresize (8), .BR lvs (8), .BR lvscan (8), - +.P .BR lvm-fullreport (8), .BR lvm-lvpoll (8), .BR lvm2-activation-generator (8), .BR blkdeactivate (8), .BR lvmdump (8), - +.P .BR dmeventd (8), .BR lvmpolld (8), .BR lvmlockd (8), .BR lvmlockctl (8), .BR cmirrord (8), .BR lvmdbusd (8), - +.P .BR lvmsystemid (7), .BR lvmreport (7), .BR lvmraid (7),
man/vgs.8_end +6 -6
@@ -2,15 +2,15 @@ . The vg_attr bits are: .IP 1 3 -Permissions: (w)riteable, (r)ead-only +Permissions: (\fBw\fP)riteable, (\fBr\fP)ead-only .IP 2 3 -Resi(z)eable +Resi(\fBz\fP)eable .IP 3 3 -E(x)ported +E(\fBx\fP)ported .IP 4 3 -(p)artial: one or more physical volumes belonging to the volume group +(\fBp\fP)artial: one or more physical volumes belonging to the volume group are missing from the system .IP 5 3 -Allocation policy: (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere +Allocation policy: (\fBc\fP)ontiguous, c(\fBl\fP)ing, (\fBn\fP)ormal, (\fBa\fP)nywhere .IP 6 3 -(c)lustered, (s)hared +(\fBc\fP)lustered, (\fBs\fP)hared