Show Table of Contents
5.3. 단일 경로 장치에서 멀티패스 장치로 root 파일 시스템 이동
단일 경로 장치에 시스템을 설치하여 root 파일 시스템에 다른 경로를 나중에 추가하려면, root 파일 시스템을 멀티패스 장치로 이동해야 합니다. 다음 부분에서는 단일 경로에서 멀티패스 장치로 이동하는 방법에 대해 설명합니다.
device-mapper-multipath 패키지가 설치되어 있는지 확인한 후 다음 단계를 수행하십시오:
- 다음 명령을 실행하여
/etc/multipath.conf설정 파일을 생성합니다. 멀티패스 모듈을 로드하고multipathd의chkconfig를on으로 설정합니다:#
mpathconf --enablempathconf명령을 사용한 멀티패스 설정에 대한 보다 자세한 내용은 3.1절. “DM Multipath 설정 ”에서 참조하십시오. find_multipaths설정 매개 변수가yes로 설정되어 있지 않을 경우 4.2절. “설정 파일 블랙리스트 ”에 설명되어 있듯이/etc/multipath.conf파일의blacklist및blacklist_exceptions섹션을 편집합니다.- 장치가 감지되는 대로 root 장치에 멀티패스 장치를 구축하려면 다음 명령을 실행합니다. 이러한 명령을 실행하면 하나의 경로만 있을 경우에도
find_multipaths는 장치를 구축 허용합니다.#
multipath -a root_devname예를 들어 root 장치가/dev/sdb일 경우 다음 명령을 실행합니다.#
multipath -a /dev/sdbwwid '3600d02300069c9ce09d41c4ac9c53200' added - 설정 파일이 올바르게 설정되어 있는지 확인하려면
multipath명령을 실행하여 다음과 같은 포맷의 출력 결과 행을 검색합니다. 이는 명령이 멀티패스 장치 생성에 실패했음을 보여줍니다.date wwid: ignoring map
예를 들어 장치의 WWID가 3600d02300069c9ce09d41c4ac9c53200인 경우 다음과 같은 출력 결과가 표시됩니다:#
multipathOct 21 09:37:19 | 3600d02300069c9ce09d41c4ac9c53200: ignoring map multipath로initramfs파일 시스템을 다시 구축하려면 다음과 같은 옵션과 함께dracut명령을 실행합니다:#
dracut --force -H --add multipath- 컴퓨터를 종료합니다.
- FC 스위치를 설정하여 시스템에 다른 경로가 표시되게 합니다.
- 컴퓨터를 부팅합니다.
- root 파일 시스템 ('/')이 멀티패스 장치에 있는지 확인합니다.

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.