Hi,
I find a file lost in IHEP EOS instance. I can see the file size through eos ls
, but when reading the content, it shows the file is empty.
The eos fille info
command shows the file has the size of 6464.
[root@eos01 ~]# eos file info fxid:0070a0f1 --fullpath
File: '/eos/public/nano/data/PROG/amber12/AmberTools/test/pbsa_aug_c2/prmtop-inpcrd/Ca.prmtop' Flags: 0644 Clock: 1b261a014
Size: 6464
Modify: Thu Feb 23 11:16:17 2017 Timestamp: 1487819777.410343649
Change: Wed Dec 28 00:53:41 2016 Timestamp: 1482857621.0
CUid: 10232 CGid: 1002 Fxid: 0070a0f1 Fid: 7381233 Pid: 312248 Pxid: 0004c3b8
XStype: adler XS: c8 26 dc 35 ETAGs: "1981384646197248:c826dc35"
plain Stripes: 1 Blocksize: 4k LayoutId: 00100002
#Rep: 1
┌───┬──────┬────────────────────────┬────────────────┬────────────────┬──────────┬──────────────┬────────────┬────────┬────────────────────────┬────────────────────────────┐
│no.│ fs-id│ host│ schedgroup│ path│ boot│ configstatus│ drainstatus│ active│ geotag│ physical location│
└───┴──────┴────────────────────────┴────────────────┴────────────────┴──────────┴──────────────┴────────────┴────────┴────────────────────────┴────────────────────────────┘
0 1 eos01.ihep.ac.cn default /data1/eos booted rw nodrain online IHEP_LHAASO /data1/eos/000002e2/0070a0f1
However, when using stat
command to check the real file on disk, it shows the file is empty.
[root@eos01 ~]# stat /data1/eos/000002e2/0070a0f1
File: ‘/data1/eos/000002e2/0070a0f1’
Size: 0 Blocks: 24 IO Block: 4096 regular empty file
Device: 811h/2065d Inode: 42952271237 Links: 1
Access: (0640/-rw-r-----) Uid: ( 2/ daemon) Gid: ( 2/ daemon)
Access: 2019-12-30 23:26:40.886755198 +0800
Modify: 2019-10-16 11:03:24.797719588 +0800
Change: 2020-02-03 08:20:46.279983175 +0800
Birth: -
The information in MGM and FST is inconsistent and the file lost in FST. We don’t know what happened in EOS MGM.
Has anyone encountered the same problem? How to solve it, we are worried that other files also have this problem.
PS:
EOS MGM and FST verison is 4.4.23
Thanks,
Haibo