https://support.beocat.ksu.edu/BeocatDocs/index.php?title=General:Ceph&feed=atom&action=history
General:Ceph - Revision history
2024-03-28T23:06:05Z
Revision history for this page on the wiki
MediaWiki 1.39.6
https://support.beocat.ksu.edu/BeocatDocs/index.php?title=General:Ceph&diff=184&oldid=prev
Mozes: /* Extracting Data off CephFS */
2016-06-23T14:58:29Z
<p><span dir="auto"><span class="autocomment">Extracting Data off CephFS</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:58, 23 June 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l68">Line 68:</td>
<td colspan="2" class="diff-lineno">Line 68:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></tt></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></tt></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In blue, is the number of bytes for each segment (4MB). In red is the pool ID. In Green is the number of bytes (0x4cc1586b). Divide 0x4cc1586b by 4MB. Then we have to extract that many segments.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In blue, is the number of bytes for each segment (4MB). In red is the pool ID. In Green is the number of bytes (0x4cc1586b). Divide 0x4cc1586b by 4MB. Then we have to extract that many segments.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The above inode is <del style="font-weight: bold; text-decoration: none;">0x133 </del>segments long. We then need to get all those segments.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The above inode is <ins style="font-weight: bold; text-decoration: none;">308 </ins>segments long. We then need to get all those segments.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang=bash></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang=bash></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>for x in {0..307}; do</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>for x in {0..307}; do</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> segment=$(printf %8x'\n' ${x} | sed -e 's/ /0/g');</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> segment=$(printf %8x'\n' ${x} | sed -e 's/ /0/g');</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> rados -p cachepool get <del style="font-weight: bold; text-decoration: none;">1000c165612</del>.$segment some_file.$segment</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> rados -p cachepool get <ins style="font-weight: bold; text-decoration: none;">1000b96f842</ins>.$segment some_file.$segment</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>done</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>done</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td></tr>
</table>
Mozes
https://support.beocat.ksu.edu/BeocatDocs/index.php?title=General:Ceph&diff=183&oldid=prev
Mozes: /* Extracting Data off CephFS */
2016-06-23T14:51:36Z
<p><span dir="auto"><span class="autocomment">Extracting Data off CephFS</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:51, 23 June 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l36">Line 36:</td>
<td colspan="2" class="diff-lineno">Line 36:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The inode for the next lookup is in red. In the correct order it is 10000001485.00000000. Perform more lookups until you have the inode of the ''file'' you want.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The inode for the next lookup is in red. In the correct order it is 10000001485.00000000. Perform more lookups until you have the inode of the ''file'' you want.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Then you can check the size of the file. Perform a binary search using stat to check object sizes. (Only works for non-sparse files)</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><<ins style="font-weight: bold; text-decoration: none;">tt</ins>></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><<del style="font-weight: bold; text-decoration: none;">pre</del>></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>[root@hobbit01 <ins style="font-weight: bold; text-decoration: none;">~</ins>]# rados -p <ins style="font-weight: bold; text-decoration: none;">metadata getomapval 1000b96f842</ins>.<ins style="font-weight: bold; text-decoration: none;">00000000 some_file_head</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[root@hobbit01 <del style="font-weight: bold; text-decoration: none;">some_directory</del>]# rados -p <del style="font-weight: bold; text-decoration: none;">cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000000f</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> value (412 bytes) :</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000000f mtime 2016-04-14 18:31:39</del>.<del style="font-weight: bold; text-decoration: none;">000000, size 4194304</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000000 02 00 00 00 00 00 00 00 49 0b 06 71 01 00 00 12 |........I..q..</ins>..<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000000ff</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000010 56 16 0c 00 01 00 00 00 00 00 00 60 f2 0f 57 1f |V..........`..W</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000000ff mtime 2016-04-17 03:19:25</del>.<del style="font-weight: bold; text-decoration: none;">000000, size 4194304</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000020 ee 48 2a a4 81 00 00 08 09 00 00 09 09 00 00 01 |.H*...........</ins>..<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root</del>@<del style="font-weight: bold; text-decoration: none;">hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000fff</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 |..............</ins>@.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000fff: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">00000040 01 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 |.....</ins>.@.<ins style="font-weight: bold; text-decoration: none;">........|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root</del>@<del style="font-weight: bold; text-decoration: none;">hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000008ff</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">00000050 <span style="color: blue">ff ff ff ff</span> <span style="color: red">22</span> 00 00 00 <span style="color: green">6b 58 c1 4c<</ins>/<ins style="font-weight: bold; text-decoration: none;">span> 00 00 00 00 |...</ins>.<ins style="font-weight: bold; text-decoration: none;">"...kX.L....|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool</del>/<del style="font-weight: bold; text-decoration: none;">1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000008ff: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000060 01 00 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 |...............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000004ff</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">00000070 00 00 00 00 00 00 00 00 95 e6 13 57 f8 21 27 19 |...........W.!'</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000004ff: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000080 60 f2 0f 57 1f ee 48 2a 00 00 00 00 00 00 00 00 |`..W..H*.......</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000002ff</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">00000090 02 02 20 00 00 00 00 00 00 00 00 00 00 00 00 00 |.. ............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000002ff: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000001ff</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">000000b0 00 00 00 00 00 00 03 02 38 00 00 00 00 00 00 00 |........8......</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">000001ff: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 000000c0 00 00 00 00 6b 58 c1 4c 00 00 00 00 01 00 00 00 |....kX.L.......</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000018f</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000018f: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> *</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000014f</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 000000f0 00 00 00 00 03 02 38 00 00 00 00 00 00 00 00 00 |......8........</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000014f: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">00000100 00 00 6b 58 c1 4c 00 00 00 00 01 00 00 00 00 00 |..kX.L.........</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000012f</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000012f mtime 2016-04-17 13:59:58</del>.<del style="font-weight: bold; text-decoration: none;">000000, size 4194304</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> *</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000013f</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000130 00 00 05 f2 01 00 00 00 00 00 00 00 00 00 00 00 |..............</ins>..<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">0000013f: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000140 00 00 01 00 00 00 00 00 00 00 a5 00 00 00 00 00 |...............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000138</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff |...............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000138: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 00000160 ff ff ff ff ff ff 00 00 00 00 01 01 10 00 00 00 |...............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.00000134</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...............</ins>.<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">error stat-ing cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000134: (2) No such file or directory</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> *</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000132</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">00000190 fe ff ff ff ff ff ff ff 00 00 00 00 |.....</ins>.......<ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000132 mtime 2016-04-17 14:40:05</del>.<del style="font-weight: bold; text-decoration: none;">000000, size 4194304</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> 0000019c</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000133</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></<ins style="font-weight: bold; text-decoration: none;">tt</ins>></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">cachepool/1000c165612</del>.<del style="font-weight: bold; text-decoration: none;">00000133 mtime 2016-04-17 14:40:05</del>.<del style="font-weight: bold; text-decoration: none;">000000, size 88171</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">In blue, is the number of bytes for each segment (4MB). In red is the pool ID. In Green is the number of bytes (0x4cc1586b). Divide 0x4cc1586b by 4MB. Then we have to extract that many segments.</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></<del style="font-weight: bold; text-decoration: none;">pre</del>></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The above inode is 0x133 segments long. We then need to get all those segments.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The above inode is 0x133 segments long. We then need to get all those segments.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang=bash></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang=bash></div></td></tr>
</table>
Mozes
https://support.beocat.ksu.edu/BeocatDocs/index.php?title=General:Ceph&diff=182&oldid=prev
Mozes: Created page with "== Extracting Data off CephFS == List inodes in directory, starting with the "root" inode rados -p metadata listomapkeys 10000000000.00000000 | less Get the omap value for th..."
2016-06-23T14:30:44Z
<p>Created page with "== Extracting Data off CephFS == List inodes in directory, starting with the "root" inode rados -p metadata listomapkeys 10000000000.00000000 | less Get the omap value for th..."</p>
<p><b>New page</b></p><div>== Extracting Data off CephFS ==<br />
List inodes in directory, starting with the "root" inode<br />
rados -p metadata listomapkeys 10000000000.00000000 | less<br />
Get the omap value for the next path<br />
rados -p metadata getomapval 10000000000.00000000 some_directory_head<br />
<tt><br />
value (412 bytes) :<br />
00000000 02 00 00 00 00 00 00 00 49 0b 06 71 01 00 00 <span style="color: red">85</span> |........I..q....|<br />
00000010 <span style="color: red">14 00 00 00 01</span> 00 00 00 00 00 00 7e 80 48 57 fc |...........~.HW.|<br />
00000020 86 82 1e ed 41 00 00 08 09 00 00 09 09 00 00 01 |....A...........|<br />
00000030 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 |................|<br />
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|<br />
*<br />
00000060 01 00 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 |................|<br />
00000070 00 00 00 00 00 00 00 00 7e 80 48 57 fc 86 82 1e |........~.HW....|<br />
00000080 f4 41 c8 55 af 61 a0 01 0e 00 00 00 00 00 00 00 |.A.U.a..........|<br />
00000090 02 02 20 00 00 00 00 00 00 00 00 00 00 00 7e 80 |.. ...........~.|<br />
000000a0 48 57 fc 86 82 1e 07 00 00 00 00 00 00 00 15 00 |HW..............|<br />
000000b0 00 00 00 00 00 00 03 02 38 00 00 00 a4 c3 14 00 |........8.......|<br />
000000c0 00 00 00 00 22 e6 88 da 9d 00 00 00 74 19 00 00 |....".......t...|<br />
000000d0 00 00 00 00 89 00 00 00 00 00 00 00 00 00 00 00 |................|<br />
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 3d 10 4d 57 |............=.MW|<br />
000000f0 87 e8 e8 29 03 02 38 00 00 00 a4 c3 14 00 00 00 |...)..8.........|<br />
00000100 00 00 22 e6 88 da 9d 00 00 00 74 19 00 00 00 00 |..".......t.....|<br />
00000110 00 00 89 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|<br />
00000120 00 00 00 00 00 00 00 00 00 00 3d 10 4d 57 87 e8 |..........=.MW..|<br />
00000130 e8 29 1d 0b a2 1e 00 00 00 00 00 00 00 00 00 00 |.)..............|<br />
00000140 00 00 01 00 00 00 00 00 00 00 cf 4d 00 00 00 00 |...........M....|<br />
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff |................|<br />
00000160 ff ff ff ff ff ff 00 00 00 00 01 01 10 00 00 00 |................|<br />
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|<br />
*<br />
00000190 fe ff ff ff ff ff ff ff 00 00 00 00 |............|<br />
0000019c<br />
</tt><br />
The inode for the next lookup is in red. In the correct order it is 10000001485.00000000. Perform more lookups until you have the inode of the ''file'' you want.<br />
<br />
Then you can check the size of the file. Perform a binary search using stat to check object sizes. (Only works for non-sparse files)<br />
<pre><br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.0000000f<br />
cachepool/1000c165612.0000000f mtime 2016-04-14 18:31:39.000000, size 4194304<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.000000ff<br />
cachepool/1000c165612.000000ff mtime 2016-04-17 03:19:25.000000, size 4194304<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.00000fff<br />
error stat-ing cachepool/1000c165612.00000fff: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.000008ff<br />
error stat-ing cachepool/1000c165612.000008ff: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.000004ff<br />
error stat-ing cachepool/1000c165612.000004ff: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.000002ff<br />
error stat-ing cachepool/1000c165612.000002ff: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.000001ff<br />
error stat-ing cachepool/1000c165612.000001ff: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.0000018f<br />
error stat-ing cachepool/1000c165612.0000018f: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.0000014f<br />
error stat-ing cachepool/1000c165612.0000014f: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.0000012f<br />
cachepool/1000c165612.0000012f mtime 2016-04-17 13:59:58.000000, size 4194304<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.0000013f<br />
error stat-ing cachepool/1000c165612.0000013f: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.00000138<br />
error stat-ing cachepool/1000c165612.00000138: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.00000134<br />
error stat-ing cachepool/1000c165612.00000134: (2) No such file or directory<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.00000132<br />
cachepool/1000c165612.00000132 mtime 2016-04-17 14:40:05.000000, size 4194304<br />
[root@hobbit01 some_directory]# rados -p cachepool stat 1000c165612.00000133<br />
cachepool/1000c165612.00000133 mtime 2016-04-17 14:40:05.000000, size 88171<br />
</pre><br />
The above inode is 0x133 segments long. We then need to get all those segments.<br />
<syntaxhighlight lang=bash><br />
for x in {0..307}; do<br />
segment=$(printf %8x'\n' ${x} | sed -e 's/ /0/g');<br />
rados -p cachepool get 1000c165612.$segment some_file.$segment<br />
done<br />
</syntaxhighlight><br />
Once the segments have been extracted, you must put them together.<br />
cat some_file.* > some_file<br />
Then you can delete the segments<br />
rm -f some_file.*<br />
Congratulations and godspeed.</div>
Mozes