[Bugs] [Bug 1517260] Volume wrong size
bugzilla at redhat.com
bugzilla at redhat.com
Tue Dec 5 09:12:30 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1517260
Nithya Balachandran <nbalacha at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nbalacha at redhat.com
--- Comment #4 from Nithya Balachandran <nbalacha at redhat.com> ---
(In reply to david from comment #0)
> Hi,
> I have a volume replica 3 distributed in 3 servers, the 3 severs have the
> same version (3.12.3) and the same SO (Ubuntu 16.04.1), each server has
> three bricks and I used this command to create the volume:
>
> gluster volume create volume1 replica 3 transport tcp
> ubuntu1:/work/work1/test-storage1 ubuntu1:/work/work2/test-storage2
> ubuntu1:/work/work3/test-storage3 ubuntu2:/work/work1/test-storage1
> ubuntu2:/work/work2/test-storage2 ubuntu2:/work/work3/test-storage3
> ubuntu3:/work/work1/test-storage1 ubuntu3:/work/work2/test-storage2
> ubuntu3:/work/work3/test-storage3
>
> Each brick has a size of 22TB,so I understand that if I mount the volume I
> should have a partition of 66TB. The problem is once the partition is
> mounted, if I check the size, appears that it has only 22TB..
>
> I don't know what it's wrong, can anyone help me?
>
> Thanks!!
On a different note - this is not the best way to create a replica 3 volume.
All you replicas are on the same host so if any one host goes down you lose
access to all the data on that replica set.
A better way is:
gluster volume create volume1 replica 3 transport tcp
ubuntu1:/work/work1/test-storage1 ubuntu2:/work/work1/test-storage1
ubuntu3:/work/work1/test-storage1 ubuntu1:/work/work2/test-storage2
ubuntu2:/work/work2/test-storage2 ubuntu3:/work/work2/test-storage2
ubuntu1:/work/work3/test-storage3 ubuntu2:/work/work3/test-storage3
ubuntu3:/work/work3/test-storage3
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list