[Gluster-devel] Question about disk space

2007-06-03 Thread Brandon Lamb
Hopefully one of the devs can answer this. I just setup a 2 server cluster. server1 has 144 gigs of free space, server2 has 78 gigs. I have both set to do the AFR thing and told the config to replicate * (all files right?) with 2 copies. So what happens when I get to 80 gigs, will i start getti

Re: [Gluster-devel] Question about disk space

2007-06-03 Thread Daniel van Ham Colchete
On 6/3/07, Brandon Lamb <[EMAIL PROTECTED]> wrote: Hopefully one of the devs can answer this. I just setup a 2 server cluster. server1 has 144 gigs of free space, server2 has 78 gigs. I have both set to do the AFR thing and told the config to replicate * (all files right?) with 2 copies. So w

Re: [Gluster-devel] Question about disk space

2007-06-04 Thread Anand Avati
You will get 'out of disk space' error. In this scenario the smaller disk will limit the overall size. Thinking of which, I think it is a bug for glusterfs to report the size of the bigger disk, it should be reporting the smallest size available. avati 2007/6/3, Brandon Lamb <[EMAIL PROTECTED]>:

Re: [Gluster-devel] Question about disk space

2007-06-04 Thread Anand Avati
Thinking of which, I think it is a bug for glusterfs to report the size of the bigger disk, it should be reporting the smallest size available. Thinking yet again, I think the current behavior is better. Reporting the smallest size would be appropriate _only_ if all files are being replicated wi

Fwd: [Gluster-devel] Question about disk space

2007-06-04 Thread Anand Avati
(fwd'ing to gluster-devel) Maybe it could give a sum-up of each "replica"-bricks ? this makes sense too, where you show the total storage as X, which gets 'consumed' much faster (as in, when you add a 1MB file, 2 or 3 MB gets counted for 'used' according to the replication count) any opinion

Re: [Gluster-devel] Question about disk space

2007-06-04 Thread Krishna Srinivas
On 6/4/07, Anand Avati <[EMAIL PROTECTED]> wrote: (fwd'ing to gluster-devel) > > Maybe it could give a sum-up of each "replica"-bricks ? this makes sense too, where you show the total storage as X, which gets 'consumed' much faster (as in, when you add a 1MB file, 2 or 3 MB gets counted for 'us

Re: [Gluster-devel] Question about disk space

2007-06-04 Thread Amar S. Tumballi
Yep, i agree with krishna, AFR is not visible to usr. It should happen in background, so why the user should be aware of all the 3 or 2 replicated copies? For a user, if he writes 1MB, he wants to see 1MB as used space. So, showing the sizeof the first server is better idea. (or even size of small

Re: [Gluster-devel] Question about disk space

2007-06-04 Thread Sebastien LELIEVRE
Amar S. Tumballi a écrit : > Yep, > i agree with krishna, AFR is not visible to usr. It should happen in > background, so why the user should be aware of all the 3 or 2 replicated > copies? For a user, if he writes 1MB, he wants to see 1MB as used space. > So, > showing the sizeof the first server

Re: [Gluster-devel] Question about disk space

2007-06-04 Thread Matt Paine
No, I think this might confuse the users. I think showing the info of the first server will be good because of the reasons mentioned by you in the previous mail. Lets see if we can come up with an ideal solution. Krishna any opinions? My two cents worth :) I'm not sure there is an easy w

Re: [Gluster-devel] Question about disk space

2007-06-05 Thread Thierry EXCOFFIER
Krishna Srinivas wrote : No, I think this might confuse the users. I think showing the info of the first server will be good because of the reasons mentioned by you in the previous mail. Lets see if we can come up with an ideal solution. The important data for the user is the garanteed FREE spa