Non-removeable file in EOS after drain

Hello,

We are running a drain and some files cannot be transferred. It was decided to clean them. For this, a standard command

eos rm <file>

was used. After that, the drain was run again, but some files remained. The command

eos fs dumpmd $i --path

does not display the list of files and displays messages like this:

# warning: missing container for fxid=1aa85e88
# warning: missing container for fxid=1ac00b30
# warning: missing container for fxid=1ab60cec
# warning: missing container for fxid=1ac60bfe
# warning: missing container for fxid=1ab0e016

I tried to remove this containers like in this topic (LEADER eos-b01.jinr.ru:7777):

(https://eos-community.web.cern.ch/t/non-removeable-file-in-eos/708)

but nothing happened:

eos-b01:~ # eos fileinfo fxid:1ab0e016
  File: 'fxid:1ab0e016'  Flags: 0640  Clock: 183e918d0ea9cc62
  Size: 17287
Status: healthy
Modify: Wed Dec 25 10:35:49 2024 Timestamp: 1735112149.440104577
Change: Wed Dec 25 10:35:49 2024 Timestamp: 1735112149.439756647
Access: Wed Dec 25 10:35:49 2024 Timestamp: 1735112149.439757000
 Birth: Wed Dec 25 10:35:49 2024 Timestamp: 1735112149.439756647
  CUid: 0 CGid: 615 Fxid: 1ab0e016 Fid: 447799318 Pid: 12180780 Pxid: 00b9dd2c
XStype: adler    XS: a9 06 da 79    ETAGs: "120205214123819008:a906da79"
Layout: replica Stripes: 2 Blocksize: 4k LayoutId: 00100112 Redundancy: d2::t0 
  #Rep: 2
eos-b01:~ # redis-cli -p 7777 hgetall 447799318:map_files
(empty list or set)
eos-b01:~ # redis-cli -p 7777 del 447799318:map_files
(integer) 0

Please tell me how I can delete these containers?

Hello, Ivan.

Could you try fs dropghosts command?

As a manual, it can also use --fxid option to specify the file.

Regards,

– Geonmo

Hi, GeonmoRyu.
I tried:

eos fs dropghosts 58
success: dropped 0 ghost entries from fsid=58

and

eos fs dropghosts 58 --fxid fxid=1ac60bfe
success: dropped 0 ghost entries from fsid=58

but nothing happened.