Re: {Probably Spam} Re: replica position

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

 



I am top posting here because it is becoming very difficult to work out the message thread below.

I would say that trying to change the way a tool works because you want to use the tool incorrectly is not the best approach.

If you want to use a gluster volume to make a backup of a file, and that you want that backup to be on a different server (which is sensible), you should make sure that the original file is not on the same machine as one of the bricks.

Either that, or set up your gluster volume to have replicas.

Cheers,
Kingsley.

On Wed, 2015-02-04 at 15:44 +0800, yang.bin18@xxxxxxxxxx wrote:







<<<<<<<<example: brick A ,brick B,brick C compose one volume

<<<<<<<<When client(fuse) in brick A write data into volume,for some reason ,we want the data  wrote into brick B or brick C.
<<<<<<<When a write is performed from a fuse mount, the response will not come until the write happens on A, B, C. Order of the bricks does not matter.
   
Pranith

<<<<<<If the  volume is configured to has only one replica or the volume is a DHT one?
<<<<<Then the bricks are not in replication. Do you want to change the position of the bricks?
      Pranith
   
<<<<For simplification,let`s suppose it being a DHT volume with three bricks,there is no replica.When client(fuse) in brick A write data into volume,for some reason ,we want the data  wrote into brick B or brick C.
<<<If it is DHT volume, then the data of the files will be residing either in brick A, B, or C based on the hash of the filename and layout of the directory not on all of the bricks A, B, C. Only the directories are created on all the bricks A, B, C.

Pranith
<<For  safty thinking ,we  want the data will be directed to any brick except brick A.
      <It depends on the hash the filename generates. It may very well end up on brick-A. What is the usecase you want to address?
Pranith
       We have some data in one disk of node (brick A),and want to put the backup of the data into glusterfs.


发件人:         Pranith Kumar Karampuri <pkarampu@xxxxxxxxxx>
收件人:         yang.bin18@xxxxxxxxxx,gluster-users@xxxxxxxxxxx,
日期:         2015/01/28 16:40
主题:        Re: replica position






On 01/27/2015 02:43 PM, yang.bin18@xxxxxxxxxxwrote:

Hi,

Can the replica position be configured ?
Could you give an example?

Pranith

Regards.

Bin.Yang










--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.





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



--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.






--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.






--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.






--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.






--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.


_______________________________________________
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