Replies: 8 comments 6 replies
-
Thank you @TonyB9000 for post this discussion. The 000000.tar is the only tar that is problematic for this simulation. We'd like to get instruction on how to best update the zstash archive in this situation. |
Beta Was this translation helpful? Give feedback.
-
@forsyth2 Ryan, if we obtain a replacement for an archive's 000000.tar, what procedure should be used to incorporate it into the body of remaining tar-files and index.db? Naively, I just thought a 1-1 replacement would suffice. (Now, it occurs to me that the archive creator cannot just specify "recreate the 000000.tar". The existing index.db lists all the files that should be there, so perhaps that could be a guide? |
Beta Was this translation helpful? Give feedback.
-
I can make an issue for that at least.
I will need to think about this. Your reasoning seems to be on the right track though. |
Beta Was this translation helpful? Give feedback.
-
@forsyth2 It is possible that the file became corrupted after creation, but before the Globus transfer ... somehow. I'll use tar tvf to obtain the file list. My only concern is that the files may not "tar" identically to their original, and so I must trust that the "index.db" is employed only to identify which data files are located in which tar-files, etc. If any other checks are performed during "zstash extract", it may fail. (For instance, if the index.db says "file_xyz is located at index W in 000000.tar", and file_xyz is no longer located at index W, because the files are tarred in a different order, we could fail.) I have no idea what zstash does internally. EDIT: I don't know what I'm saying/thinking. I can't use "tar tvf 000000.tar" because the tar file is corrupt. I must query the index.db file, to somehow list all of the files it "thinks" are in 000000.tar. Hopefully "zstash ls -l" indicated the tarfiles associated with filenames. |
Beta Was this translation helpful? Give feedback.
-
@TonyB9000 : I think I have seen this before. Here is my hypothesis of what might have gone wrong. The output of What happens if you try |
Beta Was this translation helpful? Give feedback.
-
I found some old notes and this indeed appears to be the same issue that another user encountered a while back.
|
Beta Was this translation helpful? Give feedback.
-
@golaz @chengzhuzhang @forsyth2 That definitely works! Amazing. How did I not know of this?! This will bring the v2_LE_ssp370 extraction to 100% Thank you Chris! |
Beta Was this translation helpful? Give feedback.
-
@TonyB9000 I want to confirm this issue is resolved. If so, I'll close the discussion. Thanks! |
Beta Was this translation helpful? Give feedback.
-
The v2_LE_sp370 ensemble 8 archive tar file (v2.LR.SSP370_0131/000000.tar) appears corrupted at the source. We have pulled it over twice, so it appears to have been corrupted where it was produced. (No telling what zstash version was used).
Attempted extractions report corrupted entries:
and a direct "tar tvf" reports:
with output written to 000000_list:
I'm not sure this is something that can be caught by zstash at creation time. It would be interesting to have
"tar cvf | grep "failure status"
post archive, just to see if it was clean at that time.(Posted here at the behest of Jill).
Beta Was this translation helpful? Give feedback.
All reactions