On 02/04/2015 12:54 PM, yang.bin18 at zte.com.cn 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> > > ???: Pranith Kumar Karampuri _<pkarampu at redhat.com>_ > <mailto:pkarampu at redhat.com> > ???: _yang.bin18 at zte.com.cn_ <mailto:yang.bin18 at zte.com.cn>, > _gluster-users at gluster.org_ <mailto:gluster-users at gluster.org>, > ??: 2015/01/28 16:40 > ??: Re: [Gluster-users] replica position > ------------------------------------------------------------------------ > > > > > On 01/27/2015 02:43 PM, _yang.bin18 at zte.com.cn_ > <mailto:yang.bin18 at zte.com.cn>wrote: > > 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 at gluster.org_ <mailto:Gluster-users at gluster.org>_ > __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. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150204/463d1195/attachment.html>
<<<<<<<<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 at redhat.com>
???: yang.bin18 at zte.com.cn, gluster-users at gluster.org,
??: 2015/01/28 16:40
??: Re: [Gluster-users] replica position
On 01/27/2015 02:43 PM, yang.bin18 at zte.com.cn wrote:
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 at gluster.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.gluster.org/pipermail/gluster-users/attachments/20150204/fdeeb028/attachment.html>