Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arki-check not working in odimh5 archives in version 1.0 (cpp11 branch) #17

Closed
brancomat opened this issue Feb 2, 2016 · 4 comments
Closed
Assignees
Labels

Comments

@brancomat
Copy link
Member

odimh5 archive data structure as usual:

odimSPC/.archive/odimSPC-YYYYMMDD/YYYY/MM-DD.odimh5/000xxx.odimh5

(with a .sequence empty file in each subdir)

with arkimet-1.0-1 (bf20a28)

$ rpm -q arkimet
arkimet-1.0-1.x86_64
$ arki-check -f odimSPC/
odimSPC: check 0 files ok
odimSPC.archives.last: check 0 files ok

with arkimet-0.81 (43d56a3)

$ rpm -q arkimet
arkimet-0.81-1.fc20.x86_64
$ arki-check -f odimSPC/
odimSPC: rescanned in archive odimSPC-20130101/2013/01-01.odimh5
odimSPC: rescanned in archive odimSPC-20130101/2013/01-02.odimh5
odimSPC: rescanned in archive odimSPC-20130101/2013/01-03.odimh5
odimSPC: rescanned in archive odimSPC-20130101/2013/01-04.odimh5
odimSPC: rescanned in archive odimSPC-20130101/2013/01-05.odimh5
(...)
@spanezz
Copy link
Contributor

spanezz commented Mar 2, 2016

This is reproducible only in datasets in .archive/ besides .archive/last. That is, normal dataset contents, and .archive/last, are correctly scanned.

@spanezz
Copy link
Contributor

spanezz commented Mar 2, 2016

...and the .archive/<name>/MANIFEST file is missing.

spanezz added a commit that referenced this issue Mar 2, 2016
…tinguish archive directories from filesystem noise. #17
@spanezz
Copy link
Contributor

spanezz commented Mar 2, 2016

Done in f3a6ba6

@spanezz spanezz closed this as completed Mar 2, 2016
@brancomat
Copy link
Member Author

This impacted offline archive management, we miss some best practices (and documentation) about how to archive big chunks of old data without interfering with the production server, I'm openning another (long term) issue about it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants