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

Ãä´ç   
   Á¶È¸ 1234   Ãßõ 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 330/5596
2015-12   1052266   ¹é¸Þ°¡
2014-05   4499991   Á¤ÀºÁØ1
2022-10   1250   ¾ØµåÀ¯Àú
2022-10   1077   È­Á¤Å¥»ï
2022-10   1320   È­¶õ
2022-10   1471   CPU4
2022-10   1358   È︶
2022-10   848   ±¸½ÊÆò
2022-10   1437   TubeAmp
2022-10   1781   º´µû°³´Ô
2022-10   1064   Á¦·Î¿ø¼ÒÇÁÆ®
2022-10   1230   ³×¾²Æ®
2022-10   1611   Çǹö²Ù
2022-10   1995   ½á¸°ÀÌ
2022-10   1777   °­¾ÆÁö¾¾
2022-10   1338   ¿ä¸¦·¹ÀÌ
2022-10   1331   ¹üÀÌ´Ô
2022-10   944   Àϸ®ÄÉ
2022-10   799   ³×¾²Æ®
2022-10   1960   ¶¥ºÎÀÚ
2022-10   808   FreeBSD
2022-10   856   dogbull