srmPurgeFromSpace Clause Samples
srmPurgeFromSpace. In WLCG no tape transitions are allowed. The srmPurgeFromSpace method only removes disk copies of a file from a specified space token. If a file is in a Custodial-Nearline space and at a given moment the file has a copy on disk and one on tape, a srmPurgeFromSpace operation removes the copy on disk and leaves the copy on tape. If a file has 2 copies in 2 different Replica-Online spaces, a srmPurgeFromSpace on the first space succeeds while a srmPurgeFromSpace on the second copy fails with the error message SRM_LAST_COPY at the file level. An explicit srmRm is needed to remove the last copy.
srmPurgeFromSpace. Please note that this method was not part of the original WLCG SRM v2.2 Usage Agreement [5].
