search for: shardgfid

Displaying 3 results from an estimated 3 matches for "shardgfid".

2018 Apr 23
0
Reconstructing files from shards
...From the docs, I see you can identify the shards by the GFID # getfattr -d -m. -e hex/path_to_file/ # ls /bricks/*/.shard -lh | grep /GFID Is there a gluster tool/script that will recreate the file? or can you just sort them sort them properly and then simply cat/copy+ them back together? cat shardGFID.1 .. shardGFID.X > thefile " / The response from RedHat was: "Yes, this should work, but you would need to include the base file (the 0th shard, if you will) first in the list of files that you're stitching up.? In the happy case, you can test it by comparing the md5sum of the...
2018 Apr 20
7
Reconstructing files from shards
Hello, So I have a volume on a gluster install (3.12.5) on which sharding was enabled at some point recently. (Don't know how it happened, it may have been an accidental run of an old script.) So it has been happily sharding behind our backs and it shouldn't have. I'd like to turn sharding off and reverse the files back to normal. Some of these are sparse files, so I need to account
2018 Apr 23
1
Reconstructing files from shards
...fy the shards by the GFID > # getfattr -d -m. -e hex path_to_file > # ls /bricks/*/.shard -lh | grep GFID > > Is there a gluster tool/script that will recreate the file? > > or can you just sort them sort them properly and then simply cat/copy+ them back together? > > cat shardGFID.1 .. shardGFID.X > thefile " > > > The response from RedHat was: > > "Yes, this should work, but you would need to include the base file (the 0th shard, if you will) first in the list of files that you're stitching up. In the happy case, you can test it by compar...