Re: Shard storage suggestions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2016-07-19 9:23 GMT+02:00 Krutika Dhananjay <kdhananj@xxxxxxxxxx>:
> 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 directory at and under /.shard
> will need to have its own unique gfid. In other words, for this layout you
> suggested:
>
> /.shard/d218cd1c-4bd9-40d7-9810-86b3f7932509/d218cd1c-4bd9-40d7-9810-86b3f7932509.1
>
> the sub-directory /.shard/d218cd1c-4bd9-40d7-9810-86b3f7932509/ will not
> have the gfid d218cd1c-4bd9-40d7-9810-86b3f7932509 because this is already
> assigned to the original file that was sharded based on whose gfid we are
> naming the rest of the shards. This means the subdir will have a new gfid
> assigned to it, as will the file d218cd1c-4bd9-40d7-9810-86b3f7932509.1.
> Does that make sense?

Ok, so, even the directory name must be unique and is not possible to
have a directory that has the same gfid as a file.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux