[Gluster-users] newbie questions.

Jeff Darcy jdarcy at redhat.com
Tue Apr 19 13:43:32 UTC 2011

On 04/19/2011 09:20 AM, Fyodor Ustinov wrote:
> 1. Possible create new volume by 'gluster' command stripe and replica 
> simultaneously?

This came up at my job recently too.  I was surprised to find that,
although the code and the volfile syntax both support this, the CLI
syntax has no way to express it.

> 2. File stored on glusterfs can not be greater size than the brick?

Without striping, yes, the size of a file cannot be greater than the
(remaining) size of a brick - or the smallest of all replica bricks if
you're using replication.  IMO this is one of the main reasons to use
striping, since I've never seen it provide any performance benefit.

> 3. I have two bricks of size 10G each. And 2 files of 4G each on one 
> brick. Perform glusterfs self-balancing and migrate one file to another 
> brick? I must/can do it "by hand"?

It's probably better to let GlusterFS do the rebalancing if possible,
but it might not work with very small numbers of files.

More information about the Gluster-users mailing list