Gro-replication may fail after using glfsapi to create and write a file with gluster3.7.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I did some experiments on geo-replication.

# gluster volume info
Source site:
Volume Name: source
Type: Disperse
Volume ID: 1b6f0353-b4f2-4a1e-9f4a-157e90dafc07
Status: Started
Number of Bricks: 1 x (2 + 1) = 3
Transport-type: tcp
Bricks:
Brick1: giting1:/export/sor_bk1/fs
Brick2: giting2:/export/sor_bk2/fs
Brick3: giting3:/export/sor_bk3/fs
Options Reconfigured:
performance.readdir-ahead: on
geo-replication.indexing: on
geo-replication.ignore-pid-check: on
changelog.changelog: on

Target site:
Volume Name: target
Type: Disperse
Volume ID: eec13159-5a3a-4e64-a89a-81185e8bbdbf
Status: Started
Number of Bricks: 1 x (2 + 1) = 3
Transport-type: tcp
Bricks:
Brick1: giting4:/export/tar_bk1/fs
Brick2: giting5:/export/tar_bk2/fs
Brick3: giting6:/export/tar_bk3/fs
Options Reconfigured:
performance.readdir-ahead: on

To begin with, the first step is to use the georepsetup succeeded to create a geo-replication.

MASTER NODE    MASTER VOL    MASTER BRICK          SLAVE USER    SLAVE                    SLAVE NODE    STATUS     CRAWL STATUS       LAST_SYNCED
--------------------------------------------------------------------------------------------------------------------------------------------------------
giting1        source        /export/sor_bk1/fs    root          ssh://giting4::target    giting6       Active     Changelog Crawl    2016-07-26 17:13:54
giting3        source        /export/sor_bk3/fs    root          ssh://giting4::target    giting4       Passive    N/A                N/A
giting2        source        /export/sor_bk2/fs    root          ssh://giting4::target    giting5       Passive    N/A                N/A

Next, we can compare two way, 'fuse' and 'glfsapi', to create and write a file.
In the beginning of the experiment by using 'fuse' to create and write a file, it work well.

By using 'glfsapi' to create and write a file, it failed with following message.

Source site log:
[2016-07-26 09:35:44.886520] E [fuse-bridge.c:3374:fuse_xattr_cbk] 0-glusterfs-fuse: extended attribute not supported by the backend storage

Target site log:
[2016-07-26 09:35:45.177060] E [MSGID: 122065] [ec-common.c:961:ec_prepare_update_cbk] 0-target-disperse-0: Unable to get config xattr [No data available]
[2016-07-26 09:35:45.219461] E [MSGID: 122034] [ec-common.c:461:ec_child_select] 0-target-disperse-0: Insufficient available childs for this request (have 0, need 2)
[2016-07-26 09:35:45.219496] W [MSGID: 122040] [ec-common.c:919:ec_prepare_update_cbk] 0-target-disperse-0: Failed to get size and version [Input/output error]
[2016-07-26 09:35:45.228818] W [fuse-bridge.c:709:fuse_truncate_cbk] 0-glusterfs-fuse: 64: FTRUNCATE() ERR => -1 (Input/output error)
The message "E [MSGID: 122065] [ec-common.c:961:ec_prepare_update_cbk] 0-target-disperse-0: Unable to get config xattr [No data available]" repeated 3 times between [2016-07-26 09:35:45.177060] and [2016-07-26 09:35:45.230205]

Thanks
Giting

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux