Re: Expanding a replicated volume

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

 





On 2 July 2015 at 18:35, Sjors Gielen <sjors@xxxxxxxxxxxxxx> wrote:
2015-07-02 14:25 GMT+02:00 Sjors Gielen <sjors@xxxxxxxxxxxxxx>:
At this point, /local/glustertest/stor1 is still filled on mallorca, and empty on hawaii (except for .glusterfs). Here is the actual question: how do I sync the contents of the two?

I found another way:  by doing a `du -hc /stor1` on mallorca, all files instantly appear on hawaii as well. Bizarrely, this only works when running `du` as root on Mallorca; running it as another user does give the correct output but does not make the files appear on Hawaii.

AFAIK there are two ways you can trigger the self-heal

1. Use the gluster CLI "heal" command. I'm not sure why it didn't work for you and needs to be investigated.

2. Running 'stat' on files on gluster volume mountpoint, So if you run stat on the entire mountpoint, the files should be properly synced across all the replica bricks.

*my two cents*

Cheers,
Vishwanath


Sjors

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

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

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

  Powered by Linux