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

Ãä´ç   
   Á¶È¸ 1215   Ãßõ 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 314/5590
2015-12   1035897   ¹é¸Þ°¡
2014-05   4483638   Á¤ÀºÁØ1
2022-11   838   ±èÇüÁØ1
2022-11   639   Æú¶ó¸®½º
2022-11   1500   °­Çѱ¸
2022-11   1438   ¯´Ô
2022-11   1393   °ú¾Ï
2022-11   1418   ±ä¸Ó¸®·çÀ̽º
2022-11   1491   ³ª¿ì¸¶Å©
2022-11   1319   ´Ïµå
2022-11   1083   epowergate
2022-11   747   cho609495
2022-11   1322   ¹«¹ýÀÚ
2022-11   726   ¿ä¸¦·¹ÀÌ
2022-11   1100   DAP¹ÚÀÎÈ£
2022-11   2468   º´¸ÀÆù
2022-11   1620   ½ÎÀÌÁ¦ÀÌ
2022-11   1740   ¼ÒÀ½±â
2022-11   1714   ¾öû³­x
2022-11   1773   ±è¹ÎöGC
2022-11   1524   VSPress
2022-11   799   Guineung