Personal tools
You are here: Home Documentation dCache UNL DCache discovering lost files
Document Actions

UNL DCache discovering lost files

by admin last modified 2008-09-11 16:53

How to get the list of broken files which are being accessed at UNL (doesn't work elsewhere).

Log in to dcache-head.unl.edu and execute the following script:

for i in `cat /tmp/trace.out | grep poolManager | awk '{print $NF;}' | grep 000 | sort | uniq`; do mypath=`dcache_pnfs_pathfinder $i`; echo $mypath `dcache_path2server $mypath`; done

The above one-liner prints out the filename and servers with that file now, if any exist.  If you just want the file names:

for i in `cat /tmp/trace.out | grep poolManager | awk '{print $NF;}' | grep 000 | sort | uniq`; do dcache_pnfs_pathfinder $i; done
Take all the CMS files, save them to a file.  Open a Savannah ticket, attach the file, and assign it to Data Ops.  Ask them to remove the file replicas in the list from T2_US_Nebraska (files which are still subscribed should be redownloaded; DBS should be synchronized automatically).

Powered by Plone, the Open Source Content Management System