Skip to content
Snippets Groups Projects
Commit 3ef3e533 authored by Steven Murray's avatar Steven Murray
Browse files

Added comment to python class cta-fst-gcd.Gc

parent c5a6073c
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,21 @@ class UserError(Exception):
pass
class Gc:
'''Implements the cta-fst-gcd daemon that runs on an EOS FST and garbage
collects EOS disk copies that have been safely stored to tape.
The cta-fst-gcd daemon scans across every single EOS disk file on an FST.
A file is garbage collected if:
* The amount of free space on the corresponding file system is
considered too low.
* The file is considered old enough to be garbage collected.
The cta-fst-gcd daemon garbage collects an EOS disk file by extracting the
hexadecimal EOS file identifier from the local disk filename and then
running eos stagerm fxid:<fid-hex>.'''
def get_env_mgmhost(self):
logger = logging.getLogger('gc')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment