Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4장. The DM Multipath Configuration File

By default, DM Multipath provides configuration values for the most common uses of multipathing. In addition, DM Multipath includes support for the most common storage arrays that themselves support DM Multipath. For information on the default configuration values, including supported devices, run either of the following commands.
# multipathd show config
# multipath -t 
You can override the default configuration values for DM Multipath by editing the /etc/multipath.conf configuration file. If necessary, you can also add a storage array that is not supported by default to the configuration file.

참고

You can run set up multipathing in the initramfs file system. If you run multipath from the initramfs file system and you make any changes to the multipath configuration files, you must rebuild the initramfs file system for the changes to take effect. For information on rebuilding the initramfs file system with multipath, see 3.4절. “Setting Up Multipathing in the initramfs File System”.
This chapter provides information on parsing and modifying the multipath.conf file. It contains sections on the following topics:
  • 설정 파일 개요
  • 설정 파일 블랙리스트
  • 설정 파일 기본값
  • 설정 파일 멀티패스
  • 설정 파일 장치
In the multipath configuration file, you need to specify only the sections that you need for your configuration, or that you wish to change from the default values. If there are sections of the file that are not relevant to your environment or for which you do not need to override the default values, you can leave them commented out, as they are in the initial file.
설정 파일에서는 정규 표현식 기술 구문을 허용합니다.
Further information about the configuration file can be found on the multipath.conf(5) man page.

4.1. 설정 파일 개요

멀티패스 설정 파일은 다음과 같은 부분으로 나뉘어져 있습니다:
blacklist
Listing of specific devices that will not be considered for multipath.
blacklist_exceptions
블랙리스트 부분의 매개 변수에 따라 블랙리스트될 수 있는 멀티패스 후보 목록.
defaults
General default settings for DM Multipath.
multipaths
개별적 멀티패스 장치의 특성 설정. 이러한 값은 설정 파일의 defaultsdevices에서 지정된 값을 덮어쓰기 합니다.
devices
개별적 저장 장치 제어기 설정. 이러한 값은 설정 파일의 defaultsdevices에서 지정된 값을 덮어쓰기 합니다. 기본값으로 지원도지 않는 저장 장치 배열을 사용하고 있을 경우, 배열에 해당하는 devices 하부 섹션을 생성해야 할 수 도 있습니다.
When the system determines the attributes of a multipath device, first it checks the multipath settings, then the devices settings, then the multipath system defaults.