Red Hat Training

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

5.4. Multipath Command Output

멀티패스 장치를 생성, 수정, 나열할 때, 현재 장치 설정의 출력 결과를 얻을 수 있습니다. 포맷은 다음과 같습니다.
각각의 멀티패스 장치의 경우:
 action_if_any: alias (wwid_if_different_from_alias) [size][features][hardware_handler]
각각의 경로 그룹의 경우:
\_ scheduling_policy [path_group_priority_if_known] [path_group_status_if_known]
각각의 경로의 경우:
\_ host:channel:id:lun devnode major:minor [path_status] [dm_status_if_known]
예를 들어, multipath 명령의 출력 결과는 다음과 같이 나타나게 됩니다:
mpath1 (3600d0230003228bc000339414edb8101) [size=10 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [prio=1][active]
 \_ 2:0:0:6 sdb 8:16 [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ 3:0:0:6 sdc 8:64 [active][ready]
경로가 활성화되어 I/O 준비가 되면, ready 또는 active 상태로 나타나게 됩니다. 경로가 비활성화되면, faulty 또는 failed 상태가 됩니다. 경로 상태는 /etc/multipath.conf 파일에 지정된 간격에 따라 multipathd 데몬에 의해 주기적으로 업데이트됩니다.
The dm status is similar to the path status, but from the kernel's point of view. The dm status has two states: failed, which is analogous to faulty, and active which covers all other path states. Occasionally, the path state and the dm state of a device will temporarily not agree.

참고

멀티패스 장치가 생성되거나 수정될 때, 경로 그룹 상태 및 dm 상태는 나타나지 않게 되며, 기능 또한 올바르지 않게 됩니다. 멀티패스 장치가 나열되면, 경로 그룹 우선 순위는 나타나지 않게 됩니다.