Show Table of Contents
5.9. multipath 명령을 사용한 Multipath 쿼리
multipath 명령의 -l 및 -ll 옵션을 사용하여 현재 멀티패스 설정 상태를 볼 수 있습니다. -l 옵션으로 sysfs 및 장치 맵퍼에 있는 정보가 수집된 멀티패스 토폴로지를 볼 수 있습니다. -ll 옵션으로는 -l 옵션으로 볼 수 있는 정보와 함께 사용 가능한 기타 다른 시스템 구성 요소를 볼 수 있습니다.
멀티패스 설정 보기를 할 때,
multipath 명령의 -v 옵션으로 지정할 수 있는 세 가지 레벨의 상세 보기가 있습니다. -v0 옵션을 지정하면 아무런 출력 결과를 얻지 못하게 됩니다. -v1 옵션으로는 생성되거나 업데이트된 멀티패스 이름만을 출력하게 되어, kpartx와 같은 다른 도구에 사용할 수 있습니다. -v2 옵션을 지정하면 검색된 모든 경로, 멀티패스, 장치 맵을 출력하게 됩니다.
다음의 예는
multipath -l 명령의 출력 결과를 보여주고 있습니다.
# multipath -l
3600d0230000000000e13955cc3757800 dm-1 WINSYS,SF2372
size=269G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 6:0:0:0 sdb 8:16 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 7:0:0:0 sdf 8:80 active ready running
다음의 예는
multipath -ll 명령의 출력 결과를 보여주고 있습니다.
# multipath -ll
3600d0230000000000e13955cc3757801 dm-10 WINSYS,SF2372
size=269G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 19:0:0:1 sdc 8:32 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 18:0:0:1 sdh 8:112 active ready running
3600d0230000000000e13955cc3757803 dm-2 WINSYS,SF2372
size=125G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 19:0:0:3 sde 8:64 active ready running
`- 18:0:0:3 sdj 8:144 active ready running
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.