John Gardeniers
2015-Jun-15 05:11 UTC
[Gluster-users] Replicated with bricks of different sizes
Hi Victor, Thanks for the response. Since writing my question we have been able to take over another server, which does have enough drive space for this job, so it's now merely an academic question. regards, John On 15/06/15 12:51, Viktor Villafuerte wrote:> Hi John, > > On Mon 15 Jun 2015 09:15:53, John Gardeniers wrote: >> We are/were running a simple 1x2 replica volume and have had a major failure >> on one of our gluster servers. We want to create a new replica, at least for >> the time being, but don't have another available server with sufficient >> drive space. Working on the assumption that we will not increase the disk >> usage, and will therefore not get anywhere near the capacity of the smaller >> server's drives, is it safe to create a replica using mismatched brick >> sizes? Will gluster even allow that? > I did bit of testing of this some time ago. Not with the lastest Gluster > mind you... You can have different size bricks in a volume but you > should always have the same size bricks in a replica. > > You say that there's enough space and no space will be consumed after > etc and in theory this could work. But I wouldn't certainly recommend > this kind of setup. > > > v > > >> regards, >> John >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://www.gluster.org/mailman/listinfo/gluster-users
Ravishankar N
2015-Jun-15 05:18 UTC
[Gluster-users] Replicated with bricks of different sizes
On 06/15/2015 10:41 AM, John Gardeniers wrote:> Hi Victor, > > Thanks for the response. Since writing my question we have been able > to take over another server, which does have enough drive space for > this job, so it's now merely an academic question. >While there is no check for equal brick sizes during volume create and things will work fine until you hit ENOSPC on the replica brick of smaller size, Viktor is right in saying that it is not recommended. Regards, Ravi> regards, > John > > > On 15/06/15 12:51, Viktor Villafuerte wrote: >> Hi John, >> >> On Mon 15 Jun 2015 09:15:53, John Gardeniers wrote: >>> We are/were running a simple 1x2 replica volume and have had a major >>> failure >>> on one of our gluster servers. We want to create a new replica, at >>> least for >>> the time being, but don't have another available server with sufficient >>> drive space. Working on the assumption that we will not increase the >>> disk >>> usage, and will therefore not get anywhere near the capacity of the >>> smaller >>> server's drives, is it safe to create a replica using mismatched brick >>> sizes? Will gluster even allow that? >> I did bit of testing of this some time ago. Not with the lastest Gluster >> mind you... You can have different size bricks in a volume but you >> should always have the same size bricks in a replica. >> >> You say that there's enough space and no space will be consumed after >> etc and in theory this could work. But I wouldn't certainly recommend >> this kind of setup. >> >> >> v >> >> >>> regards, >>> John >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://www.gluster.org/mailman/listinfo/gluster-users > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users
Adam Tygart
2015-Jun-15 05:18 UTC
[Gluster-users] Replicated with bricks of different sizes
As a short-term placeholder it should be fine. However, we all know how things designated short-term can tend to become less so. The real problem would occur when the smaller server gets filled up. In theory, gluster would drop into a read-only mode. In theory, there is no difference between practice in theory. In practice, there often is. -- Adam On Mon, Jun 15, 2015 at 12:11 AM, John Gardeniers <jgardeniers at objectmastery.com> wrote:> Hi Victor, > > Thanks for the response. Since writing my question we have been able to take > over another server, which does have enough drive space for this job, so > it's now merely an academic question. > > regards, > John > > > > On 15/06/15 12:51, Viktor Villafuerte wrote: >> >> Hi John, >> >> On Mon 15 Jun 2015 09:15:53, John Gardeniers wrote: >>> >>> We are/were running a simple 1x2 replica volume and have had a major >>> failure >>> on one of our gluster servers. We want to create a new replica, at least >>> for >>> the time being, but don't have another available server with sufficient >>> drive space. Working on the assumption that we will not increase the disk >>> usage, and will therefore not get anywhere near the capacity of the >>> smaller >>> server's drives, is it safe to create a replica using mismatched brick >>> sizes? Will gluster even allow that? >> >> I did bit of testing of this some time ago. Not with the lastest Gluster >> mind you... You can have different size bricks in a volume but you >> should always have the same size bricks in a replica. >> >> You say that there's enough space and no space will be consumed after >> etc and in theory this could work. But I wouldn't certainly recommend >> this kind of setup. >> >> >> v >> >> >>> regards, >>> John >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://www.gluster.org/mailman/listinfo/gluster-users > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users