°Ô½Ã¹° 32°Ç
 
[½ºÆ¿¾ÆÀÌ] LVM ¼³Á¤ use_lvmetad
±Û¾´ÀÌ : theko ³¯Â¥ : 2019-08-28 (¼ö) 16:48 Á¶È¸ : 3953

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. Ãß°¡³»¿ë

  - ¿Â¶óÀÎÀ¸·Î º¯°æ½Ã ¿¡·¯¸Þ¼¼Áö Ãâ·ÂµÇ¸ç, ¹®Á¦°¡ µÉ ¼ö ÀÖÀ½


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
 

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com