Hi Brian,
lcg-infosites gets its information from the BDII. The output from
lcg-infosites is identical to the information in your site BDII, which in
turn gets its used and available space information from the SRM.
$ lcg-infosites --vo dteam se|grep lancs
256368280 1740195472 n.a fal-pygrid-03.lancs.ac.uk
27675339510 30266873098 n.a fal-pygrid-20.lancs.ac.uk
$ ldapsearch -LLL -x -H ldap://fal-pygrid-17.lancs.ac.uk:2170 -b
mds-vo-name=UKI-NORTHGRID-LANCS-HEP,o=grid "GlueSALocalID=atlas"
GlueSAStateAvailableSpace GlueSAStateUsedSpace
dn:
GlueSALocalID=atlas,GlueSEUniqueID=fal-pygrid-03.lancs.ac.uk,mds-vo-name=U
KI-NORTHGRID-LANCS-HEP,o=grid
GlueSAStateAvailableSpace: 256368280
GlueSAStateUsedSpace: 1740195472
dn:
GlueSALocalID=atlas,GlueSEUniqueID=fal-pygrid-20.lancs.ac.uk,mds-vo-name=U
KI-NORTHGRID-LANCS-HEP,o=grid
GlueSAStateAvailableSpace: 27675339510
GlueSAStateUsedSpace: 30266873098
If you have PNFS files on your dCache pool nodes with no corresponding
entry in the PNFS namespace (you can find out by running pathfinder on
the PNFSid in the PNFS namespace) then you can remove these files by
entering the dCache admin interface and running the command:
rep rm <PNFSid>
in the pool domain where the 'ghost' file is located. You may need to use
the -force option to force the file removal. You should not manually
delete the files from the filesystem using `rm`.
I think restarting the pools should resolve the issue since the dCache
calculates the amount of space avaiable/used from the filesytem.
Cheers,
Greig
On Tue, 8 Aug 2006, brian davies wrote:
> an lcg-infosites --vo atlas se gives me that atlas have used 30TB
> however, if i du -sh on /pnfs/lancs.ac.uk/data/atlas/ i only get 9.8TB
> even if i du -sh /pnfs/lancs.ac.uk/data/ i don't get 30TB
> Is this an effect relating to the recent messages from dcache's
> patrick fuhrmann about not just deleting files from the pnfs
> filesystem.
> question is which is the correct value? where does lcg-infosites get
> its information from?
> any idea?
> cheers
> brian
>
--
=======================================================================
Dr Greig A Cowan http://www.ph.ed.ac.uk/~gcowan1
School of Physics, University of Edinburgh, James Clerk Maxwell Building
TIER-2 STORAGE SUPPORT PAGES: http://wiki.gridpp.ac.uk/wiki/Grid_Storage
=======================================================================
|