Metadata Queries
This page provides an overview of all the metadata queries in the PnfsManager. It documents what information is recorded by the trace system.
- addCacheLocation. Records addition of a file replica to a pool.
- Input: PnfsId.
- Output: Status.
- clearCacheLocation. Records a removal of a file replica from a pool.
- Input: PnfsId
- Output: Status.
- getCacheLocations. Given a file, returns the location of all its replicas.
- Input: PnfsId
- Output: Status, Vector of cache locations.
- createDirectory. Creates a directory
- Input: PnfsId
- Output: Status
- createEntry. Creates a file.
- Input: PnfsId
- Output: Status
- setStorageInfo. Sets the storage information (tape or disk?) for a file.
- Input: Pnfs file (id or filename), Storage Info
- Output: Status, storage info
- getStorageInfo. Retrieves the storage information for a file.
- Input: Pnfs file (id or filename)
- Output: Status, storage info
- getFileMetaData. Retrieves the file metadata (i.e., permissions)
- Input: Pnfs file (id or filename)
- Output: Status, file meta data
- setFileMetaData. Sets the file metadata.
- Input: Pnfs file (id or filename), metadata
- Output: Status, metadata
- deleteEntry. Deletes a file.
- Input: Pnfs file
- Output: Status
- setLength. Sets the length of a file.
- Input: Pnfs file, length
- Output: status
- rename. Renames a file.
- mapPath. Maps from PNFS id to file name
- Input: Pnfs file
- Output: status, filename