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 up
dcache-node
.fzk.depnfs
ID of file [] (PnfsManager) admin > pnfsidof /pnfs/fzk.de/data/gks/testbin-1
dcache-node
.fzk.de0000B83CD4DCF12C4927B3FB5ABED434D4E7
Look up on which pools thispnfs
is available [] (PnfsManager) admin > cacheinfoof
dcache-node
.fzk.de0000B83CD4DCF12C4927B3FB5ABED434D4E7
_1
dcache-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 > cd
dcache-node
.fzk.deLook up the replica information about this file [
_1
dcache-node
] (
dcache-node
.fzk.de) admin > rep ls
_1
dcache-node
0000B83CD4DCF12C4927B3FB5ABED434D4E7
0000B83CD4DCF12C4927B3FB5ABED434D4E7
<-P---------(0)[0]> 1048576 si={sql:chimera} Verify the filename [] (
dcache-node
.fzk.de) admin > pf
_1
dcache-node
0000BBED263118DE4A518E55AFBA08BC8478
/pnfs/fzk.de/data/gks/testbin-1