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

Ãä´ç   
   Á¶È¸ 1219   Ãßõ 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 324/5591
2015-12   1039578   ¹é¸Þ°¡
2014-05   4486942   Á¤ÀºÁØ1
2022-10   1110   ¿ä¸¦·¹ÀÌ
2022-10   2202   ³ª¿ì¸¶Å©
2022-10   1991   ´«¶áºÀ»ç
2022-10   1934   ¹Î°æ¿­
2022-10   1650   goodcarrot
2022-10   1344   ¹Î°æ¿­
2022-10   1174   langrisser
2022-10   1010   °û¼øÇö
2022-10   829   °í·¡1006
2022-10   888   ¹«½î»Ôó·³
2022-10   1998   2048
2022-10   1245   ¾ØµåÀ¯Àú
2022-10   1069   È­Á¤Å¥»ï
2022-10   1305   È­¶õ
2022-10   1412   CPU4
2022-10   1334   È︶
2022-10   836   ±¸½ÊÆò
2022-10   1401   TubeAmp
2022-10   1768   º´µû°³´Ô
2022-10   1052   Á¦·Î¿ø¼ÒÇÁÆ®