lvm.conf.Debian.buster 96 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190
  1. # This is an example configuration file for the LVM2 system.
  2. # It contains the default settings that would be used if there was no
  3. # /etc/lvm/lvm.conf file.
  4. #
  5. # Refer to 'man lvm.conf' for further information including the file layout.
  6. #
  7. # Refer to 'man lvm.conf' for information about how settings configured in
  8. # this file are combined with built-in values and command line options to
  9. # arrive at the final values used by LVM.
  10. #
  11. # Refer to 'man lvmconfig' for information about displaying the built-in
  12. # and configured values used by LVM.
  13. #
  14. # If a default value is set in this file (not commented out), then a
  15. # new version of LVM using this file will continue using that value,
  16. # even if the new version of LVM changes the built-in default value.
  17. #
  18. # To put this file in a different directory and override /etc/lvm set
  19. # the environment variable LVM_SYSTEM_DIR before running the tools.
  20. #
  21. # N.B. Take care that each setting only appears once if uncommenting
  22. # example settings in this file.
  23. # Configuration section config.
  24. # How LVM configuration settings are handled.
  25. config {
  26. # Configuration option config/checks.
  27. # If enabled, any LVM configuration mismatch is reported.
  28. # This implies checking that the configuration key is understood by
  29. # LVM and that the value of the key is the proper type. If disabled,
  30. # any configuration mismatch is ignored and the default value is used
  31. # without any warning (a message about the configuration key not being
  32. # found is issued in verbose mode only).
  33. checks = 1
  34. # Configuration option config/abort_on_errors.
  35. # Abort the LVM process if a configuration mismatch is found.
  36. abort_on_errors = 0
  37. # Configuration option config/profile_dir.
  38. # Directory where LVM looks for configuration profiles.
  39. profile_dir = "/etc/lvm/profile"
  40. }
  41. # Configuration section devices.
  42. # How LVM uses block devices.
  43. devices {
  44. # Configuration option devices/dir.
  45. # Directory in which to create volume group device nodes.
  46. # Commands also accept this as a prefix on volume group names.
  47. # This configuration option is advanced.
  48. dir = "/dev"
  49. # Configuration option devices/scan.
  50. # Directories containing device nodes to use with LVM.
  51. # This configuration option is advanced.
  52. scan = [ "/dev" ]
  53. # Configuration option devices/obtain_device_list_from_udev.
  54. # Obtain the list of available devices from udev.
  55. # This avoids opening or using any inapplicable non-block devices or
  56. # subdirectories found in the udev directory. Any device node or
  57. # symlink not managed by udev in the udev directory is ignored. This
  58. # setting applies only to the udev-managed device directory; other
  59. # directories will be scanned fully. LVM needs to be compiled with
  60. # udev support for this setting to apply.
  61. obtain_device_list_from_udev = 1
  62. # Configuration option devices/external_device_info_source.
  63. # Select an external device information source.
  64. # Some information may already be available in the system and LVM can
  65. # use this information to determine the exact type or use of devices it
  66. # processes. Using an existing external device information source can
  67. # speed up device processing as LVM does not need to run its own native
  68. # routines to acquire this information. For example, this information
  69. # is used to drive LVM filtering like MD component detection, multipath
  70. # component detection, partition detection and others.
  71. #
  72. # Accepted values:
  73. # none
  74. # No external device information source is used.
  75. # udev
  76. # Reuse existing udev database records. Applicable only if LVM is
  77. # compiled with udev support.
  78. #
  79. external_device_info_source = "none"
  80. # Configuration option devices/preferred_names.
  81. # Select which path name to display for a block device.
  82. # If multiple path names exist for a block device, and LVM needs to
  83. # display a name for the device, the path names are matched against
  84. # each item in this list of regular expressions. The first match is
  85. # used. Try to avoid using undescriptive /dev/dm-N names, if present.
  86. # If no preferred name matches, or if preferred_names are not defined,
  87. # the following built-in preferences are applied in order until one
  88. # produces a preferred name:
  89. # Prefer names with path prefixes in the order of:
  90. # /dev/mapper, /dev/disk, /dev/dm-*, /dev/block.
  91. # Prefer the name with the least number of slashes.
  92. # Prefer a name that is a symlink.
  93. # Prefer the path with least value in lexicographical order.
  94. #
  95. # Example
  96. # preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
  97. #
  98. # This configuration option does not have a default value defined.
  99. # Configuration option devices/filter.
  100. # Limit the block devices that are used by LVM commands.
  101. # This is a list of regular expressions used to accept or reject block
  102. # device path names. Each regex is delimited by a vertical bar '|'
  103. # (or any character) and is preceded by 'a' to accept the path, or
  104. # by 'r' to reject the path. The first regex in the list to match the
  105. # path is used, producing the 'a' or 'r' result for the device.
  106. # When multiple path names exist for a block device, if any path name
  107. # matches an 'a' pattern before an 'r' pattern, then the device is
  108. # accepted. If all the path names match an 'r' pattern first, then the
  109. # device is rejected. Unmatching path names do not affect the accept
  110. # or reject decision. If no path names for a device match a pattern,
  111. # then the device is accepted. Be careful mixing 'a' and 'r' patterns,
  112. # as the combination might produce unexpected results (test changes.)
  113. # Run vgscan after changing the filter to regenerate the cache.
  114. #
  115. # Example
  116. # Accept every block device:
  117. # filter = [ "a|.*/|" ]
  118. # Reject the cdrom drive:
  119. # filter = [ "r|/dev/cdrom|" ]
  120. # Work with just loopback devices, e.g. for testing:
  121. # filter = [ "a|loop|", "r|.*|" ]
  122. # Accept all loop devices and ide drives except hdc:
  123. # filter = [ "a|loop|", "r|/dev/hdc|", "a|/dev/ide|", "r|.*|" ]
  124. # Use anchors to be very specific:
  125. # filter = [ "a|^/dev/hda8$|", "r|.*/|" ]
  126. #
  127. # This configuration option has an automatic default value.
  128. # filter = [ "a|.*/|" ]
  129. filter = [ "a|/dev/md[0-9]+|/dev/cciss/c0d.*|/dev/sd[a-z]+|", "r/.*/" ]
  130. # Configuration option devices/global_filter.
  131. # Limit the block devices that are used by LVM system components.
  132. # Because devices/filter may be overridden from the command line, it is
  133. # not suitable for system-wide device filtering, e.g. udev.
  134. # Use global_filter to hide devices from these LVM system components.
  135. # The syntax is the same as devices/filter. Devices rejected by
  136. # global_filter are not opened by LVM.
  137. # This configuration option has an automatic default value.
  138. # global_filter = [ "a|.*/|" ]
  139. # Configuration option devices/types.
  140. # List of additional acceptable block device types.
  141. # These are of device type names from /proc/devices, followed by the
  142. # maximum number of partitions.
  143. #
  144. # Example
  145. # types = [ "fd", 16 ]
  146. #
  147. # This configuration option is advanced.
  148. # This configuration option does not have a default value defined.
  149. # Configuration option devices/sysfs_scan.
  150. # Restrict device scanning to block devices appearing in sysfs.
  151. # This is a quick way of filtering out block devices that are not
  152. # present on the system. sysfs must be part of the kernel and mounted.)
  153. sysfs_scan = 1
  154. # Configuration option devices/scan_lvs.
  155. # Scan LVM LVs for layered PVs.
  156. scan_lvs = 1
  157. # Configuration option devices/multipath_component_detection.
  158. # Ignore devices that are components of DM multipath devices.
  159. multipath_component_detection = 1
  160. # Configuration option devices/md_component_detection.
  161. # Ignore devices that are components of software RAID (md) devices.
  162. md_component_detection = 1
  163. # Configuration option devices/fw_raid_component_detection.
  164. # Ignore devices that are components of firmware RAID devices.
  165. # LVM must use an external_device_info_source other than none for this
  166. # detection to execute.
  167. fw_raid_component_detection = 0
  168. # Configuration option devices/md_chunk_alignment.
  169. # Align the start of a PV data area with md device's stripe-width.
  170. # This applies if a PV is placed directly on an md device.
  171. # default_data_alignment will be overriden if it is not aligned
  172. # with the value detected for this setting.
  173. # This setting is overriden by data_alignment_detection,
  174. # data_alignment, and the --dataalignment option.
  175. md_chunk_alignment = 1
  176. # Configuration option devices/default_data_alignment.
  177. # Align the start of a PV data area with this number of MiB.
  178. # Set to 1 for 1MiB, 2 for 2MiB, etc. Set to 0 to disable.
  179. # This setting is overriden by data_alignment and the --dataalignment
  180. # option.
  181. # This configuration option has an automatic default value.
  182. # default_data_alignment = 1
  183. # Configuration option devices/data_alignment_detection.
  184. # Align the start of a PV data area with sysfs io properties.
  185. # The start of a PV data area will be a multiple of minimum_io_size or
  186. # optimal_io_size exposed in sysfs. minimum_io_size is the smallest
  187. # request the device can perform without incurring a read-modify-write
  188. # penalty, e.g. MD chunk size. optimal_io_size is the device's
  189. # preferred unit of receiving I/O, e.g. MD stripe width.
  190. # minimum_io_size is used if optimal_io_size is undefined (0).
  191. # If md_chunk_alignment is enabled, that detects the optimal_io_size.
  192. # default_data_alignment and md_chunk_alignment will be overriden
  193. # if they are not aligned with the value detected for this setting.
  194. # This setting is overriden by data_alignment and the --dataalignment
  195. # option.
  196. data_alignment_detection = 1
  197. # Configuration option devices/data_alignment.
  198. # Align the start of a PV data area with this number of KiB.
  199. # When non-zero, this setting overrides default_data_alignment.
  200. # Set to 0 to disable, in which case default_data_alignment
  201. # is used to align the first PE in units of MiB.
  202. # This setting is overriden by the --dataalignment option.
  203. data_alignment = 0
  204. # Configuration option devices/data_alignment_offset_detection.
  205. # Shift the start of an aligned PV data area based on sysfs information.
  206. # After a PV data area is aligned, it will be shifted by the
  207. # alignment_offset exposed in sysfs. This offset is often 0, but may
  208. # be non-zero. Certain 4KiB sector drives that compensate for windows
  209. # partitioning will have an alignment_offset of 3584 bytes (sector 7
  210. # is the lowest aligned logical block, the 4KiB sectors start at
  211. # LBA -1, and consequently sector 63 is aligned on a 4KiB boundary).
  212. # This setting is overriden by the --dataalignmentoffset option.
  213. data_alignment_offset_detection = 1
  214. # Configuration option devices/ignore_suspended_devices.
  215. # Ignore DM devices that have I/O suspended while scanning devices.
  216. # Otherwise, LVM waits for a suspended device to become accessible.
  217. # This should only be needed in recovery situations.
  218. ignore_suspended_devices = 0
  219. # Configuration option devices/ignore_lvm_mirrors.
  220. # Do not scan 'mirror' LVs to avoid possible deadlocks.
  221. # This avoids possible deadlocks when using the 'mirror' segment type.
  222. # This setting determines whether LVs using the 'mirror' segment type
  223. # are scanned for LVM labels. This affects the ability of mirrors to
  224. # be used as physical volumes. If this setting is enabled, it is
  225. # impossible to create VGs on top of mirror LVs, i.e. to stack VGs on
  226. # mirror LVs. If this setting is disabled, allowing mirror LVs to be
  227. # scanned, it may cause LVM processes and I/O to the mirror to become
  228. # blocked. This is due to the way that the mirror segment type handles
  229. # failures. In order for the hang to occur, an LVM command must be run
  230. # just after a failure and before the automatic LVM repair process
  231. # takes place, or there must be failures in multiple mirrors in the
  232. # same VG at the same time with write failures occurring moments before
  233. # a scan of the mirror's labels. The 'mirror' scanning problems do not
  234. # apply to LVM RAID types like 'raid1' which handle failures in a
  235. # different way, making them a better choice for VG stacking.
  236. ignore_lvm_mirrors = 1
  237. # Configuration option devices/require_restorefile_with_uuid.
  238. # Allow use of pvcreate --uuid without requiring --restorefile.
  239. require_restorefile_with_uuid = 1
  240. # Configuration option devices/pv_min_size.
  241. # Minimum size in KiB of block devices which can be used as PVs.
  242. # In a clustered environment all nodes must use the same value.
  243. # Any value smaller than 512KiB is ignored. The previous built-in
  244. # value was 512.
  245. pv_min_size = 2048
  246. # Configuration option devices/issue_discards.
  247. # Issue discards to PVs that are no longer used by an LV.
  248. # Discards are sent to an LV's underlying physical volumes when the LV
  249. # is no longer using the physical volumes' space, e.g. lvremove,
  250. # lvreduce. Discards inform the storage that a region is no longer
  251. # used. Storage that supports discards advertise the protocol-specific
  252. # way discards should be issued by the kernel (TRIM, UNMAP, or
  253. # WRITE SAME with UNMAP bit set). Not all storage will support or
  254. # benefit from discards, but SSDs and thinly provisioned LUNs
  255. # generally do. If enabled, discards will only be issued if both the
  256. # storage and kernel provide support.
  257. issue_discards = 0
  258. # Configuration option devices/allow_changes_with_duplicate_pvs.
  259. # Allow VG modification while a PV appears on multiple devices.
  260. # When a PV appears on multiple devices, LVM attempts to choose the
  261. # best device to use for the PV. If the devices represent the same
  262. # underlying storage, the choice has minimal consequence. If the
  263. # devices represent different underlying storage, the wrong choice
  264. # can result in data loss if the VG is modified. Disabling this
  265. # setting is the safest option because it prevents modifying a VG
  266. # or activating LVs in it while a PV appears on multiple devices.
  267. # Enabling this setting allows the VG to be used as usual even with
  268. # uncertain devices.
  269. allow_changes_with_duplicate_pvs = 0
  270. }
  271. # Configuration section allocation.
  272. # How LVM selects space and applies properties to LVs.
  273. allocation {
  274. # Configuration option allocation/cling_tag_list.
  275. # Advise LVM which PVs to use when searching for new space.
  276. # When searching for free space to extend an LV, the 'cling' allocation
  277. # policy will choose space on the same PVs as the last segment of the
  278. # existing LV. If there is insufficient space and a list of tags is
  279. # defined here, it will check whether any of them are attached to the
  280. # PVs concerned and then seek to match those PV tags between existing
  281. # extents and new extents.
  282. #
  283. # Example
  284. # Use the special tag "@*" as a wildcard to match any PV tag:
  285. # cling_tag_list = [ "@*" ]
  286. # LVs are mirrored between two sites within a single VG, and
  287. # PVs are tagged with either @site1 or @site2 to indicate where
  288. # they are situated:
  289. # cling_tag_list = [ "@site1", "@site2" ]
  290. #
  291. # This configuration option does not have a default value defined.
  292. # Configuration option allocation/maximise_cling.
  293. # Use a previous allocation algorithm.
  294. # Changes made in version 2.02.85 extended the reach of the 'cling'
  295. # policies to detect more situations where data can be grouped onto
  296. # the same disks. This setting can be used to disable the changes
  297. # and revert to the previous algorithm.
  298. maximise_cling = 1
  299. # Configuration option allocation/use_blkid_wiping.
  300. # Use blkid to detect and erase existing signatures on new PVs and LVs.
  301. # The blkid library can detect more signatures than the native LVM
  302. # detection code, but may take longer. LVM needs to be compiled with
  303. # blkid wiping support for this setting to apply. LVM native detection
  304. # code is currently able to recognize: MD device signatures,
  305. # swap signature, and LUKS signatures. To see the list of signatures
  306. # recognized by blkid, check the output of the 'blkid -k' command.
  307. use_blkid_wiping = 1
  308. # Configuration option allocation/wipe_signatures_when_zeroing_new_lvs.
  309. # Look for and erase any signatures while zeroing a new LV.
  310. # The --wipesignatures option overrides this setting.
  311. # Zeroing is controlled by the -Z/--zero option, and if not specified,
  312. # zeroing is used by default if possible. Zeroing simply overwrites the
  313. # first 4KiB of a new LV with zeroes and does no signature detection or
  314. # wiping. Signature wiping goes beyond zeroing and detects exact types
  315. # and positions of signatures within the whole LV. It provides a
  316. # cleaner LV after creation as all known signatures are wiped. The LV
  317. # is not claimed incorrectly by other tools because of old signatures
  318. # from previous use. The number of signatures that LVM can detect
  319. # depends on the detection code that is selected (see
  320. # use_blkid_wiping.) Wiping each detected signature must be confirmed.
  321. # When this setting is disabled, signatures on new LVs are not detected
  322. # or erased unless the --wipesignatures option is used directly.
  323. wipe_signatures_when_zeroing_new_lvs = 1
  324. # Configuration option allocation/mirror_logs_require_separate_pvs.
  325. # Mirror logs and images will always use different PVs.
  326. # The default setting changed in version 2.02.85.
  327. mirror_logs_require_separate_pvs = 0
  328. # Configuration option allocation/raid_stripe_all_devices.
  329. # Stripe across all PVs when RAID stripes are not specified.
  330. # If enabled, all PVs in the VG or on the command line are used for
  331. # raid0/4/5/6/10 when the command does not specify the number of
  332. # stripes to use.
  333. # This was the default behaviour until release 2.02.162.
  334. # This configuration option has an automatic default value.
  335. # raid_stripe_all_devices = 0
  336. # Configuration option allocation/cache_pool_metadata_require_separate_pvs.
  337. # Cache pool metadata and data will always use different PVs.
  338. cache_pool_metadata_require_separate_pvs = 0
  339. # Configuration option allocation/cache_metadata_format.
  340. # Sets default metadata format for new cache.
  341. #
  342. # Accepted values:
  343. # 0 Automatically detected best available format
  344. # 1 Original format
  345. # 2 Improved 2nd. generation format
  346. #
  347. # This configuration option has an automatic default value.
  348. # cache_metadata_format = 0
  349. # Configuration option allocation/cache_mode.
  350. # The default cache mode used for new cache.
  351. #
  352. # Accepted values:
  353. # writethrough
  354. # Data blocks are immediately written from the cache to disk.
  355. # writeback
  356. # Data blocks are written from the cache back to disk after some
  357. # delay to improve performance.
  358. #
  359. # This setting replaces allocation/cache_pool_cachemode.
  360. # This configuration option has an automatic default value.
  361. # cache_mode = "writethrough"
  362. # Configuration option allocation/cache_policy.
  363. # The default cache policy used for new cache volume.
  364. # Since kernel 4.2 the default policy is smq (Stochastic multiqueue),
  365. # otherwise the older mq (Multiqueue) policy is selected.
  366. # This configuration option does not have a default value defined.
  367. # Configuration section allocation/cache_settings.
  368. # Settings for the cache policy.
  369. # See documentation for individual cache policies for more info.
  370. # This configuration section has an automatic default value.
  371. # cache_settings {
  372. # }
  373. # Configuration option allocation/cache_pool_chunk_size.
  374. # The minimal chunk size in KiB for cache pool volumes.
  375. # Using a chunk_size that is too large can result in wasteful use of
  376. # the cache, where small reads and writes can cause large sections of
  377. # an LV to be mapped into the cache. However, choosing a chunk_size
  378. # that is too small can result in more overhead trying to manage the
  379. # numerous chunks that become mapped into the cache. The former is
  380. # more of a problem than the latter in most cases, so the default is
  381. # on the smaller end of the spectrum. Supported values range from
  382. # 32KiB to 1GiB in multiples of 32.
  383. # This configuration option does not have a default value defined.
  384. # Configuration option allocation/cache_pool_max_chunks.
  385. # The maximum number of chunks in a cache pool.
  386. # For cache target v1.9 the recommended maximumm is 1000000 chunks.
  387. # Using cache pool with more chunks may degrade cache performance.
  388. # This configuration option does not have a default value defined.
  389. # Configuration option allocation/thin_pool_metadata_require_separate_pvs.
  390. # Thin pool metdata and data will always use different PVs.
  391. thin_pool_metadata_require_separate_pvs = 0
  392. # Configuration option allocation/thin_pool_zero.
  393. # Thin pool data chunks are zeroed before they are first used.
  394. # Zeroing with a larger thin pool chunk size reduces performance.
  395. # This configuration option has an automatic default value.
  396. # thin_pool_zero = 1
  397. # Configuration option allocation/thin_pool_discards.
  398. # The discards behaviour of thin pool volumes.
  399. #
  400. # Accepted values:
  401. # ignore
  402. # nopassdown
  403. # passdown
  404. #
  405. # This configuration option has an automatic default value.
  406. # thin_pool_discards = "passdown"
  407. # Configuration option allocation/thin_pool_chunk_size_policy.
  408. # The chunk size calculation policy for thin pool volumes.
  409. #
  410. # Accepted values:
  411. # generic
  412. # If thin_pool_chunk_size is defined, use it. Otherwise, calculate
  413. # the chunk size based on estimation and device hints exposed in
  414. # sysfs - the minimum_io_size. The chunk size is always at least
  415. # 64KiB.
  416. # performance
  417. # If thin_pool_chunk_size is defined, use it. Otherwise, calculate
  418. # the chunk size for performance based on device hints exposed in
  419. # sysfs - the optimal_io_size. The chunk size is always at least
  420. # 512KiB.
  421. #
  422. # This configuration option has an automatic default value.
  423. # thin_pool_chunk_size_policy = "generic"
  424. # Configuration option allocation/thin_pool_chunk_size.
  425. # The minimal chunk size in KiB for thin pool volumes.
  426. # Larger chunk sizes may improve performance for plain thin volumes,
  427. # however using them for snapshot volumes is less efficient, as it
  428. # consumes more space and takes extra time for copying. When unset,
  429. # lvm tries to estimate chunk size starting from 64KiB. Supported
  430. # values are in the range 64KiB to 1GiB.
  431. # This configuration option does not have a default value defined.
  432. # Configuration option allocation/physical_extent_size.
  433. # Default physical extent size in KiB to use for new VGs.
  434. # This configuration option has an automatic default value.
  435. # physical_extent_size = 4096
  436. # Configuration option allocation/vdo_use_compression.
  437. # Enables or disables compression when creating a VDO volume.
  438. # Compression may be disabled if necessary to maximize performance
  439. # or to speed processing of data that is unlikely to compress.
  440. # This configuration option has an automatic default value.
  441. # vdo_use_compression = 1
  442. # Configuration option allocation/vdo_use_deduplication.
  443. # Enables or disables deduplication when creating a VDO volume.
  444. # Deduplication may be disabled in instances where data is not expected
  445. # to have good deduplication rates but compression is still desired.
  446. # This configuration option has an automatic default value.
  447. # vdo_use_deduplication = 1
  448. # Configuration option allocation/vdo_emulate_512_sectors.
  449. # Specifies that the VDO volume is to emulate a 512 byte block device.
  450. # This configuration option has an automatic default value.
  451. # vdo_emulate_512_sectors = 0
  452. # Configuration option allocation/vdo_block_map_cache_size_mb.
  453. # Specifies the amount of memory in MiB allocated for caching block map
  454. # pages for VDO volume. The value must be a multiple of 4096 and must be
  455. # at least 128MiB and less than 16TiB. The cache must be at least 16MiB
  456. # per logical thread. Note that there is a memory overhead of 15%.
  457. # This configuration option has an automatic default value.
  458. # vdo_block_map_cache_size_mb = 128
  459. # Configuration option allocation/vdo_block_map_period.
  460. # Tunes the quantity of block map updates that can accumulate
  461. # before cache pages are flushed to disk. The value must be
  462. # at least 1 and less then 16380.
  463. # A lower value means shorter recovery time but lower performance.
  464. # This configuration option has an automatic default value.
  465. # vdo_block_map_period = 16380
  466. # Configuration option allocation/vdo_check_point_frequency.
  467. # The default check point frequency for VDO volume.
  468. # This configuration option has an automatic default value.
  469. # vdo_check_point_frequency = 0
  470. # Configuration option allocation/vdo_use_sparse_index.
  471. # Enables sparse indexing for VDO volume.
  472. # This configuration option has an automatic default value.
  473. # vdo_use_sparse_index = 0
  474. # Configuration option allocation/vdo_index_memory_size_mb.
  475. # Specifies the amount of index memory in MiB for VDO volume.
  476. # The value must be at least 256MiB and at most 1TiB.
  477. # This configuration option has an automatic default value.
  478. # vdo_index_memory_size_mb = 256
  479. # Configuration option allocation/vdo_use_read_cache.
  480. # Enables or disables the read cache within the VDO volume.
  481. # The cache should be enabled if write workloads are expected
  482. # to have high levels of deduplication, or for read intensive
  483. # workloads of highly compressible data.
  484. # This configuration option has an automatic default value.
  485. # vdo_use_read_cache = 0
  486. # Configuration option allocation/vdo_read_cache_size_mb.
  487. # Specifies the extra VDO volume read cache size in MiB.
  488. # This space is in addition to a system-defined minimum.
  489. # The value must be less then 16TiB and 1.12 MiB of memory
  490. # will be used per MiB of read cache specified, per bio thread.
  491. # This configuration option has an automatic default value.
  492. # vdo_read_cache_size_mb = 0
  493. # Configuration option allocation/vdo_slab_size_mb.
  494. # Specifies the size in MiB of the increment by which a VDO is grown.
  495. # Using a smaller size constrains the total maximum physical size
  496. # that can be accommodated. Must be a power of two between 128MiB and 32GiB.
  497. # This configuration option has an automatic default value.
  498. # vdo_slab_size_mb = 2048
  499. # Configuration option allocation/vdo_ack_threads.
  500. # Specifies the number of threads to use for acknowledging
  501. # completion of requested VDO I/O operations.
  502. # The value must be at in range [0..100].
  503. # This configuration option has an automatic default value.
  504. # vdo_ack_threads = 1
  505. # Configuration option allocation/vdo_bio_threads.
  506. # Specifies the number of threads to use for submitting I/O
  507. # operations to the storage device of VDO volume.
  508. # The value must be in range [1..100]
  509. # Each additional thread after the first will use an additional 18MiB of RAM,
  510. # plus 1.12 MiB of RAM per megabyte of configured read cache size.
  511. # This configuration option has an automatic default value.
  512. # vdo_bio_threads = 1
  513. # Configuration option allocation/vdo_bio_rotation.
  514. # Specifies the number of I/O operations to enqueue for each bio-submission
  515. # thread before directing work to the next. The value must be in range [1..1024].
  516. # This configuration option has an automatic default value.
  517. # vdo_bio_rotation = 64
  518. # Configuration option allocation/vdo_cpu_threads.
  519. # Specifies the number of threads to use for CPU-intensive work such as
  520. # hashing or compression for VDO volume. The value must be in range [1..100]
  521. # This configuration option has an automatic default value.
  522. # vdo_cpu_threads = 2
  523. # Configuration option allocation/vdo_hash_zone_threads.
  524. # Specifies the number of threads across which to subdivide parts of the VDO
  525. # processing based on the hash value computed from the block data.
  526. # The value must be at in range [0..100].
  527. # vdo_hash_zone_threads, vdo_logical_threads and vdo_physical_threads must be
  528. # either all zero or all non-zero.
  529. # This configuration option has an automatic default value.
  530. # vdo_hash_zone_threads = 1
  531. # Configuration option allocation/vdo_logical_threads.
  532. # Specifies the number of threads across which to subdivide parts of the VDO
  533. # processing based on the hash value computed from the block data.
  534. # A logical thread count of 9 or more will require explicitly specifying
  535. # a sufficiently large block map cache size, as well.
  536. # The value must be in range [0..100].
  537. # vdo_hash_zone_threads, vdo_logical_threads and vdo_physical_threads must be
  538. # either all zero or all non-zero.
  539. # This configuration option has an automatic default value.
  540. # vdo_logical_threads = 1
  541. # Configuration option allocation/vdo_physical_threads.
  542. # Specifies the number of threads across which to subdivide parts of the VDO
  543. # processing based on physical block addresses.
  544. # Each additional thread after the first will use an additional 10MiB of RAM.
  545. # The value must be in range [0..16].
  546. # vdo_hash_zone_threads, vdo_logical_threads and vdo_physical_threads must be
  547. # either all zero or all non-zero.
  548. # This configuration option has an automatic default value.
  549. # vdo_physical_threads = 1
  550. # Configuration option allocation/vdo_write_policy.
  551. # Specifies the write policy:
  552. # auto - VDO will check the storage device and determine whether it supports flushes.
  553. # If it does, VDO will run in async mode, otherwise it will run in sync mode.
  554. # sync - Writes are acknowledged only after data is stably written.
  555. # This policy is not supported if the underlying storage is not also synchronous.
  556. # async - Writes are acknowledged after data has been cached for writing to stable storage.
  557. # Data which has not been flushed is not guaranteed to persist in this mode.
  558. # This configuration option has an automatic default value.
  559. # vdo_write_policy = "auto"
  560. }
  561. # Configuration section log.
  562. # How LVM log information is reported.
  563. log {
  564. # Configuration option log/report_command_log.
  565. # Enable or disable LVM log reporting.
  566. # If enabled, LVM will collect a log of operations, messages,
  567. # per-object return codes with object identification and associated
  568. # error numbers (errnos) during LVM command processing. Then the
  569. # log is either reported solely or in addition to any existing
  570. # reports, depending on LVM command used. If it is a reporting command
  571. # (e.g. pvs, vgs, lvs, lvm fullreport), then the log is reported in
  572. # addition to any existing reports. Otherwise, there's only log report
  573. # on output. For all applicable LVM commands, you can request that
  574. # the output has only log report by using --logonly command line
  575. # option. Use log/command_log_cols and log/command_log_sort settings
  576. # to define fields to display and sort fields for the log report.
  577. # You can also use log/command_log_selection to define selection
  578. # criteria used each time the log is reported.
  579. # This configuration option has an automatic default value.
  580. # report_command_log = 0
  581. # Configuration option log/command_log_sort.
  582. # List of columns to sort by when reporting command log.
  583. # See <lvm command> --logonly --configreport log -o help
  584. # for the list of possible fields.
  585. # This configuration option has an automatic default value.
  586. # command_log_sort = "log_seq_num"
  587. # Configuration option log/command_log_cols.
  588. # List of columns to report when reporting command log.
  589. # See <lvm command> --logonly --configreport log -o help
  590. # for the list of possible fields.
  591. # This configuration option has an automatic default value.
  592. # command_log_cols = "log_seq_num,log_type,log_context,log_object_type,log_object_name,log_object_id,log_object_group,log_object_group_id,log_message,log_errno,log_ret_code"
  593. # Configuration option log/command_log_selection.
  594. # Selection criteria used when reporting command log.
  595. # You can define selection criteria that are applied each
  596. # time log is reported. This way, it is possible to control the
  597. # amount of log that is displayed on output and you can select
  598. # only parts of the log that are important for you. To define
  599. # selection criteria, use fields from log report. See also
  600. # <lvm command> --logonly --configreport log -S help for the
  601. # list of possible fields and selection operators. You can also
  602. # define selection criteria for log report on command line directly
  603. # using <lvm command> --configreport log -S <selection criteria>
  604. # which has precedence over log/command_log_selection setting.
  605. # For more information about selection criteria in general, see
  606. # lvm(8) man page.
  607. # This configuration option has an automatic default value.
  608. # command_log_selection = "!(log_type=status && message=success)"
  609. # Configuration option log/verbose.
  610. # Controls the messages sent to stdout or stderr.
  611. verbose = 0
  612. # Configuration option log/silent.
  613. # Suppress all non-essential messages from stdout.
  614. # This has the same effect as -qq. When enabled, the following commands
  615. # still produce output: dumpconfig, lvdisplay, lvmdiskscan, lvs, pvck,
  616. # pvdisplay, pvs, version, vgcfgrestore -l, vgdisplay, vgs.
  617. # Non-essential messages are shifted from log level 4 to log level 5
  618. # for syslog and lvm2_log_fn purposes.
  619. # Any 'yes' or 'no' questions not overridden by other arguments are
  620. # suppressed and default to 'no'.
  621. silent = 0
  622. # Configuration option log/syslog.
  623. # Send log messages through syslog.
  624. syslog = 1
  625. # Configuration option log/file.
  626. # Write error and debug log messages to a file specified here.
  627. # This configuration option does not have a default value defined.
  628. # Configuration option log/overwrite.
  629. # Overwrite the log file each time the program is run.
  630. overwrite = 0
  631. # Configuration option log/level.
  632. # The level of log messages that are sent to the log file or syslog.
  633. # There are 6 syslog-like log levels currently in use: 2 to 7 inclusive.
  634. # 7 is the most verbose (LOG_DEBUG).
  635. level = 0
  636. # Configuration option log/indent.
  637. # Indent messages according to their severity.
  638. indent = 1
  639. # Configuration option log/command_names.
  640. # Display the command name on each line of output.
  641. command_names = 0
  642. # Configuration option log/prefix.
  643. # A prefix to use before the log message text.
  644. # (After the command name, if selected).
  645. # Two spaces allows you to see/grep the severity of each message.
  646. # To make the messages look similar to the original LVM tools use:
  647. # indent = 0, command_names = 1, prefix = " -- "
  648. prefix = " "
  649. # Configuration option log/activation.
  650. # Log messages during activation.
  651. # Don't use this in low memory situations (can deadlock).
  652. activation = 0
  653. # Configuration option log/debug_classes.
  654. # Select log messages by class.
  655. # Some debugging messages are assigned to a class and only appear in
  656. # debug output if the class is listed here. Classes currently
  657. # available: memory, devices, io, activation, allocation,
  658. # metadata, cache, locking, lvmpolld. Use "all" to see everything.
  659. debug_classes = [ "memory", "devices", "io", "activation", "allocation", "metadata", "cache", "locking", "lvmpolld", "dbus" ]
  660. }
  661. # Configuration section backup.
  662. # How LVM metadata is backed up and archived.
  663. # In LVM, a 'backup' is a copy of the metadata for the current system,
  664. # and an 'archive' contains old metadata configurations. They are
  665. # stored in a human readable text format.
  666. backup {
  667. # Configuration option backup/backup.
  668. # Maintain a backup of the current metadata configuration.
  669. # Think very hard before turning this off!
  670. backup = 1
  671. # Configuration option backup/backup_dir.
  672. # Location of the metadata backup files.
  673. # Remember to back up this directory regularly!
  674. backup_dir = "/etc/lvm/backup"
  675. # Configuration option backup/archive.
  676. # Maintain an archive of old metadata configurations.
  677. # Think very hard before turning this off.
  678. archive = 1
  679. # Configuration option backup/archive_dir.
  680. # Location of the metdata archive files.
  681. # Remember to back up this directory regularly!
  682. archive_dir = "/etc/lvm/archive"
  683. # Configuration option backup/retain_min.
  684. # Minimum number of archives to keep.
  685. retain_min = 10
  686. # Configuration option backup/retain_days.
  687. # Minimum number of days to keep archive files.
  688. retain_days = 30
  689. }
  690. # Configuration section shell.
  691. # Settings for running LVM in shell (readline) mode.
  692. shell {
  693. # Configuration option shell/history_size.
  694. # Number of lines of history to store in ~/.lvm_history.
  695. history_size = 100
  696. }
  697. # Configuration section global.
  698. # Miscellaneous global LVM settings.
  699. global {
  700. # Configuration option global/umask.
  701. # The file creation mask for any files and directories created.
  702. # Interpreted as octal if the first digit is zero.
  703. umask = 077
  704. # Configuration option global/test.
  705. # No on-disk metadata changes will be made in test mode.
  706. # Equivalent to having the -t option on every command.
  707. test = 0
  708. # Configuration option global/units.
  709. # Default value for --units argument.
  710. units = "r"
  711. # Configuration option global/si_unit_consistency.
  712. # Distinguish between powers of 1024 and 1000 bytes.
  713. # The LVM commands distinguish between powers of 1024 bytes,
  714. # e.g. KiB, MiB, GiB, and powers of 1000 bytes, e.g. KB, MB, GB.
  715. # If scripts depend on the old behaviour, disable this setting
  716. # temporarily until they are updated.
  717. si_unit_consistency = 1
  718. # Configuration option global/suffix.
  719. # Display unit suffix for sizes.
  720. # This setting has no effect if the units are in human-readable form
  721. # (global/units = "h") in which case the suffix is always displayed.
  722. suffix = 1
  723. # Configuration option global/activation.
  724. # Enable/disable communication with the kernel device-mapper.
  725. # Disable to use the tools to manipulate LVM metadata without
  726. # activating any logical volumes. If the device-mapper driver
  727. # is not present in the kernel, disabling this should suppress
  728. # the error messages.
  729. activation = 1
  730. # Configuration option global/segment_libraries.
  731. # This configuration option does not have a default value defined.
  732. # Configuration option global/proc.
  733. # Location of proc filesystem.
  734. # This configuration option is advanced.
  735. proc = "/proc"
  736. # Configuration option global/etc.
  737. # Location of /etc system configuration directory.
  738. etc = "/etc"
  739. # Configuration option global/wait_for_locks.
  740. # When disabled, fail if a lock request would block.
  741. wait_for_locks = 1
  742. # Configuration option global/locking_dir.
  743. # Directory to use for LVM command file locks.
  744. # Local non-LV directory that holds file-based locks while commands are
  745. # in progress. A directory like /tmp that may get wiped on reboot is OK.
  746. locking_dir = "/run/lock/lvm"
  747. # Configuration option global/prioritise_write_locks.
  748. # Allow quicker VG write access during high volume read access.
  749. # When there are competing read-only and read-write access requests for
  750. # a volume group's metadata, instead of always granting the read-only
  751. # requests immediately, delay them to allow the read-write requests to
  752. # be serviced. Without this setting, write access may be stalled by a
  753. # high volume of read-only requests. This option only affects
  754. # locking_type 1 viz. local file-based locking.
  755. prioritise_write_locks = 1
  756. # Configuration option global/library_dir.
  757. # Search this directory first for shared libraries.
  758. # This configuration option does not have a default value defined.
  759. # Configuration option global/abort_on_internal_errors.
  760. # Abort a command that encounters an internal error.
  761. # Treat any internal errors as fatal errors, aborting the process that
  762. # encountered the internal error. Please only enable for debugging.
  763. abort_on_internal_errors = 0
  764. # Configuration option global/metadata_read_only.
  765. # No operations that change on-disk metadata are permitted.
  766. # Additionally, read-only commands that encounter metadata in need of
  767. # repair will still be allowed to proceed exactly as if the repair had
  768. # been performed (except for the unchanged vg_seqno). Inappropriate
  769. # use could mess up your system, so seek advice first!
  770. metadata_read_only = 0
  771. # Configuration option global/mirror_segtype_default.
  772. # The segment type used by the short mirroring option -m.
  773. # The --type mirror|raid1 option overrides this setting.
  774. #
  775. # Accepted values:
  776. # mirror
  777. # The original RAID1 implementation from LVM/DM. It is
  778. # characterized by a flexible log solution (core, disk, mirrored),
  779. # and by the necessity to block I/O while handling a failure.
  780. # There is an inherent race in the dmeventd failure handling logic
  781. # with snapshots of devices using this type of RAID1 that in the
  782. # worst case could cause a deadlock. (Also see
  783. # devices/ignore_lvm_mirrors.)
  784. # raid1
  785. # This is a newer RAID1 implementation using the MD RAID1
  786. # personality through device-mapper. It is characterized by a
  787. # lack of log options. (A log is always allocated for every
  788. # device and they are placed on the same device as the image,
  789. # so no separate devices are required.) This mirror
  790. # implementation does not require I/O to be blocked while
  791. # handling a failure. This mirror implementation is not
  792. # cluster-aware and cannot be used in a shared (active/active)
  793. # fashion in a cluster.
  794. #
  795. mirror_segtype_default = "raid1"
  796. # Configuration option global/raid10_segtype_default.
  797. # The segment type used by the -i -m combination.
  798. # The --type raid10|mirror option overrides this setting.
  799. # The --stripes/-i and --mirrors/-m options can both be specified
  800. # during the creation of a logical volume to use both striping and
  801. # mirroring for the LV. There are two different implementations.
  802. #
  803. # Accepted values:
  804. # raid10
  805. # LVM uses MD's RAID10 personality through DM. This is the
  806. # preferred option.
  807. # mirror
  808. # LVM layers the 'mirror' and 'stripe' segment types. The layering
  809. # is done by creating a mirror LV on top of striped sub-LVs,
  810. # effectively creating a RAID 0+1 array. The layering is suboptimal
  811. # in terms of providing redundancy and performance.
  812. #
  813. raid10_segtype_default = "raid10"
  814. # Configuration option global/sparse_segtype_default.
  815. # The segment type used by the -V -L combination.
  816. # The --type snapshot|thin option overrides this setting.
  817. # The combination of -V and -L options creates a sparse LV. There are
  818. # two different implementations.
  819. #
  820. # Accepted values:
  821. # snapshot
  822. # The original snapshot implementation from LVM/DM. It uses an old
  823. # snapshot that mixes data and metadata within a single COW
  824. # storage volume and performs poorly when the size of stored data
  825. # passes hundreds of MB.
  826. # thin
  827. # A newer implementation that uses thin provisioning. It has a
  828. # bigger minimal chunk size (64KiB) and uses a separate volume for
  829. # metadata. It has better performance, especially when more data
  830. # is used. It also supports full snapshots.
  831. #
  832. sparse_segtype_default = "thin"
  833. # Configuration option global/lvdisplay_shows_full_device_path.
  834. # Enable this to reinstate the previous lvdisplay name format.
  835. # The default format for displaying LV names in lvdisplay was changed
  836. # in version 2.02.89 to show the LV name and path separately.
  837. # Previously this was always shown as /dev/vgname/lvname even when that
  838. # was never a valid path in the /dev filesystem.
  839. # This configuration option has an automatic default value.
  840. # lvdisplay_shows_full_device_path = 0
  841. # Configuration option global/event_activation.
  842. # Activate LVs based on system-generated device events.
  843. # When a device appears on the system, a system-generated event runs
  844. # the pvscan command to activate LVs if the new PV completes the VG.
  845. # Use auto_activation_volume_list to select which LVs should be
  846. # activated from these events (the default is all.)
  847. # When event_activation is disabled, the system will generally run
  848. # a direct activation command to activate LVs in complete VGs.
  849. event_activation = 1
  850. # Configuration option global/use_aio.
  851. # Use async I/O when reading and writing devices.
  852. # This configuration option has an automatic default value.
  853. # use_aio = 1
  854. # Configuration option global/use_lvmlockd.
  855. # Use lvmlockd for locking among hosts using LVM on shared storage.
  856. # Applicable only if LVM is compiled with lockd support in which
  857. # case there is also lvmlockd(8) man page available for more
  858. # information.
  859. use_lvmlockd = 0
  860. # Configuration option global/lvmlockd_lock_retries.
  861. # Retry lvmlockd lock requests this many times.
  862. # Applicable only if LVM is compiled with lockd support
  863. # This configuration option has an automatic default value.
  864. # lvmlockd_lock_retries = 3
  865. # Configuration option global/sanlock_lv_extend.
  866. # Size in MiB to extend the internal LV holding sanlock locks.
  867. # The internal LV holds locks for each LV in the VG, and after enough
  868. # LVs have been created, the internal LV needs to be extended. lvcreate
  869. # will automatically extend the internal LV when needed by the amount
  870. # specified here. Setting this to 0 disables the automatic extension
  871. # and can cause lvcreate to fail. Applicable only if LVM is compiled
  872. # with lockd support
  873. # This configuration option has an automatic default value.
  874. # sanlock_lv_extend = 256
  875. # Configuration option global/thin_check_executable.
  876. # The full path to the thin_check command.
  877. # LVM uses this command to check that a thin metadata device is in a
  878. # usable state. When a thin pool is activated and after it is
  879. # deactivated, this command is run. Activation will only proceed if
  880. # the command has an exit status of 0. Set to "" to skip this check.
  881. # (Not recommended.) Also see thin_check_options.
  882. # (See package device-mapper-persistent-data or thin-provisioning-tools)
  883. # This configuration option has an automatic default value.
  884. # thin_check_executable = "/usr/sbin/thin_check"
  885. # Configuration option global/thin_dump_executable.
  886. # The full path to the thin_dump command.
  887. # LVM uses this command to dump thin pool metadata.
  888. # (See package device-mapper-persistent-data or thin-provisioning-tools)
  889. # This configuration option has an automatic default value.
  890. # thin_dump_executable = "/usr/sbin/thin_dump"
  891. # Configuration option global/thin_repair_executable.
  892. # The full path to the thin_repair command.
  893. # LVM uses this command to repair a thin metadata device if it is in
  894. # an unusable state. Also see thin_repair_options.
  895. # (See package device-mapper-persistent-data or thin-provisioning-tools)
  896. # This configuration option has an automatic default value.
  897. # thin_repair_executable = "/usr/sbin/thin_repair"
  898. # Configuration option global/thin_check_options.
  899. # List of options passed to the thin_check command.
  900. # With thin_check version 2.1 or newer you can add the option
  901. # --ignore-non-fatal-errors to let it pass through ignorable errors
  902. # and fix them later. With thin_check version 3.2 or newer you should
  903. # include the option --clear-needs-check-flag.
  904. # This configuration option has an automatic default value.
  905. # thin_check_options = [ "-q", "--clear-needs-check-flag" ]
  906. # Configuration option global/thin_repair_options.
  907. # List of options passed to the thin_repair command.
  908. # This configuration option has an automatic default value.
  909. # thin_repair_options = [ "" ]
  910. # Configuration option global/thin_disabled_features.
  911. # Features to not use in the thin driver.
  912. # This can be helpful for testing, or to avoid using a feature that is
  913. # causing problems. Features include: block_size, discards,
  914. # discards_non_power_2, external_origin, metadata_resize,
  915. # external_origin_extend, error_if_no_space.
  916. #
  917. # Example
  918. # thin_disabled_features = [ "discards", "block_size" ]
  919. #
  920. # This configuration option does not have a default value defined.
  921. # Configuration option global/cache_disabled_features.
  922. # Features to not use in the cache driver.
  923. # This can be helpful for testing, or to avoid using a feature that is
  924. # causing problems. Features include: policy_mq, policy_smq, metadata2.
  925. #
  926. # Example
  927. # cache_disabled_features = [ "policy_smq" ]
  928. #
  929. # This configuration option does not have a default value defined.
  930. # Configuration option global/cache_check_executable.
  931. # The full path to the cache_check command.
  932. # LVM uses this command to check that a cache metadata device is in a
  933. # usable state. When a cached LV is activated and after it is
  934. # deactivated, this command is run. Activation will only proceed if the
  935. # command has an exit status of 0. Set to "" to skip this check.
  936. # (Not recommended.) Also see cache_check_options.
  937. # (See package device-mapper-persistent-data or thin-provisioning-tools)
  938. # This configuration option has an automatic default value.
  939. # cache_check_executable = "/usr/sbin/cache_check"
  940. # Configuration option global/cache_dump_executable.
  941. # The full path to the cache_dump command.
  942. # LVM uses this command to dump cache pool metadata.
  943. # (See package device-mapper-persistent-data or thin-provisioning-tools)
  944. # This configuration option has an automatic default value.
  945. # cache_dump_executable = "/usr/sbin/cache_dump"
  946. # Configuration option global/cache_repair_executable.
  947. # The full path to the cache_repair command.
  948. # LVM uses this command to repair a cache metadata device if it is in
  949. # an unusable state. Also see cache_repair_options.
  950. # (See package device-mapper-persistent-data or thin-provisioning-tools)
  951. # This configuration option has an automatic default value.
  952. # cache_repair_executable = "/usr/sbin/cache_repair"
  953. # Configuration option global/cache_check_options.
  954. # List of options passed to the cache_check command.
  955. # With cache_check version 5.0 or newer you should include the option
  956. # --clear-needs-check-flag.
  957. # This configuration option has an automatic default value.
  958. # cache_check_options = [ "-q", "--clear-needs-check-flag" ]
  959. # Configuration option global/cache_repair_options.
  960. # List of options passed to the cache_repair command.
  961. # This configuration option has an automatic default value.
  962. # cache_repair_options = [ "" ]
  963. # Configuration option global/vdo_format_executable.
  964. # The full path to the vdoformat command.
  965. # LVM uses this command to initial data volume for VDO type logical volume
  966. # This configuration option has an automatic default value.
  967. # vdo_format_executable = "autodetect"
  968. # Configuration option global/vdo_format_options.
  969. # List of options passed added to standard vdoformat command.
  970. # This configuration option has an automatic default value.
  971. # vdo_format_options = [ "" ]
  972. # Configuration option global/fsadm_executable.
  973. # The full path to the fsadm command.
  974. # LVM uses this command to help with lvresize -r operations.
  975. # This configuration option has an automatic default value.
  976. # fsadm_executable = "/sbin/fsadm"
  977. # Configuration option global/system_id_source.
  978. # The method LVM uses to set the local system ID.
  979. # Volume Groups can also be given a system ID (by vgcreate, vgchange,
  980. # or vgimport.) A VG on shared storage devices is accessible only to
  981. # the host with a matching system ID. See 'man lvmsystemid' for
  982. # information on limitations and correct usage.
  983. #
  984. # Accepted values:
  985. # none
  986. # The host has no system ID.
  987. # lvmlocal
  988. # Obtain the system ID from the system_id setting in the 'local'
  989. # section of an lvm configuration file, e.g. lvmlocal.conf.
  990. # uname
  991. # Set the system ID from the hostname (uname) of the system.
  992. # System IDs beginning localhost are not permitted.
  993. # machineid
  994. # Use the contents of the machine-id file to set the system ID.
  995. # Some systems create this file at installation time.
  996. # See 'man machine-id' and global/etc.
  997. # file
  998. # Use the contents of another file (system_id_file) to set the
  999. # system ID.
  1000. #
  1001. system_id_source = "none"
  1002. # Configuration option global/system_id_file.
  1003. # The full path to the file containing a system ID.
  1004. # This is used when system_id_source is set to 'file'.
  1005. # Comments starting with the character # are ignored.
  1006. # This configuration option does not have a default value defined.
  1007. # Configuration option global/use_lvmpolld.
  1008. # Use lvmpolld to supervise long running LVM commands.
  1009. # When enabled, control of long running LVM commands is transferred
  1010. # from the original LVM command to the lvmpolld daemon. This allows
  1011. # the operation to continue independent of the original LVM command.
  1012. # After lvmpolld takes over, the LVM command displays the progress
  1013. # of the ongoing operation. lvmpolld itself runs LVM commands to
  1014. # manage the progress of ongoing operations. lvmpolld can be used as
  1015. # a native systemd service, which allows it to be started on demand,
  1016. # and to use its own control group. When this option is disabled, LVM
  1017. # commands will supervise long running operations by forking themselves.
  1018. # Applicable only if LVM is compiled with lvmpolld support.
  1019. use_lvmpolld = 1
  1020. # Configuration option global/notify_dbus.
  1021. # Enable D-Bus notification from LVM commands.
  1022. # When enabled, an LVM command that changes PVs, changes VG metadata,
  1023. # or changes the activation state of an LV will send a notification.
  1024. notify_dbus = 1
  1025. }
  1026. # Configuration section activation.
  1027. activation {
  1028. # Configuration option activation/checks.
  1029. # Perform internal checks of libdevmapper operations.
  1030. # Useful for debugging problems with activation. Some of the checks may
  1031. # be expensive, so it's best to use this only when there seems to be a
  1032. # problem.
  1033. checks = 0
  1034. # Configuration option activation/udev_sync.
  1035. # Use udev notifications to synchronize udev and LVM.
  1036. # The --nodevsync option overrides this setting.
  1037. # When disabled, LVM commands will not wait for notifications from
  1038. # udev, but continue irrespective of any possible udev processing in
  1039. # the background. Only use this if udev is not running or has rules
  1040. # that ignore the devices LVM creates. If enabled when udev is not
  1041. # running, and LVM processes are waiting for udev, run the command
  1042. # 'dmsetup udevcomplete_all' to wake them up.
  1043. udev_sync = 1
  1044. # Configuration option activation/udev_rules.
  1045. # Use udev rules to manage LV device nodes and symlinks.
  1046. # When disabled, LVM will manage the device nodes and symlinks for
  1047. # active LVs itself. Manual intervention may be required if this
  1048. # setting is changed while LVs are active.
  1049. udev_rules = 1
  1050. # Configuration option activation/verify_udev_operations.
  1051. # Use extra checks in LVM to verify udev operations.
  1052. # This enables additional checks (and if necessary, repairs) on entries
  1053. # in the device directory after udev has completed processing its
  1054. # events. Useful for diagnosing problems with LVM/udev interactions.
  1055. verify_udev_operations = 0
  1056. # Configuration option activation/retry_deactivation.
  1057. # Retry failed LV deactivation.
  1058. # If LV deactivation fails, LVM will retry for a few seconds before
  1059. # failing. This may happen because a process run from a quick udev rule
  1060. # temporarily opened the device.
  1061. retry_deactivation = 1
  1062. # Configuration option activation/missing_stripe_filler.
  1063. # Method to fill missing stripes when activating an incomplete LV.
  1064. # Using 'error' will make inaccessible parts of the device return I/O
  1065. # errors on access. Using 'zero' will return success (and zero) on I/O
  1066. # You can instead use a device path, in which case,
  1067. # that device will be used in place of missing stripes. Using anything
  1068. # other than 'error' with mirrored or snapshotted volumes is likely to
  1069. # result in data corruption.
  1070. # This configuration option is advanced.
  1071. missing_stripe_filler = "error"
  1072. # Configuration option activation/use_linear_target.
  1073. # Use the linear target to optimize single stripe LVs.
  1074. # When disabled, the striped target is used. The linear target is an
  1075. # optimised version of the striped target that only handles a single
  1076. # stripe.
  1077. use_linear_target = 1
  1078. # Configuration option activation/reserved_stack.
  1079. # Stack size in KiB to reserve for use while devices are suspended.
  1080. # Insufficent reserve risks I/O deadlock during device suspension.
  1081. reserved_stack = 64
  1082. # Configuration option activation/reserved_memory.
  1083. # Memory size in KiB to reserve for use while devices are suspended.
  1084. # Insufficent reserve risks I/O deadlock during device suspension.
  1085. reserved_memory = 8192
  1086. # Configuration option activation/process_priority.
  1087. # Nice value used while devices are suspended.
  1088. # Use a high priority so that LVs are suspended
  1089. # for the shortest possible time.
  1090. process_priority = -18
  1091. # Configuration option activation/volume_list.
  1092. # Only LVs selected by this list are activated.
  1093. # If this list is defined, an LV is only activated if it matches an
  1094. # entry in this list. If this list is undefined, it imposes no limits
  1095. # on LV activation (all are allowed).
  1096. #
  1097. # Accepted values:
  1098. # vgname
  1099. # The VG name is matched exactly and selects all LVs in the VG.
  1100. # vgname/lvname
  1101. # The VG name and LV name are matched exactly and selects the LV.
  1102. # @tag
  1103. # Selects an LV if the specified tag matches a tag set on the LV
  1104. # or VG.
  1105. # @*
  1106. # Selects an LV if a tag defined on the host is also set on the LV
  1107. # or VG. See tags/hosttags. If any host tags exist but volume_list
  1108. # is not defined, a default single-entry list containing '@*'
  1109. # is assumed.
  1110. #
  1111. # Example
  1112. # volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
  1113. #
  1114. # This configuration option does not have a default value defined.
  1115. # Configuration option activation/auto_activation_volume_list.
  1116. # Only LVs selected by this list are auto-activated.
  1117. # This list works like volume_list, but it is used only by
  1118. # auto-activation commands. It does not apply to direct activation
  1119. # commands. If this list is defined, an LV is only auto-activated
  1120. # if it matches an entry in this list. If this list is undefined, it
  1121. # imposes no limits on LV auto-activation (all are allowed.) If this
  1122. # list is defined and empty, i.e. "[]", then no LVs are selected for
  1123. # auto-activation. An LV that is selected by this list for
  1124. # auto-activation, must also be selected by volume_list (if defined)
  1125. # before it is activated. Auto-activation is an activation command that
  1126. # includes the 'a' argument: --activate ay or -a ay. The 'a' (auto)
  1127. # argument for auto-activation is meant to be used by activation
  1128. # commands that are run automatically by the system, as opposed to LVM
  1129. # commands run directly by a user. A user may also use the 'a' flag
  1130. # directly to perform auto-activation. Also see pvscan(8) for more
  1131. # information about auto-activation.
  1132. #
  1133. # Accepted values:
  1134. # vgname
  1135. # The VG name is matched exactly and selects all LVs in the VG.
  1136. # vgname/lvname
  1137. # The VG name and LV name are matched exactly and selects the LV.
  1138. # @tag
  1139. # Selects an LV if the specified tag matches a tag set on the LV
  1140. # or VG.
  1141. # @*
  1142. # Selects an LV if a tag defined on the host is also set on the LV
  1143. # or VG. See tags/hosttags. If any host tags exist but volume_list
  1144. # is not defined, a default single-entry list containing '@*'
  1145. # is assumed.
  1146. #
  1147. # Example
  1148. # auto_activation_volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
  1149. #
  1150. # This configuration option does not have a default value defined.
  1151. # Configuration option activation/read_only_volume_list.
  1152. # LVs in this list are activated in read-only mode.
  1153. # If this list is defined, each LV that is to be activated is checked
  1154. # against this list, and if it matches, it is activated in read-only
  1155. # mode. This overrides the permission setting stored in the metadata,
  1156. # e.g. from --permission rw.
  1157. #
  1158. # Accepted values:
  1159. # vgname
  1160. # The VG name is matched exactly and selects all LVs in the VG.
  1161. # vgname/lvname
  1162. # The VG name and LV name are matched exactly and selects the LV.
  1163. # @tag
  1164. # Selects an LV if the specified tag matches a tag set on the LV
  1165. # or VG.
  1166. # @*
  1167. # Selects an LV if a tag defined on the host is also set on the LV
  1168. # or VG. See tags/hosttags. If any host tags exist but volume_list
  1169. # is not defined, a default single-entry list containing '@*'
  1170. # is assumed.
  1171. #
  1172. # Example
  1173. # read_only_volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
  1174. #
  1175. # This configuration option does not have a default value defined.
  1176. # Configuration option activation/raid_region_size.
  1177. # Size in KiB of each raid or mirror synchronization region.
  1178. # The clean/dirty state of data is tracked for each region.
  1179. # The value is rounded down to a power of two if necessary, and
  1180. # is ignored if it is not a multiple of the machine memory page size.
  1181. raid_region_size = 2048
  1182. # Configuration option activation/error_when_full.
  1183. # Return errors if a thin pool runs out of space.
  1184. # The --errorwhenfull option overrides this setting.
  1185. # When enabled, writes to thin LVs immediately return an error if the
  1186. # thin pool is out of data space. When disabled, writes to thin LVs
  1187. # are queued if the thin pool is out of space, and processed when the
  1188. # thin pool data space is extended. New thin pools are assigned the
  1189. # behavior defined here.
  1190. # This configuration option has an automatic default value.
  1191. # error_when_full = 0
  1192. # Configuration option activation/readahead.
  1193. # Setting to use when there is no readahead setting in metadata.
  1194. #
  1195. # Accepted values:
  1196. # none
  1197. # Disable readahead.
  1198. # auto
  1199. # Use default value chosen by kernel.
  1200. #
  1201. readahead = "auto"
  1202. # Configuration option activation/raid_fault_policy.
  1203. # Defines how a device failure in a RAID LV is handled.
  1204. # This includes LVs that have the following segment types:
  1205. # raid1, raid4, raid5*, and raid6*.
  1206. # If a device in the LV fails, the policy determines the steps
  1207. # performed by dmeventd automatically, and the steps perfomed by the
  1208. # manual command lvconvert --repair --use-policies.
  1209. # Automatic handling requires dmeventd to be monitoring the LV.
  1210. #
  1211. # Accepted values:
  1212. # warn
  1213. # Use the system log to warn the user that a device in the RAID LV
  1214. # has failed. It is left to the user to run lvconvert --repair
  1215. # manually to remove or replace the failed device. As long as the
  1216. # number of failed devices does not exceed the redundancy of the LV
  1217. # (1 device for raid4/5, 2 for raid6), the LV will remain usable.
  1218. # allocate
  1219. # Attempt to use any extra physical volumes in the VG as spares and
  1220. # replace faulty devices.
  1221. #
  1222. raid_fault_policy = "warn"
  1223. # Configuration option activation/mirror_image_fault_policy.
  1224. # Defines how a device failure in a 'mirror' LV is handled.
  1225. # An LV with the 'mirror' segment type is composed of mirror images
  1226. # (copies) and a mirror log. A disk log ensures that a mirror LV does
  1227. # not need to be re-synced (all copies made the same) every time a
  1228. # machine reboots or crashes. If a device in the LV fails, this policy
  1229. # determines the steps perfomed by dmeventd automatically, and the steps
  1230. # performed by the manual command lvconvert --repair --use-policies.
  1231. # Automatic handling requires dmeventd to be monitoring the LV.
  1232. #
  1233. # Accepted values:
  1234. # remove
  1235. # Simply remove the faulty device and run without it. If the log
  1236. # device fails, the mirror would convert to using an in-memory log.
  1237. # This means the mirror will not remember its sync status across
  1238. # crashes/reboots and the entire mirror will be re-synced. If a
  1239. # mirror image fails, the mirror will convert to a non-mirrored
  1240. # device if there is only one remaining good copy.
  1241. # allocate
  1242. # Remove the faulty device and try to allocate space on a new
  1243. # device to be a replacement for the failed device. Using this
  1244. # policy for the log is fast and maintains the ability to remember
  1245. # sync state through crashes/reboots. Using this policy for a
  1246. # mirror device is slow, as it requires the mirror to resynchronize
  1247. # the devices, but it will preserve the mirror characteristic of
  1248. # the device. This policy acts like 'remove' if no suitable device
  1249. # and space can be allocated for the replacement.
  1250. # allocate_anywhere
  1251. # Not yet implemented. Useful to place the log device temporarily
  1252. # on the same physical volume as one of the mirror images. This
  1253. # policy is not recommended for mirror devices since it would break
  1254. # the redundant nature of the mirror. This policy acts like
  1255. # 'remove' if no suitable device and space can be allocated for the
  1256. # replacement.
  1257. #
  1258. mirror_image_fault_policy = "remove"
  1259. # Configuration option activation/mirror_log_fault_policy.
  1260. # Defines how a device failure in a 'mirror' log LV is handled.
  1261. # The mirror_image_fault_policy description for mirrored LVs also
  1262. # applies to mirrored log LVs.
  1263. mirror_log_fault_policy = "allocate"
  1264. # Configuration option activation/snapshot_autoextend_threshold.
  1265. # Auto-extend a snapshot when its usage exceeds this percent.
  1266. # Setting this to 100 disables automatic extension.
  1267. # The minimum value is 50 (a smaller value is treated as 50.)
  1268. # Also see snapshot_autoextend_percent.
  1269. # Automatic extension requires dmeventd to be monitoring the LV.
  1270. #
  1271. # Example
  1272. # Using 70% autoextend threshold and 20% autoextend size, when a 1G
  1273. # snapshot exceeds 700M, it is extended to 1.2G, and when it exceeds
  1274. # 840M, it is extended to 1.44G:
  1275. # snapshot_autoextend_threshold = 70
  1276. #
  1277. snapshot_autoextend_threshold = 100
  1278. # Configuration option activation/snapshot_autoextend_percent.
  1279. # Auto-extending a snapshot adds this percent extra space.
  1280. # The amount of additional space added to a snapshot is this
  1281. # percent of its current size.
  1282. #
  1283. # Example
  1284. # Using 70% autoextend threshold and 20% autoextend size, when a 1G
  1285. # snapshot exceeds 700M, it is extended to 1.2G, and when it exceeds
  1286. # 840M, it is extended to 1.44G:
  1287. # snapshot_autoextend_percent = 20
  1288. #
  1289. snapshot_autoextend_percent = 20
  1290. # Configuration option activation/thin_pool_autoextend_threshold.
  1291. # Auto-extend a thin pool when its usage exceeds this percent.
  1292. # Setting this to 100 disables automatic extension.
  1293. # The minimum value is 50 (a smaller value is treated as 50.)
  1294. # Also see thin_pool_autoextend_percent.
  1295. # Automatic extension requires dmeventd to be monitoring the LV.
  1296. #
  1297. # Example
  1298. # Using 70% autoextend threshold and 20% autoextend size, when a 1G
  1299. # thin pool exceeds 700M, it is extended to 1.2G, and when it exceeds
  1300. # 840M, it is extended to 1.44G:
  1301. # thin_pool_autoextend_threshold = 70
  1302. #
  1303. thin_pool_autoextend_threshold = 100
  1304. # Configuration option activation/thin_pool_autoextend_percent.
  1305. # Auto-extending a thin pool adds this percent extra space.
  1306. # The amount of additional space added to a thin pool is this
  1307. # percent of its current size.
  1308. #
  1309. # Example
  1310. # Using 70% autoextend threshold and 20% autoextend size, when a 1G
  1311. # thin pool exceeds 700M, it is extended to 1.2G, and when it exceeds
  1312. # 840M, it is extended to 1.44G:
  1313. # thin_pool_autoextend_percent = 20
  1314. #
  1315. thin_pool_autoextend_percent = 20
  1316. # Configuration option activation/vdo_pool_autoextend_threshold.
  1317. # Auto-extend a VDO pool when its usage exceeds this percent.
  1318. # Setting this to 100 disables automatic extension.
  1319. # The minimum value is 50 (a smaller value is treated as 50.)
  1320. # Also see vdo_pool_autoextend_percent.
  1321. # Automatic extension requires dmeventd to be monitoring the LV.
  1322. #
  1323. # Example
  1324. # Using 70% autoextend threshold and 20% autoextend size, when a 10G
  1325. # VDO pool exceeds 7G, it is extended to 12G, and when it exceeds
  1326. # 8.4G, it is extended to 14.4G:
  1327. # vdo_pool_autoextend_threshold = 70
  1328. #
  1329. vdo_pool_autoextend_threshold = 100
  1330. # Configuration option activation/vdo_pool_autoextend_percent.
  1331. # Auto-extending a VDO pool adds this percent extra space.
  1332. # The amount of additional space added to a VDO pool is this
  1333. # percent of its current size.
  1334. #
  1335. # Example
  1336. # Using 70% autoextend threshold and 20% autoextend size, when a 10G
  1337. # VDO pool exceeds 7G, it is extended to 12G, and when it exceeds
  1338. # 8.4G, it is extended to 14.4G:
  1339. # This configuration option has an automatic default value.
  1340. # vdo_pool_autoextend_percent = 20
  1341. # Configuration option activation/mlock_filter.
  1342. # Do not mlock these memory areas.
  1343. # While activating devices, I/O to devices being (re)configured is
  1344. # suspended. As a precaution against deadlocks, LVM pins memory it is
  1345. # using so it is not paged out, and will not require I/O to reread.
  1346. # Groups of pages that are known not to be accessed during activation
  1347. # do not need to be pinned into memory. Each string listed in this
  1348. # setting is compared against each line in /proc/self/maps, and the
  1349. # pages corresponding to lines that match are not pinned. On some
  1350. # systems, locale-archive was found to make up over 80% of the memory
  1351. # used by the process.
  1352. #
  1353. # Example
  1354. # mlock_filter = [ "locale/locale-archive", "gconv/gconv-modules.cache" ]
  1355. #
  1356. # This configuration option is advanced.
  1357. # This configuration option does not have a default value defined.
  1358. # Configuration option activation/use_mlockall.
  1359. # Use the old behavior of mlockall to pin all memory.
  1360. # Prior to version 2.02.62, LVM used mlockall() to pin the whole
  1361. # process's memory while activating devices.
  1362. use_mlockall = 0
  1363. # Configuration option activation/monitoring.
  1364. # Monitor LVs that are activated.
  1365. # The --ignoremonitoring option overrides this setting.
  1366. # When enabled, LVM will ask dmeventd to monitor activated LVs.
  1367. monitoring = 1
  1368. # Configuration option activation/polling_interval.
  1369. # Check pvmove or lvconvert progress at this interval (seconds).
  1370. # When pvmove or lvconvert must wait for the kernel to finish
  1371. # synchronising or merging data, they check and report progress at
  1372. # intervals of this number of seconds. If this is set to 0 and there
  1373. # is only one thing to wait for, there are no progress reports, but
  1374. # the process is awoken immediately once the operation is complete.
  1375. polling_interval = 15
  1376. # Configuration option activation/auto_set_activation_skip.
  1377. # Set the activation skip flag on new thin snapshot LVs.
  1378. # The --setactivationskip option overrides this setting.
  1379. # An LV can have a persistent 'activation skip' flag. The flag causes
  1380. # the LV to be skipped during normal activation. The lvchange/vgchange
  1381. # -K option is required to activate LVs that have the activation skip
  1382. # flag set. When this setting is enabled, the activation skip flag is
  1383. # set on new thin snapshot LVs.
  1384. # This configuration option has an automatic default value.
  1385. # auto_set_activation_skip = 1
  1386. # Configuration option activation/activation_mode.
  1387. # How LVs with missing devices are activated.
  1388. # The --activationmode option overrides this setting.
  1389. #
  1390. # Accepted values:
  1391. # complete
  1392. # Only allow activation of an LV if all of the Physical Volumes it
  1393. # uses are present. Other PVs in the Volume Group may be missing.
  1394. # degraded
  1395. # Like complete, but additionally RAID LVs of segment type raid1,
  1396. # raid4, raid5, radid6 and raid10 will be activated if there is no
  1397. # data loss, i.e. they have sufficient redundancy to present the
  1398. # entire addressable range of the Logical Volume.
  1399. # partial
  1400. # Allows the activation of any LV even if a missing or failed PV
  1401. # could cause data loss with a portion of the LV inaccessible.
  1402. # This setting should not normally be used, but may sometimes
  1403. # assist with data recovery.
  1404. #
  1405. activation_mode = "degraded"
  1406. # Configuration option activation/lock_start_list.
  1407. # Locking is started only for VGs selected by this list.
  1408. # The rules are the same as those for volume_list.
  1409. # This configuration option does not have a default value defined.
  1410. # Configuration option activation/auto_lock_start_list.
  1411. # Locking is auto-started only for VGs selected by this list.
  1412. # The rules are the same as those for auto_activation_volume_list.
  1413. # This configuration option does not have a default value defined.
  1414. }
  1415. # Configuration section metadata.
  1416. # This configuration section has an automatic default value.
  1417. # metadata {
  1418. # Configuration option metadata/check_pv_device_sizes.
  1419. # Check device sizes are not smaller than corresponding PV sizes.
  1420. # If device size is less than corresponding PV size found in metadata,
  1421. # there is always a risk of data loss. If this option is set, then LVM
  1422. # issues a warning message each time it finds that the device size is
  1423. # less than corresponding PV size. You should not disable this unless
  1424. # you are absolutely sure about what you are doing!
  1425. # This configuration option is advanced.
  1426. # This configuration option has an automatic default value.
  1427. # check_pv_device_sizes = 1
  1428. # Configuration option metadata/record_lvs_history.
  1429. # When enabled, LVM keeps history records about removed LVs in
  1430. # metadata. The information that is recorded in metadata for
  1431. # historical LVs is reduced when compared to original
  1432. # information kept in metadata for live LVs. Currently, this
  1433. # feature is supported for thin and thin snapshot LVs only.
  1434. # This configuration option has an automatic default value.
  1435. # record_lvs_history = 0
  1436. # Configuration option metadata/lvs_history_retention_time.
  1437. # Retention time in seconds after which a record about individual
  1438. # historical logical volume is automatically destroyed.
  1439. # A value of 0 disables this feature.
  1440. # This configuration option has an automatic default value.
  1441. # lvs_history_retention_time = 0
  1442. # Configuration option metadata/pvmetadatacopies.
  1443. # Number of copies of metadata to store on each PV.
  1444. # The --pvmetadatacopies option overrides this setting.
  1445. #
  1446. # Accepted values:
  1447. # 2
  1448. # Two copies of the VG metadata are stored on the PV, one at the
  1449. # front of the PV, and one at the end.
  1450. # 1
  1451. # One copy of VG metadata is stored at the front of the PV.
  1452. # 0
  1453. # No copies of VG metadata are stored on the PV. This may be
  1454. # useful for VGs containing large numbers of PVs.
  1455. #
  1456. # This configuration option is advanced.
  1457. # This configuration option has an automatic default value.
  1458. # pvmetadatacopies = 1
  1459. # Configuration option metadata/vgmetadatacopies.
  1460. # Number of copies of metadata to maintain for each VG.
  1461. # The --vgmetadatacopies option overrides this setting.
  1462. # If set to a non-zero value, LVM automatically chooses which of the
  1463. # available metadata areas to use to achieve the requested number of
  1464. # copies of the VG metadata. If you set a value larger than the the
  1465. # total number of metadata areas available, then metadata is stored in
  1466. # them all. The value 0 (unmanaged) disables this automatic management
  1467. # and allows you to control which metadata areas are used at the
  1468. # individual PV level using pvchange --metadataignore y|n.
  1469. # This configuration option has an automatic default value.
  1470. # vgmetadatacopies = 0
  1471. # Configuration option metadata/pvmetadatasize.
  1472. # The default size of the metadata area in units of 512 byte sectors.
  1473. # The metadata area begins at an offset of the page size from the start
  1474. # of the device. The first PE is by default at 1 MiB from the start of
  1475. # the device. The space between these is the default metadata area size.
  1476. # The actual size of the metadata area may be larger than what is set
  1477. # here due to default_data_alignment making the first PE a MiB multiple.
  1478. # The metadata area begins with a 512 byte header and is followed by a
  1479. # circular buffer used for VG metadata text. The maximum size of the VG
  1480. # metadata is about half the size of the metadata buffer. VGs with large
  1481. # numbers of PVs or LVs, or VGs containing complex LV structures, may need
  1482. # additional space for VG metadata. The --metadatasize option overrides
  1483. # this setting.
  1484. # This configuration option does not have a default value defined.
  1485. # This configuration option has an automatic default value.
  1486. # Configuration option metadata/pvmetadataignore.
  1487. # Ignore metadata areas on a new PV.
  1488. # The --metadataignore option overrides this setting.
  1489. # If metadata areas on a PV are ignored, LVM will not store metadata
  1490. # in them.
  1491. # This configuration option is advanced.
  1492. # This configuration option has an automatic default value.
  1493. # pvmetadataignore = 0
  1494. # Configuration option metadata/stripesize.
  1495. # This configuration option is advanced.
  1496. # This configuration option has an automatic default value.
  1497. # stripesize = 64
  1498. # }
  1499. # Configuration section report.
  1500. # LVM report command output formatting.
  1501. # This configuration section has an automatic default value.
  1502. # report {
  1503. # Configuration option report/output_format.
  1504. # Format of LVM command's report output.
  1505. # If there is more than one report per command, then the format
  1506. # is applied for all reports. You can also change output format
  1507. # directly on command line using --reportformat option which
  1508. # has precedence over log/output_format setting.
  1509. # Accepted values:
  1510. # basic
  1511. # Original format with columns and rows. If there is more than
  1512. # one report per command, each report is prefixed with report's
  1513. # name for identification.
  1514. # json
  1515. # JSON format.
  1516. # This configuration option has an automatic default value.
  1517. # output_format = "basic"
  1518. # Configuration option report/compact_output.
  1519. # Do not print empty values for all report fields.
  1520. # If enabled, all fields that don't have a value set for any of the
  1521. # rows reported are skipped and not printed. Compact output is
  1522. # applicable only if report/buffered is enabled. If you need to
  1523. # compact only specified fields, use compact_output=0 and define
  1524. # report/compact_output_cols configuration setting instead.
  1525. # This configuration option has an automatic default value.
  1526. # compact_output = 0
  1527. # Configuration option report/compact_output_cols.
  1528. # Do not print empty values for specified report fields.
  1529. # If defined, specified fields that don't have a value set for any
  1530. # of the rows reported are skipped and not printed. Compact output
  1531. # is applicable only if report/buffered is enabled. If you need to
  1532. # compact all fields, use compact_output=1 instead in which case
  1533. # the compact_output_cols setting is then ignored.
  1534. # This configuration option has an automatic default value.
  1535. # compact_output_cols = ""
  1536. # Configuration option report/aligned.
  1537. # Align columns in report output.
  1538. # This configuration option has an automatic default value.
  1539. # aligned = 1
  1540. # Configuration option report/buffered.
  1541. # Buffer report output.
  1542. # When buffered reporting is used, the report's content is appended
  1543. # incrementally to include each object being reported until the report
  1544. # is flushed to output which normally happens at the end of command
  1545. # execution. Otherwise, if buffering is not used, each object is
  1546. # reported as soon as its processing is finished.
  1547. # This configuration option has an automatic default value.
  1548. # buffered = 1
  1549. # Configuration option report/headings.
  1550. # Show headings for columns on report.
  1551. # This configuration option has an automatic default value.
  1552. # headings = 1
  1553. # Configuration option report/separator.
  1554. # A separator to use on report after each field.
  1555. # This configuration option has an automatic default value.
  1556. # separator = " "
  1557. # Configuration option report/list_item_separator.
  1558. # A separator to use for list items when reported.
  1559. # This configuration option has an automatic default value.
  1560. # list_item_separator = ","
  1561. # Configuration option report/prefixes.
  1562. # Use a field name prefix for each field reported.
  1563. # This configuration option has an automatic default value.
  1564. # prefixes = 0
  1565. # Configuration option report/quoted.
  1566. # Quote field values when using field name prefixes.
  1567. # This configuration option has an automatic default value.
  1568. # quoted = 1
  1569. # Configuration option report/columns_as_rows.
  1570. # Output each column as a row.
  1571. # If set, this also implies report/prefixes=1.
  1572. # This configuration option has an automatic default value.
  1573. # columns_as_rows = 0
  1574. # Configuration option report/binary_values_as_numeric.
  1575. # Use binary values 0 or 1 instead of descriptive literal values.
  1576. # For columns that have exactly two valid values to report
  1577. # (not counting the 'unknown' value which denotes that the
  1578. # value could not be determined).
  1579. # This configuration option has an automatic default value.
  1580. # binary_values_as_numeric = 0
  1581. # Configuration option report/time_format.
  1582. # Set time format for fields reporting time values.
  1583. # Format specification is a string which may contain special character
  1584. # sequences and ordinary character sequences. Ordinary character
  1585. # sequences are copied verbatim. Each special character sequence is
  1586. # introduced by the '%' character and such sequence is then
  1587. # substituted with a value as described below.
  1588. #
  1589. # Accepted values:
  1590. # %a
  1591. # The abbreviated name of the day of the week according to the
  1592. # current locale.
  1593. # %A
  1594. # The full name of the day of the week according to the current
  1595. # locale.
  1596. # %b
  1597. # The abbreviated month name according to the current locale.
  1598. # %B
  1599. # The full month name according to the current locale.
  1600. # %c
  1601. # The preferred date and time representation for the current
  1602. # locale (alt E)
  1603. # %C
  1604. # The century number (year/100) as a 2-digit integer. (alt E)
  1605. # %d
  1606. # The day of the month as a decimal number (range 01 to 31).
  1607. # (alt O)
  1608. # %D
  1609. # Equivalent to %m/%d/%y. (For Americans only. Americans should
  1610. # note that in other countries%d/%m/%y is rather common. This
  1611. # means that in international context this format is ambiguous and
  1612. # should not be used.
  1613. # %e
  1614. # Like %d, the day of the month as a decimal number, but a leading
  1615. # zero is replaced by a space. (alt O)
  1616. # %E
  1617. # Modifier: use alternative local-dependent representation if
  1618. # available.
  1619. # %F
  1620. # Equivalent to %Y-%m-%d (the ISO 8601 date format).
  1621. # %G
  1622. # The ISO 8601 week-based year with century as adecimal number.
  1623. # The 4-digit year corresponding to the ISO week number (see %V).
  1624. # This has the same format and value as %Y, except that if the
  1625. # ISO week number belongs to the previous or next year, that year
  1626. # is used instead.
  1627. # %g
  1628. # Like %G, but without century, that is, with a 2-digit year
  1629. # (00-99).
  1630. # %h
  1631. # Equivalent to %b.
  1632. # %H
  1633. # The hour as a decimal number using a 24-hour clock
  1634. # (range 00 to 23). (alt O)
  1635. # %I
  1636. # The hour as a decimal number using a 12-hour clock
  1637. # (range 01 to 12). (alt O)
  1638. # %j
  1639. # The day of the year as a decimal number (range 001 to 366).
  1640. # %k
  1641. # The hour (24-hour clock) as a decimal number (range 0 to 23);
  1642. # single digits are preceded by a blank. (See also %H.)
  1643. # %l
  1644. # The hour (12-hour clock) as a decimal number (range 1 to 12);
  1645. # single digits are preceded by a blank. (See also %I.)
  1646. # %m
  1647. # The month as a decimal number (range 01 to 12). (alt O)
  1648. # %M
  1649. # The minute as a decimal number (range 00 to 59). (alt O)
  1650. # %O
  1651. # Modifier: use alternative numeric symbols.
  1652. # %p
  1653. # Either "AM" or "PM" according to the given time value,
  1654. # or the corresponding strings for the current locale. Noon is
  1655. # treated as "PM" and midnight as "AM".
  1656. # %P
  1657. # Like %p but in lowercase: "am" or "pm" or a corresponding
  1658. # string for the current locale.
  1659. # %r
  1660. # The time in a.m. or p.m. notation. In the POSIX locale this is
  1661. # equivalent to %I:%M:%S %p.
  1662. # %R
  1663. # The time in 24-hour notation (%H:%M). For a version including
  1664. # the seconds, see %T below.
  1665. # %s
  1666. # The number of seconds since the Epoch,
  1667. # 1970-01-01 00:00:00 +0000 (UTC)
  1668. # %S
  1669. # The second as a decimal number (range 00 to 60). (The range is
  1670. # up to 60 to allow for occasional leap seconds.) (alt O)
  1671. # %t
  1672. # A tab character.
  1673. # %T
  1674. # The time in 24-hour notation (%H:%M:%S).
  1675. # %u
  1676. # The day of the week as a decimal, range 1 to 7, Monday being 1.
  1677. # See also %w. (alt O)
  1678. # %U
  1679. # The week number of the current year as a decimal number,
  1680. # range 00 to 53, starting with the first Sunday as the first
  1681. # day of week 01. See also %V and %W. (alt O)
  1682. # %V
  1683. # The ISO 8601 week number of the current year as a decimal number,
  1684. # range 01 to 53, where week 1 is the first week that has at least
  1685. # 4 days in the new year. See also %U and %W. (alt O)
  1686. # %w
  1687. # The day of the week as a decimal, range 0 to 6, Sunday being 0.
  1688. # See also %u. (alt O)
  1689. # %W
  1690. # The week number of the current year as a decimal number,
  1691. # range 00 to 53, starting with the first Monday as the first day
  1692. # of week 01. (alt O)
  1693. # %x
  1694. # The preferred date representation for the current locale without
  1695. # the time. (alt E)
  1696. # %X
  1697. # The preferred time representation for the current locale without
  1698. # the date. (alt E)
  1699. # %y
  1700. # The year as a decimal number without a century (range 00 to 99).
  1701. # (alt E, alt O)
  1702. # %Y
  1703. # The year as a decimal number including the century. (alt E)
  1704. # %z
  1705. # The +hhmm or -hhmm numeric timezone (that is, the hour and minute
  1706. # offset from UTC).
  1707. # %Z
  1708. # The timezone name or abbreviation.
  1709. # %%
  1710. # A literal '%' character.
  1711. #
  1712. # This configuration option has an automatic default value.
  1713. # time_format = "%Y-%m-%d %T %z"
  1714. # Configuration option report/devtypes_sort.
  1715. # List of columns to sort by when reporting 'lvm devtypes' command.
  1716. # See 'lvm devtypes -o help' for the list of possible fields.
  1717. # This configuration option has an automatic default value.
  1718. # devtypes_sort = "devtype_name"
  1719. # Configuration option report/devtypes_cols.
  1720. # List of columns to report for 'lvm devtypes' command.
  1721. # See 'lvm devtypes -o help' for the list of possible fields.
  1722. # This configuration option has an automatic default value.
  1723. # devtypes_cols = "devtype_name,devtype_max_partitions,devtype_description"
  1724. # Configuration option report/devtypes_cols_verbose.
  1725. # List of columns to report for 'lvm devtypes' command in verbose mode.
  1726. # See 'lvm devtypes -o help' for the list of possible fields.
  1727. # This configuration option has an automatic default value.
  1728. # devtypes_cols_verbose = "devtype_name,devtype_max_partitions,devtype_description"
  1729. # Configuration option report/lvs_sort.
  1730. # List of columns to sort by when reporting 'lvs' command.
  1731. # See 'lvs -o help' for the list of possible fields.
  1732. # This configuration option has an automatic default value.
  1733. # lvs_sort = "vg_name,lv_name"
  1734. # Configuration option report/lvs_cols.
  1735. # List of columns to report for 'lvs' command.
  1736. # See 'lvs -o help' for the list of possible fields.
  1737. # This configuration option has an automatic default value.
  1738. # lvs_cols = "lv_name,vg_name,lv_attr,lv_size,pool_lv,origin,data_percent,metadata_percent,move_pv,mirror_log,copy_percent,convert_lv"
  1739. # Configuration option report/lvs_cols_verbose.
  1740. # List of columns to report for 'lvs' command in verbose mode.
  1741. # See 'lvs -o help' for the list of possible fields.
  1742. # This configuration option has an automatic default value.
  1743. # lvs_cols_verbose = "lv_name,vg_name,seg_count,lv_attr,lv_size,lv_major,lv_minor,lv_kernel_major,lv_kernel_minor,pool_lv,origin,data_percent,metadata_percent,move_pv,copy_percent,mirror_log,convert_lv,lv_uuid,lv_profile"
  1744. # Configuration option report/vgs_sort.
  1745. # List of columns to sort by when reporting 'vgs' command.
  1746. # See 'vgs -o help' for the list of possible fields.
  1747. # This configuration option has an automatic default value.
  1748. # vgs_sort = "vg_name"
  1749. # Configuration option report/vgs_cols.
  1750. # List of columns to report for 'vgs' command.
  1751. # See 'vgs -o help' for the list of possible fields.
  1752. # This configuration option has an automatic default value.
  1753. # vgs_cols = "vg_name,pv_count,lv_count,snap_count,vg_attr,vg_size,vg_free"
  1754. # Configuration option report/vgs_cols_verbose.
  1755. # List of columns to report for 'vgs' command in verbose mode.
  1756. # See 'vgs -o help' for the list of possible fields.
  1757. # This configuration option has an automatic default value.
  1758. # vgs_cols_verbose = "vg_name,vg_attr,vg_extent_size,pv_count,lv_count,snap_count,vg_size,vg_free,vg_uuid,vg_profile"
  1759. # Configuration option report/pvs_sort.
  1760. # List of columns to sort by when reporting 'pvs' command.
  1761. # See 'pvs -o help' for the list of possible fields.
  1762. # This configuration option has an automatic default value.
  1763. # pvs_sort = "pv_name"
  1764. # Configuration option report/pvs_cols.
  1765. # List of columns to report for 'pvs' command.
  1766. # See 'pvs -o help' for the list of possible fields.
  1767. # This configuration option has an automatic default value.
  1768. # pvs_cols = "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free"
  1769. # Configuration option report/pvs_cols_verbose.
  1770. # List of columns to report for 'pvs' command in verbose mode.
  1771. # See 'pvs -o help' for the list of possible fields.
  1772. # This configuration option has an automatic default value.
  1773. # pvs_cols_verbose = "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,dev_size,pv_uuid"
  1774. # Configuration option report/segs_sort.
  1775. # List of columns to sort by when reporting 'lvs --segments' command.
  1776. # See 'lvs --segments -o help' for the list of possible fields.
  1777. # This configuration option has an automatic default value.
  1778. # segs_sort = "vg_name,lv_name,seg_start"
  1779. # Configuration option report/segs_cols.
  1780. # List of columns to report for 'lvs --segments' command.
  1781. # See 'lvs --segments -o help' for the list of possible fields.
  1782. # This configuration option has an automatic default value.
  1783. # segs_cols = "lv_name,vg_name,lv_attr,stripes,segtype,seg_size"
  1784. # Configuration option report/segs_cols_verbose.
  1785. # List of columns to report for 'lvs --segments' command in verbose mode.
  1786. # See 'lvs --segments -o help' for the list of possible fields.
  1787. # This configuration option has an automatic default value.
  1788. # segs_cols_verbose = "lv_name,vg_name,lv_attr,seg_start,seg_size,stripes,segtype,stripesize,chunksize"
  1789. # Configuration option report/pvsegs_sort.
  1790. # List of columns to sort by when reporting 'pvs --segments' command.
  1791. # See 'pvs --segments -o help' for the list of possible fields.
  1792. # This configuration option has an automatic default value.
  1793. # pvsegs_sort = "pv_name,pvseg_start"
  1794. # Configuration option report/pvsegs_cols.
  1795. # List of columns to sort by when reporting 'pvs --segments' command.
  1796. # See 'pvs --segments -o help' for the list of possible fields.
  1797. # This configuration option has an automatic default value.
  1798. # pvsegs_cols = "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,pvseg_start,pvseg_size"
  1799. # Configuration option report/pvsegs_cols_verbose.
  1800. # List of columns to sort by when reporting 'pvs --segments' command in verbose mode.
  1801. # See 'pvs --segments -o help' for the list of possible fields.
  1802. # This configuration option has an automatic default value.
  1803. # pvsegs_cols_verbose = "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,pvseg_start,pvseg_size,lv_name,seg_start_pe,segtype,seg_pe_ranges"
  1804. # Configuration option report/vgs_cols_full.
  1805. # List of columns to report for lvm fullreport's 'vgs' subreport.
  1806. # See 'vgs -o help' for the list of possible fields.
  1807. # This configuration option has an automatic default value.
  1808. # vgs_cols_full = "vg_all"
  1809. # Configuration option report/pvs_cols_full.
  1810. # List of columns to report for lvm fullreport's 'vgs' subreport.
  1811. # See 'pvs -o help' for the list of possible fields.
  1812. # This configuration option has an automatic default value.
  1813. # pvs_cols_full = "pv_all"
  1814. # Configuration option report/lvs_cols_full.
  1815. # List of columns to report for lvm fullreport's 'lvs' subreport.
  1816. # See 'lvs -o help' for the list of possible fields.
  1817. # This configuration option has an automatic default value.
  1818. # lvs_cols_full = "lv_all"
  1819. # Configuration option report/pvsegs_cols_full.
  1820. # List of columns to report for lvm fullreport's 'pvseg' subreport.
  1821. # See 'pvs --segments -o help' for the list of possible fields.
  1822. # This configuration option has an automatic default value.
  1823. # pvsegs_cols_full = "pvseg_all,pv_uuid,lv_uuid"
  1824. # Configuration option report/segs_cols_full.
  1825. # List of columns to report for lvm fullreport's 'seg' subreport.
  1826. # See 'lvs --segments -o help' for the list of possible fields.
  1827. # This configuration option has an automatic default value.
  1828. # segs_cols_full = "seg_all,lv_uuid"
  1829. # Configuration option report/vgs_sort_full.
  1830. # List of columns to sort by when reporting lvm fullreport's 'vgs' subreport.
  1831. # See 'vgs -o help' for the list of possible fields.
  1832. # This configuration option has an automatic default value.
  1833. # vgs_sort_full = "vg_name"
  1834. # Configuration option report/pvs_sort_full.
  1835. # List of columns to sort by when reporting lvm fullreport's 'vgs' subreport.
  1836. # See 'pvs -o help' for the list of possible fields.
  1837. # This configuration option has an automatic default value.
  1838. # pvs_sort_full = "pv_name"
  1839. # Configuration option report/lvs_sort_full.
  1840. # List of columns to sort by when reporting lvm fullreport's 'lvs' subreport.
  1841. # See 'lvs -o help' for the list of possible fields.
  1842. # This configuration option has an automatic default value.
  1843. # lvs_sort_full = "vg_name,lv_name"
  1844. # Configuration option report/pvsegs_sort_full.
  1845. # List of columns to sort by when reporting for lvm fullreport's 'pvseg' subreport.
  1846. # See 'pvs --segments -o help' for the list of possible fields.
  1847. # This configuration option has an automatic default value.
  1848. # pvsegs_sort_full = "pv_uuid,pvseg_start"
  1849. # Configuration option report/segs_sort_full.
  1850. # List of columns to sort by when reporting lvm fullreport's 'seg' subreport.
  1851. # See 'lvs --segments -o help' for the list of possible fields.
  1852. # This configuration option has an automatic default value.
  1853. # segs_sort_full = "lv_uuid,seg_start"
  1854. # Configuration option report/mark_hidden_devices.
  1855. # Use brackets [] to mark hidden devices.
  1856. # This configuration option has an automatic default value.
  1857. # mark_hidden_devices = 1
  1858. # Configuration option report/two_word_unknown_device.
  1859. # Use the two words 'unknown device' in place of '[unknown]'.
  1860. # This is displayed when the device for a PV is not known.
  1861. # This configuration option has an automatic default value.
  1862. # two_word_unknown_device = 0
  1863. # }
  1864. # Configuration section dmeventd.
  1865. # Settings for the LVM event daemon.
  1866. dmeventd {
  1867. # Configuration option dmeventd/mirror_library.
  1868. # The library dmeventd uses when monitoring a mirror device.
  1869. # libdevmapper-event-lvm2mirror.so attempts to recover from
  1870. # failures. It removes failed devices from a volume group and
  1871. # reconfigures a mirror as necessary. If no mirror library is
  1872. # provided, mirrors are not monitored through dmeventd.
  1873. mirror_library = "libdevmapper-event-lvm2mirror.so"
  1874. # Configuration option dmeventd/raid_library.
  1875. # This configuration option has an automatic default value.
  1876. # raid_library = "libdevmapper-event-lvm2raid.so"
  1877. # Configuration option dmeventd/snapshot_library.
  1878. # The library dmeventd uses when monitoring a snapshot device.
  1879. # libdevmapper-event-lvm2snapshot.so monitors the filling of snapshots
  1880. # and emits a warning through syslog when the usage exceeds 80%. The
  1881. # warning is repeated when 85%, 90% and 95% of the snapshot is filled.
  1882. snapshot_library = "libdevmapper-event-lvm2snapshot.so"
  1883. # Configuration option dmeventd/thin_library.
  1884. # The library dmeventd uses when monitoring a thin device.
  1885. # libdevmapper-event-lvm2thin.so monitors the filling of a pool
  1886. # and emits a warning through syslog when the usage exceeds 80%. The
  1887. # warning is repeated when 85%, 90% and 95% of the pool is filled.
  1888. thin_library = "libdevmapper-event-lvm2thin.so"
  1889. # Configuration option dmeventd/thin_command.
  1890. # The plugin runs command with each 5% increment when thin-pool data volume
  1891. # or metadata volume gets above 50%.
  1892. # Command which starts with 'lvm ' prefix is internal lvm command.
  1893. # You can write your own handler to customise behaviour in more details.
  1894. # User handler is specified with the full path starting with '/'.
  1895. # This configuration option has an automatic default value.
  1896. # thin_command = "lvm lvextend --use-policies"
  1897. # Configuration option dmeventd/vdo_library.
  1898. # The library dmeventd uses when monitoring a VDO pool device.
  1899. # libdevmapper-event-lvm2vdo.so monitors the filling of a pool
  1900. # and emits a warning through syslog when the usage exceeds 80%. The
  1901. # warning is repeated when 85%, 90% and 95% of the pool is filled.
  1902. # This configuration option has an automatic default value.
  1903. # vdo_library = "libdevmapper-event-lvm2vdo.so"
  1904. # Configuration option dmeventd/vdo_command.
  1905. # The plugin runs command with each 5% increment when VDO pool volume
  1906. # gets above 50%.
  1907. # Command which starts with 'lvm ' prefix is internal lvm command.
  1908. # You can write your own handler to customise behaviour in more details.
  1909. # User handler is specified with the full path starting with '/'.
  1910. # This configuration option has an automatic default value.
  1911. # vdo_command = "lvm lvextend --use-policies"
  1912. # Configuration option dmeventd/executable.
  1913. # The full path to the dmeventd binary.
  1914. # This configuration option has an automatic default value.
  1915. # executable = "/sbin/dmeventd"
  1916. }
  1917. # Configuration section tags.
  1918. # Host tag settings.
  1919. # This configuration section has an automatic default value.
  1920. # tags {
  1921. # Configuration option tags/hosttags.
  1922. # Create a host tag using the machine name.
  1923. # The machine name is nodename returned by uname(2).
  1924. # This configuration option has an automatic default value.
  1925. # hosttags = 0
  1926. # Configuration section tags/<tag>.
  1927. # Replace this subsection name with a custom tag name.
  1928. # Multiple subsections like this can be created. The '@' prefix for
  1929. # tags is optional. This subsection can contain host_list, which is a
  1930. # list of machine names. If the name of the local machine is found in
  1931. # host_list, then the name of this subsection is used as a tag and is
  1932. # applied to the local machine as a 'host tag'. If this subsection is
  1933. # empty (has no host_list), then the subsection name is always applied
  1934. # as a 'host tag'.
  1935. #
  1936. # Example
  1937. # The host tag foo is given to all hosts, and the host tag
  1938. # bar is given to the hosts named machine1 and machine2.
  1939. # tags { foo { } bar { host_list = [ "machine1", "machine2" ] } }
  1940. #
  1941. # This configuration section has variable name.
  1942. # This configuration section has an automatic default value.
  1943. # tag {
  1944. # Configuration option tags/<tag>/host_list.
  1945. # A list of machine names.
  1946. # These machine names are compared to the nodename returned
  1947. # by uname(2). If the local machine name matches an entry in
  1948. # this list, the name of the subsection is applied to the
  1949. # machine as a 'host tag'.
  1950. # This configuration option does not have a default value defined.
  1951. # }
  1952. # }