HI All,
After the Document Migrated successfully , I am running the arsmaint expiration command based on internal date , using below command .
arsmaint -I CMOD -u xxxxxx -p xxxxxxxxxx -g AG -t 14607 -c -n 10 -x 10.
it is running fine and not getting any error but it is expired only few doc not expiring all the document , even the doc load present in retr directory .
Below are dir listing .
cd /arscache1/CMOD_PRD/retr/DIA/DOC
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 3FAAA -> /arscache3/CMOD_PRD/14622/DIA/DOC/3FAAA
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 2FAAA -> /arscache3/CMOD_PRD/14607/DIA/DOC/2FAAA
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 2FAA1 -> /arscache3/CMOD_PRD/14607/DIA/DOC/2FAA1
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 1FAAA -> /arscache3/CMOD_PRD/14607/DIA/DOC/1FAAA
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 1FAA1 -> /arscache3/CMOD_PRD/14607/DIA/DOC/1FAA1
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 3FAA1 -> /arscache4/CMOD_PRD/14622/DIA/DOC/3FAA1
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAA -> /arscache4/CMOD_PRD/14629/DIA/DOC/4FAAA
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAE -> /arscache5/CMOD_PRD/14629/DIA/DOC/4FAAE
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAD -> /arscache4/CMOD_PRD/14629/DIA/DOC/4FAAD
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAC -> /arscache3/CMOD_PRD/14629/DIA/DOC/4FAAC
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAB -> /arscache5/CMOD_PRD/14629/DIA/DOC/4FAAB
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAI -> /arscache3/CMOD_PRD/14629/DIA/DOC/4FAAI
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAH -> /arscache5/CMOD_PRD/14629/DIA/DOC/4FAAH
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAG -> /arscache4/CMOD_PRD/14629/DIA/DOC/4FAAG
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAF -> /arscache3/CMOD_PRD/14629/DIA/DOC/4FAAF
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAK -> /arscache5/CMOD_PRD/14629/DIA/DOC/4FAAK
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAAJ -> /arscache4/CMOD_PRD/14629/DIA/DOC/4FAAJ
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 4FAA1 -> /arscache3/CMOD_PRD/14629/DIA/DOC/4FAA1
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 8FAAA -> /arscache5/CMOD_PRD/14629/DIA/DOC/8FAAA
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 8FAA1 -> /arscache5/CMOD_PRD/14629/DIA/DOC/8FAA1
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 7FAAA -> /arscache5/CMOD_PRD/14629/DIA/DOC/7FAAA
lrwxrwxrwx 1 cmod ibm_cmod 39 Jan 17 2013 7FAA1 -> /arscache5/CMOD_PRD/14629/DIA/DOC/7FAA1
Any idea about this why it is not expiring all the doc.
Thanks in advance ..
Why are you trying to force the cache to be empty? The entire point of a cache filesystem is to keep the documents around for fast access. A cache filesystem that isn't 99% full is a waste. If you don't want this information in the cache (maybe because people aren't accessing it) then reduce the caching period, or turn it off entirely and load directly to your secondard storage (ie, TSM).
From what you've posted, arsmaint has done exactly what you asked. There aren't any documents in that directory older than the date you've specified in the arsmaint command.
Cache expiration has its own logic, and it not because it could delete some document that it will really delete the documents in cache.
If you want I can explain the logic behind, or at least what I've learned from the logic. But the idea is that CMOD will delete only what he can in order to achieve the correct min/max pourcentage of the FS.
So it might be that some documents, even after 1 year, are not delete, because CMOD thinks he doesn't need to remove them yet.