Re: [Gluster-users] Shard storage suggestions

2016-07-19 Thread Gandalf Corvotempesta
2016-07-19 9:23 GMT+02:00 Krutika Dhananjay : > No. Note that all files and directories under /.shard are like normal files > and directories to the file-system, it is just > shard translator that has a special way of interpreting this layout of > files. What this means is that each file and direct

Re: [Gluster-users] Shard storage suggestions

2016-07-19 Thread Krutika Dhananjay
Please find my response inline: On Mon, Jul 18, 2016 at 4:03 PM, Gandalf Corvotempesta < gandalf.corvotempe...@gmail.com> wrote: > 2016-07-18 12:25 GMT+02:00 Krutika Dhananjay : > > Hi, > > > > The suggestion you gave was in fact considered at the time of writing > shard > > translator. > > Here

Re: [Gluster-users] Shard storage suggestions

2016-07-18 Thread Krutika Dhananjay
On Mon, Jul 18, 2016 at 3:55 PM, Krutika Dhananjay wrote: > Hi, > > The suggestion you gave was in fact considered at the time of writing > shard translator. > Here are some of the considerations for sticking with a single directory > as opposed to a two-tier classification of shards based on the

Re: [Gluster-users] Shard storage suggestions

2016-07-18 Thread Gandalf Corvotempesta
2016-07-18 12:25 GMT+02:00 Krutika Dhananjay : > Hi, > > The suggestion you gave was in fact considered at the time of writing shard > translator. > Here are some of the considerations for sticking with a single directory as > opposed to a two-tier classification of shards based on the initial char

Re: [Gluster-users] Shard storage suggestions

2016-07-18 Thread Krutika Dhananjay
Hi, The suggestion you gave was in fact considered at the time of writing shard translator. Here are some of the considerations for sticking with a single directory as opposed to a two-tier classification of shards based on the initial chars of the uuid string: i) Even for a 4TB disk with the smal

Re: [Gluster-users] Shard storage suggestions

2016-07-18 Thread Gandalf Corvotempesta
2016-07-18 9:53 GMT+02:00 Oleksandr Natalenko : > I'd say, like this: > > /.shard/d2/18/D218CD1C-4BD9-40D7-9810-86B3F7932509.1 Yes, something like this. I was on mobile when I wrote. Your suggestion is better than mine. Probably, using a directory for the whole shard is also better and keep the d

Re: [Gluster-users] Shard storage suggestions

2016-07-18 Thread Oleksandr Natalenko
I'd say, like this: /.shard/d2/18/D218CD1C-4BD9-40D7-9810-86B3F7932509.1 18.07.2016 10:31, Gandalf Corvotempesta написав: AFAIK gluster store each shard on a single directory. With huge files this could lead to millions of small shard file in the same directory that certainly lead to a performa

[Gluster-users] Shard storage suggestions

2016-07-18 Thread Gandalf Corvotempesta
AFAIK gluster store each shard on a single directory. With huge files this could lead to millions of small shard file in the same directory that certainly lead to a performance issue. Why not moving each shard in a dedicated directory and may be also with a defined nested structure? In example, fr