Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
6장. LVM 문제 해결
다음 부분에서는 다양한 LVM 문제를 해결하는 방법에 대해 다루고 있습니다.
6.1. 문제 해결 진단
명령이 예상했던 데로 작동하지 않을 경우, 다음과 같은 방법으로 진단할 수 있습니다:
- 상세한 출력 결과를 얻기 위해 명령에
-v
,-vv
,-vvv
,-vvvv
인수를 사용합니다. - If the problem is related to the logical volume activation, set 'activation = 1' in the 'log' section of the configuration file and run the command with the
-vvvv
argument. After you have finished examining this output be sure to reset this parameter to 0, to avoid possible problems with the machine locking during low memory situations. - 진단 목적으로 정보 덤프를 제공하는
lvmdump
명령을 실행합니다. 자세한 내용은lvmdump
(8) 맨 페이지에서 참조하시기 바랍니다. - 추가 시스템 정보를 위해
lvs -v
,pvs -a
,dmsetup info -c
명령을 실행합니다. /etc/lvm/backup
파일에서 메타 데이터의 마지막 백업을/etc/lvm/archive
파일에서는 아카이브된 버전을 검사합니다.lvm dumpconfig
명령을 실행하여 최신 설정 정보를 확인합니다.- 어떤 장치에 물리 볼륨이 있는 지에 대한 기록을 알기 위해
/etc/lvm
디렉토리에서.cache
파일을 확인합니다.