Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   lvm    ( 8 )

инструменты LVM2 (LVM2 tools)

Переменные окружения (Environment variables)

HOME   Directory containing .lvm_history if the internal readline
              shell is invoked.

LVM_OUT_FD File descriptor to use for common output from LVM commands.

LVM_ERR_FD File descriptor to use for error output from LVM commands.

LVM_REPORT_FD File descriptor to use for report output from LVM commands.

LVM_COMMAND_PROFILE Name of default command profile to use for LVM commands. This profile is overridden by direct use of --commandprofile command line option.

LVM_RUN_BY_DMEVENTD This variable is normally set by dmeventd plugin to inform lvm2 command it is running from dmeventd plugin so lvm2 takes some extra action to avoid communication and deadlocks with dmeventd.

LVM_SYSTEM_DIR Directory containing lvm.conf(5) and other LVM system files. Defaults to "/etc/lvm".

LVM_SUPPRESS_FD_WARNINGS Suppress warnings about unexpected file descriptors passed into LVM.

LVM_SUPPRESS_SYSLOG Suppress contacting syslog.

LVM_VG_NAME The Volume Group name that is assumed for any reference to a Logical Volume that doesn't specify a path. Not set by default.

LVM_LVMPOLLD_PIDFILE Path to the file that stores the lvmpolld process ID.

LVM_LVMPOLLD_SOCKET Path to the socket used to communicate with lvmpolld..

LVM_LOG_FILE_EPOCH A string of up to 32 letters appended to the log filename and followed by the process ID and a startup timestamp using this format string "_%s_%d_%llu". When set, each process logs to a separate file.

LVM_LOG_FILE_MAX_LINES If more than this number of lines are sent to the log file, the command gets aborted. Automated tests use this to terminate looping commands.

LVM_EXPECTED_EXIT_STATUS The status anticipated when the process exits. Use ">N" to match any status greater than N. If the actual exit status matches and a log file got produced, it is deleted. LVM_LOG_FILE_EPOCH and LVM_EXPECTED_EXIT_STATUS together allow automated test scripts to discard uninteresting log data.

LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES Used to suppress warning messages when the configured locking is known to be unavailable.

DM_ABORT_ON_INTERNAL_ERRORS Abort processing if the code detects a non-fatal internal error.

DM_DISABLE_UDEV Avoid interaction with udev. LVM will manage the relevant nodes in /dev directly.

DM_DEBUG_WITH_LINE_NUMBERS Prepends source file name and code line number with libdm debugging.