In this example, we will locate the file
/pnfs/fzk.de/data/gks/testbin-1. If you
have deleted this file, please recreate it by copying
/bin/bash into dCache. For more details,
see the previous section.
First, we need to discover the file's pnfs ID of the file.
This is a unique number, expressed in hexidecimal, that is used
within dCache. To look up a file's ID, one must ask the
PnfsManager. Navigate to this cell, if you are not already
there. Within PnfsManager use the
pnfsidof command to determin the files pnfs
ID, then use the cacheinfoof command to
determin on which pool(s) the file is available. Please note
that the pnfs ID and pool location may be different.
[] (local) admin > cd PnfsManager Look updcache-node.fzk.depnfsID of file [] (PnfsManager) admin > pnfsidof /pnfs/fzk.de/data/gks/testbin-1dcache-node.fzk.de0000B83CD4DCF12C4927B3FB5ABED434D4E7Look up on which pools thispnfsis available [] (PnfsManager) admin > cacheinfoofdcache-node.fzk.de0000B83CD4DCF12C4927B3FB5ABED434D4E7_1dcache-node
To confirm this, navigate to the pool and use the rep ls and pf commands to list all replicas on that pool and look at the metadata the pool holds about the file.
[] (PnfsManager) admin > .. [dcache-node.fzk.de] (local) admin > cddcache-node.fzk.deLook up the replica information about this file [_1dcache-node] (dcache-node.fzk.de) admin > rep ls_1dcache-node0000B83CD4DCF12C4927B3FB5ABED434D4E70000B83CD4DCF12C4927B3FB5ABED434D4E7<-P---------(0)[0]> 1048576 si={sql:chimera} Verify the filename [] (dcache-node.fzk.de) admin > pf_1dcache-node0000BBED263118DE4A518E55AFBA08BC8478/pnfs/fzk.de/data/gks/testbin-1