gluster ÆÄÀϽýºÅÛ Áú¹®ÀÔ´Ï´Ù.

Ãä´ç   
   Á¶È¸ 1222   Ãßõ 0    

안녕하세요.

웹서비스 용도로 2대 리플케이션으로 gluster 구축하여 사용중입니다.

액세스가 많을때  파일 편집 작업을하고 저장하면 저장이 안되고 0바이트로 될때가 있고 그런 현상이 있을때 스토리지2에 가면 파일이 정상적으로 있습니다. 때때로 파일이 사라졌다 다시 예전 파일로 복원이 되고 하는데 해결 방법이 있는지 궁금합니다.

gluster 7.9 버전 사용중입니다.

아래 구성 정보와 설정된 옵션입니다.


Volume Name: dist_vol

Type: Replicate

Volume ID: 32c666ab-9350-49c9-8682-364455e6498f

Status: Started

Snapshot Count: 0

Number of Bricks: 1 x 2 = 2

Transport-type: tcp

Bricks:

Brick1: storage1:/gludisk1

Brick2: storage2:/gludisk1

Options Reconfigured:

performance.strict-write-ordering: on

performance.cache-max-file-size: 2MB

features.cache-invalidation-timeout: 600

performance.qr-cache-timeout: 600

features.cache-invalidation: on

performance.cache-invalidation: on

performance.nl-cache-positive-entry: on

performance.nl-cache: on

network.inode-lru-limit: 100000

ctime.noatime: on

performance.readdir-ahead: on

performance.nfs.io-threads: on

performance.nfs.stat-prefetch: on

performance.nfs.quick-read: on

performance.nfs.io-cache: on

performance.nfs.read-ahead: on

nfs.outstanding-rpc-limit: 64

performance.cache-size: 10240MB

performance.io-thread-count: 64

transport.address-family: inet

storage.fips-mode-rchecksum: on

nfs.disable: on

performance.client-io-threads: on

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
°úºÎÇÏ·Î ½Ã°£Áö¿¬ÀÌ ÀÖÀ»¼öµµ ÀÖÀ»°Í °°½À´Ï´Ù.
gluster´Â config ²¿ÀÌ¸é º¹±¸ÇϱⰡ Èûµé¾î¼­ Á¶½É½º·´±äÇÕ´Ï´Ù.
°¡´ÉÇϽøé Å×½ºÆ®¸Ó½ÅÀ» µû·Î ±¸¼ºÇؼ­ »óȲÀ» ÀçÇöÀ» ÇϽÅÈÄ¿¡
¼³Á¤ Æ©´×°ªÀ» È®º¸ ÇÏ½Ã´Â°Ô ÁÁÀ»µí ÇÕ´Ï´Ù.

´ë±â½Ã°£ µû¸¥°Å¸é  ¾îµò°¡¿¡¼­ ÃÖÁ¾ Áý¿¡ ¾È°¡°í Áß°£ ij½ÌÇÏ°í ³î°í Àְųª, ÀÏ°ü¼ºÀ» ÀúÇØÇÏ´Â ¿äÀÎÀÌ ÀÖÀ»°Í °°½À´Ï´Ù.
fuse native ·Î ¸¶¿îÆ® ÇϽŰŸé test·Î direct·Î no cache·Î Çغ¸½Ã°Å³ª, ÀÌ·²°æ¿ì ¼Óµµ°¡ Å©°Ô ÀúÇϵɼöµµ ÀÖÀ»°Í °°½À´Ï´Ù.
¾Æ´Ï¸é nfs·Î ¹Ù²Ù¾î¼­ Çغ¸½Ã´Â°Ô ÁÁÀ»°Íµµ °°½À´Ï´Ù.  <= ±ÇÀå

¹æ¹ý1) ´ë±â ½Ã°£ Áö¿¬ ¾ø¾Ö±â  (native fuse mount½Ã)
0 . mount  direct-io-mode=enable
1. direct-io-mode=enable   
2. enable performance.strict-o-direct
3. disable network.remote-dio

¹æ¹ý2) native¸»°í NFS È°¼ºÈ­Çؼ­ ¾²´Â ¹æ¹ý
     
Ãä´ç 2022-10
´äº¯ °¨»çµå¸³´Ï´Ù~


QnA
Á¦¸ñPage 3/5592
2014-05   4489088   Á¤ÀºÁØ1
2015-12   1041657   ¹é¸Þ°¡
2022-09   764   ÀÌâÁØ
2021-02   6100   ûÃá
2014-01   5861   ±Ù¼º°¡ÀÌ
2021-02   1830   Psychophysi¡¦
2015-05   4359   ³ë°¡¸®°­Ãß
2018-09   3418   evoker
2022-09   657   RHNS
2021-02   3098   Á¤ÀºÁØ1
2011-09   6346   ±Ç¼ø±Ô
2016-07   4528   Å볪¹«
2018-10   3682   Çϼ¿È£ÇÁ
2021-02   7417   ¾Æ¸¶µ¥¿ì¾²
2014-01   7662   ÀÌÁöÆ÷Åä
2022-10   1223   Ãä´ç
2014-02   4397   ¹Ú
2021-03   2994   langrisser
2016-07   4473   ±ÇÈñ¼®
2022-10   1485   asvx
2015-06   5649   izegtob
2019-12   2353   º£Å©¸¸