Reported by Tony Bartoletti:
We now have
ls -l /p/user_pub/e3sm/archive/1_0/20180316.DECKv1b_A1.ne30_oEC.edison/
total 0
drwxr-xr-x 2 bartoletti1 climate 4096 Feb 26 10:29 zstash
ls -l /p/user_pub/e3sm/archive/1_0/20180316.DECKv1b_A1.ne30_oEC.edison/zstash
-rw-r--r-- 1 bartoletti1 climate 274314434560 Feb 25 10:23 000000.tar
-rw-r--r-- 1 bartoletti1 climate 274314434560 Feb 25 09:48 000001.tar
-rw-r--r-- 1 bartoletti1 climate 274314434560 Feb 25 09:48 000002.tar
-rw-r--r-- 1 bartoletti1 climate 274314434560 Feb 25 10:23 000003.tar
-rw-r--r-- 1 bartoletti1 climate 274314434560 Feb 25 10:05 000004.tar
-rw-r--r-- 1 bartoletti1 climate 274314434560 Feb 25 10:04 000005.tar
-rw-r--r-- 1 bartoletti1 climate 274792560640 Feb 25 10:44 000006.tar
-rw-r--r-- 1 bartoletti1 climate 274853683200 Feb 25 10:44 000007.tar
-rw-r--r-- 1 bartoletti1 climate 274800998400 Feb 25 11:04 000008.tar
-rw-r--r-- 1 bartoletti1 climate 274793349120 Feb 25 11:04 000009.tar
-rw-r--r-- 1 bartoletti1 climate 274737991680 Feb 25 11:20 00000a.tar
-rw-r--r-- 1 bartoletti1 climate 274854328320 Feb 25 11:20 00000b.tar
-rw-r--r-- 1 bartoletti1 climate 269865400320 Feb 25 11:36 00000c.tar
-rw-r--r-- 1 bartoletti1 climate 265029734400 Feb 25 11:36 00000d.tar
-rw-r--r-- 1 bartoletti1 climate 1587200 Feb 25 08:58 00000e.tar
-rw-r--r-- 1 bartoletti1 climate 2920448 Feb 25 08:58 index.db
and now (in the original directory 20180316.DECKv1b_A1.ne30_oEC.edison), the command
zstash ls *cam.h4* | more
produces
archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1870-01-01-00000.nc
archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1870-01-31-00000.nc
archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1870-03-02-00000.nc
archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1870-04-01-00000.nc
archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1870-05-01-00000.nc
archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1870-05-31-00000.nc
archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1870-06-30-00000.nc
I know of no other way we can use zstash to extract the desired files. AFTER the actual extraction
zstash extract *cam.h4* | more
ls -l /p/user_pub/e3sm/archive/1_0/20180316.DECKv1b_A1.ne30_oEC.edison/
total 0
drwxr-xr-x 3 bartoletti1 climate 4096 Feb 26 10:57 archive
drwxr-xr-x 2 bartoletti1 climate 4096 Feb 26 10:29 zstash
where archive holds archive/atm/hist/(the desired files)
It all appears to work - but one annoying error cropped up.
- Each of the files extracted pushed the following “ERROR” to stderr:
INFO: Extracting archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1934-10-08-00000.nc
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/zstash/extract.py", line 345, in extractFiles
tar.chown(tarinfo, fname, numeric_owner=False)
TypeError: chown() got an unexpected keyword argument 'numeric_owner'
ERROR: Retrieving archive/atm/hist/20180316.DECKv1b_A1.ne30_oEC.edison.cam.h4.1934-10-08-00000.nc
This “ERROR” (thrown a few thousand times) needs to be shared with the “zstash team” - perhaps limited to the recent release. It does not appear to reflect any issue with the file integrity.
- The following tar files had errors:
ERROR: The following tar archives had errors:
ERROR: 000009.tar
ERROR: 00000a.tar
ERROR: 00000c.tar
ERROR: 00000d.tar
As far as I can tell, these are ALL due to the “numeric owner” issue, and actually reiterated ALL 1766 files that were extracted to archive/atm/hist.