로그인
Sign in
다음 일반적인 LVM error message들이다.

1. A disk is not physically accessible
# vgdisplay –v

vgdisplay: Warining: couldn’t query physical volume
“/dev/dsk/c0t4d0”:

The specified path does not correspond to physical volume attached to this volume group

vgdisplay: Warning: couldn’t query all of the physical volumes

vgcfgrestore 명령으로 이를 고치거나 교체하거나 재설정 할 수 있다.
vgreduce –f vgname 명령으로 missing physical volume들을 volume group과 그 구성 정보에서 제거 할 수 있다.

2. This often occurs if a disk has been incorrectly removed form a volume group
vgdisplay: Warning: couldn’t query physical volume “ ”:

The specified path does not correspond to physical volume attached to this volume group

vgdisplay: Warning: couldn’t query all of the physical volumes

vgreduce –f 명령을 사용하거나, last resort로서 volume group을 vgexport와 vgimport 명령을 사용할 수 있다. 만약 root volume group이라면, vgexport 명령을 사용하기 전에 LVM maintenance mode로 booting 하여야 한다.

3. This often indicates that the /etc/lvmtab file is corrupt or missing
vgdisplay –v
vgdisplay: /etc/lvmtab: No such file or directory

vgdisplay: No volume group name could be read from “/etc/lvmtab”.

vgscan 명령을 사용하여 /etc/lvmtab file을 다시 생성할 수 있다.

4. kernel LVM table과 /etc/lvmtab file 일치하지 않는 경우
# lvcreate –L 500 –n kjb /dev/vg00

Logical volume “/dev/vg00/kjb” has been successfully created with character device “/dev/vg00/rkjb”.

Logical volume “/dev/vg00/kjb” has been successfully extended.

vgcfgbackup: /etc/lvmtab is not of date with the running kernel:
Kernel indicated 4 disks for “/dev/vg00”; /etc/lvmtab has 3 disks.

Cannot proceed with backup.

vgscan 명령을 사용하여 수정할 수 있다.

5. /etc/lvmtab file과 disk의 LVM headers가 일치하지 않는 경우
# vgchange –a y /dev/vg01

vgchange: Warning: Couldn’t attach to the volume group physical volume “/dev/dsk/c0t4d0”

:Cross-device link

vgchange: Warining: couldn’t query physical volume
“/dev/dsk/c0t4d0”:

The specified path does not correspond to physical volume attached to this volume group

vgchange: Warning: couldn’t query all of the physical volumes.

PVRA 또는 VGRA corruption이 발생하였을 때 종종 발생한다.
/etc/lvmtab 내용이 정상적이라면 vgcfgrestore명령을, 그렇지 않다면 vgscan 명령으로 복구 할 수 있다.

6. 정족수를 채우지 못하는 경우
# vgchange –a y /dev/vg01
Couldn’t activate volume group “/dev/vg01”: Quorum not present,
or some physical volume(s) are missing.

missing physical volume을 복구한 후 필요하다면, vgcfgrestore명령을 사용하여 LVM header들을 복구. 한편 임시 방편으로 quorum check를 무시하려면, vgchange –a y –q n option을 사용한다.

조회 수 :
1387
추천 수 :
8 / 0
등록일 :
2008.10.24
11:16:49 (*.236.3.225)
엮인글 :
http://bestceok.com/xe/index.php?mid=unix_com&document_srl=2811&act=trackback&key=339
게시글 주소 :
http://bestceok.com/xe/index.php?mid=unix_com&document_srl=2811
List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 자주 사용하는 명령어 제비게릴라 2019-06-27 179
152 hpacucli 사용법 하록 2010-04-08 3141
151 vsftpd home 접근제어... 하록 2010-04-02 470
150 파일 시스템이 read only 로 마운트 됐을때... 하록 2010-01-27 689
149 ping으로 서버 운영체제 알기... 하록 2009-12-17 498
148 q4 분석 방법 하록 2009-07-10 475
147 cannot restore segment prot after reloc: Permission denied 해결 방법 하록 2009-04-16 1486
146 xxxx.src.rpm 빌드하는 방법 하록 2009-04-09 488
145 ethtool 설정 옵션... [2] 하록 2009-03-19 1033
144 HP-UX 11.00 시스템에서 이전 패치 제거 하록 2009-03-18 874
143 HPUX 커널 설명... file 하록 2009-03-17 440
142 Oracle 8i와 9i Startup 방법 하록 2008-10-30 930
141 ndd 설정값 확인 하록 2008-10-29 619
» LVM Error 메세지 별 해결 방법 하록 2008-10-24 1387
139 vgexport와 vgimport 설명 하록 2008-10-22 1984
138 Netapp Disk Array 메세지 확인 법 하록 2008-10-15 615
137 리눅스 스왑 생성 하록 2008-10-09 561
136 System 온도가 OVERTEMP CRITICAL일때 root mail 등으로 경고 메세지를 받고자 합니다. 하록 2008-09-09 897
135 RP 7410의 overtemp range 하록 2008-09-09 890
134 HPUX 11i Version 정보... 하록 2008-08-20 2568
133 Port Scan Source... 하록 2008-08-01 609