다음 일반적인 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을 사용한다.
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을 사용한다.