1. use_lvmetad ¼³Á¤ ±ÇÀå ³»¿ë
- ´Ù¿ø¿¡¼
/etc/lvm/lvm.conf ÆÄÀϳ» use_lvmetad ¼³Á¤À» 0 À» ±ÇÀåÇÑ´Ù°íÇÕ´Ï´Ù.
. ±×ÀÌÀ¯´Â
use_lvmetad=1·Î µÇ¾îÀÖÀ» ½Ã Resource ¿¡ µé¾îÀÖ´Â LVM ÆÄÀϽýºÅÛÀÌ Áõ¼³ ¹× Ãß°¡µîÀÌ ¹ß»ýµÇ¾î
node1°ú node2°¡ Á¤º¸°¡ ¸¹Áö ¾ÊÀ¸¸é, Failover°¡ µÇÁö ¾Ê´Â»óÅ°¡
»ý±â±â ¶§¹®ÀÔ´Ï´Ù. ¿¡·¯¸Þ¼¼Áöµµ Ãâ·ÂÀ̵DZ¸¿ä.
[Error message]
[root@steeleye01 ~]#
lvscan
WARNING: Not using
lvmetad because config setting use_lvmetad=0.
WARNING: To avoid
corruption, rescan devices to make changes visible (pvscan --cache).
ACTIVE
'/dev/vg_data/lv_data' [<5.00 GiB] inherit
2. use_lvmetad ¼³Á¤ º¯°æ ¼ø¼
- ±×·¸´Ù¸é Ȥ,
use_lvmetad=1·Î ÇÏ°í ¼³Ä¡ÇßÀ»¶§, ¾î¶»°Ô ÀýÂ÷·Î use_lvmetad=0À¸·Î ÇؾßÇϳª¿ä?
1) ½ºÆ¿¾ÆÀÌ ¼ºñ½º¸¦ ³»¸°´Ù. ¸ðµÎ
# lkstop
2) lvm.conf ¼öÁ¤
use_lvmetad=1
===> use_lvmetad=0
3) lvmetad ¼ºñ½º stop & disabled
# systemctl
stop lvm2-lvmetad
# systemctl
disable lvm2-lvmetad
4) lvscan À¸·Î È®ÀÎ (LK ¼ºñ½ºÀü)
[root@steeleye01 ~]# lvscan
Volume group vg_data is exported
=> ¸µÅ© https://access.redhat.com/solutions/2053483
3. Ãß°¡³»¿ë
- ¿Â¶óÀÎÀ¸·Î º¯°æ½Ã ¿¡·¯¸Þ¼¼Áö Ãâ·ÂµÇ¸ç, ¹®Á¦°¡ µÉ ¼ö ÀÖÀ½