mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
man: correctly use configured directories
This commit is contained in:
parent
af33a00847
commit
763342016c
@ -26,7 +26,7 @@ The content of the tarball is as follows:
|
|||||||
.br
|
.br
|
||||||
- recent entries from /var/log/messages (containing system messages)
|
- recent entries from /var/log/messages (containing system messages)
|
||||||
.br
|
.br
|
||||||
- complete lvm configuration and cache (content of /etc/lvm)
|
- complete lvm configuration and cache (content of #DEFAULT_SYS_DIR#)
|
||||||
.br
|
.br
|
||||||
- list of device nodes present under /dev
|
- list of device nodes present under /dev
|
||||||
.br
|
.br
|
||||||
@ -97,7 +97,7 @@ database content (the output of 'udevadm info --export-db' command).
|
|||||||
\fBLVM_BINARY\fP
|
\fBLVM_BINARY\fP
|
||||||
The LVM2 binary to use.
|
The LVM2 binary to use.
|
||||||
Defaults to "lvm".
|
Defaults to "lvm".
|
||||||
Sometimes you might need to set this to "/sbin/lvm.static", for example.
|
Sometimes you might need to set this to "#LVM_PATH#/lvm.static", for example.
|
||||||
.TP
|
.TP
|
||||||
\fBDMSETUP_BINARY\fP
|
\fBDMSETUP_BINARY\fP
|
||||||
The dmsetup binary to use.
|
The dmsetup binary to use.
|
||||||
|
@ -115,7 +115,7 @@ use_lvmlockd = 1
|
|||||||
.br
|
.br
|
||||||
Assign each host a unique host_id in the range 1-2000 by setting
|
Assign each host a unique host_id in the range 1-2000 by setting
|
||||||
.br
|
.br
|
||||||
/etc/lvm/lvmlocal.conf local/host_id
|
#DEFAULT_SYS_DIR#/lvmlocal.conf local/host_id
|
||||||
|
|
||||||
.SS 3. start lvmlockd
|
.SS 3. start lvmlockd
|
||||||
|
|
||||||
|
@ -902,7 +902,7 @@ To change these values globally, edit
|
|||||||
To change these values on a per-VG or per-LV basis, attach a "profile" to
|
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
|
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
|
local text file (using the lvm.conf format). lvm looks for profiles in
|
||||||
the profile_dir directory, e.g. /etc/lvm/profile/. Once attached to a VG
|
the profile_dir directory, e.g. #DEFAULT_SYS_DIR#/profile/. Once attached to a VG
|
||||||
or LV, lvm will process the VG or LV using the settings from the attached
|
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.
|
profile. A profile is named and referenced by its file name.
|
||||||
|
|
||||||
@ -930,9 +930,9 @@ Extend the LV using the profile settings:
|
|||||||
.br
|
.br
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig config/profile_dir
|
# lvmconfig config/profile_dir
|
||||||
profile_dir="/etc/lvm/profile"
|
profile_dir="#DEFAULT_SYS_DIR#/profile"
|
||||||
|
|
||||||
# cat /etc/lvm/profile/pool0extend.profile
|
# cat #DEFAULT_SYS_DIR#/profile/pool0extend.profile
|
||||||
activation {
|
activation {
|
||||||
thin_pool_autoextend_threshold=50
|
thin_pool_autoextend_threshold=50
|
||||||
thin_pool_autoextend_percent=10
|
thin_pool_autoextend_percent=10
|
||||||
|
Loading…
Reference in New Issue
Block a user