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

Ãä´ç   
   Á¶È¸ 1213   Ãßõ 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 4/5590
2015-12   1031988   ¹é¸Þ°¡
2014-05   4480439   Á¤ÀºÁØ1
2021-02   6084   ûÃá
2008-02   5293   À¯¿µ±Ù
2008-02   5027   Á¶ÀçÇö
2005-05   5723   ¿ÀÀçÈ£
2016-06   7490   À嵿°Ç2014
2002-05   19555   Á¤Àιè
2014-01   5858   ±Ù¼º°¡ÀÌ
2021-02   1828   Psychophysi¡¦
2008-03   7223   ±è¿ë¼ö_
2015-05   4355   ³ë°¡¸®°­Ãß
2018-09   3413   evoker
2022-09   650   RHNS
2021-02   3096   Á¤ÀºÁØ1
2011-09   6344   ±Ç¼ø±Ô
2016-07   4524   Å볪¹«
2005-05   7566   ±èºÎ°â
2018-10   3676   Çϼ¿È£ÇÁ
2021-02   7400   ¾Æ¸¶µ¥¿ì¾²
2008-04   7368   À±³²¼ö
2014-01   7659   ÀÌÁöÆ÷Åä