How-To Find Files With A Given Number Of Replicas
The following describes how to find files with a given number of replicas.
Requirements, Constraints And Conventions
- The usage of Chimera as file-hierarchy-provider and PostgreSQL as DBMS for the chimera-database is expected (it should be however easy to adapt to another DBMS).
- Several POSIX-utilities are required.
- Lines starting with “$” are entered within a POSIX-sh-compatible shell.
- Lines starting with “#” are entered within a POSIX-sh-compatible shell, with the effective user-ID and group-ID being 0 (“root-rights”).
- Lines starting with “(location) >” are entered within dCache’s administration interface with location as the current location.
- Standard input is written bold, standard output normal and standard error underlined.
Introduction
In dCache files can have many replicas spread over different pools of a dCache cluster. It is even possible that a file as zero replicas, which happens when all replicas were deleted or lost but the file-hierarchy-provider Chimera still thinks that the file exists.
TBD
WIP
License Of This Document
Copyright © 20010, Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>.
All rights reserved.
This work is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
This work is licensed under the Creative Commons Attribution-Share Alike 3.0 Germany License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/de/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".