Skip to content

EOS command 'evict'/'stagerrm' not deleting files on FST

As shown in https://gitlab.cern.ch/cta/operations/-/issues/1211#note_7218878, the EOS command evict/stagerrm is no longer deleting the files on the FST, due to a misuse of the flag forceRemove on XrdMgmOfs::_dropallstripes(...) and XrdMgmOfs::_dropstripe(...):

This needs to be fixed.

In order to do so, we need to change some of the EOS commandevict parameters:

  1. Remove --force. This command is not very clear about its purpose...
  2. Add --ignore-evict-counter (direct replacement of --force), to bypass the eviction counter and trigger the file deletion.
  3. Add --ignore-removal-on-fst to bypass the deletion on the FST (i.e. set forceRemove as true), to allow the file to be removed from the namespace without requiring a response from the FST. This is preferable to eos fs rm, which is not tape-aware... The --ignore-removal-on-fst should only be allowed together with --fsid <id>.

Corresponding issue on EOS Jira:

Edited by Joao Afonso