When I tried to update the file list with the beegfs-fsck --enablequota command, the following error occurred.
[opc@t-oci-l01 ~]$ sudo beegfs-fsck --enablequota
BeeGFS File System Check Version : 7.1.4
--------------------------------------------------------------------
Started BeeGFS fsck in enableQuota mode [Fri Sep 25 10:29:22 2020]
Log will be written to /var/log/beegfs-fsck.log
Database files will be saved in /var/lib/beegfs/
--------------------------------------------------------------------
Step 1: Check reachability of nodes: Finished
Processed 5989860 entries
1 errors occurred. Please see Metadata server logs for more details.
[opc@t-oci-l01 ~]$
When I checked the log of the metadata server, the following was recorded.
(2) Sep25 10:41:00 CommSlave6 [Set chunk file attribs work] >> Communication with storage target failed. TargetID: 3; entryID: 0-5F33529A-1
(2) Sep25 10:41:00 CommSlave118 [Set chunk file attribs work] >> Communication with storage target failed. TargetID: 5; entryID: 0-5F33529A-1
(2) Sep25 10:41:00 CommSlave4 [Set chunk file attribs work] >> Communication with storage target failed. TargetID: 4; entryID: 0-5F33529A-1
(2) Sep25 10:41:00 CommSlave126 [Set chunk file attribs work] >> Communication with storage target failed. TargetID: 1; entryID: 0-5F33529A-1
(2) Sep25 10:41:00 Worker20 [AdjustChunkPermissionsMsgEx::sendSetAttrMsg] >> Problems occurred during setting of chunk file attribs. fileID: 0-5F33529A-1
When I ran fsck read-only, I got the following results: (I am only showing the lines where it showed errors)
[opc@t-oci-l01 ~]$ sudo beegfs-fsck --checkfs --readOnly --databasePath=/var/tmp/beegfs-fsck_readonly
BeeGFS File System Check Version : 7.1.4
----
--------------------------------------------------------------------
Started BeeGFS fsck in forward check mode [Fri Sep 25 11:16:25 2020]
Log will be written to /var/log/beegfs-fsck.log
Database will be saved in /var/tmp/beegfs-fsck_readonly
--------------------------------------------------------------------
Step 1: Check reachability of nodes: Finished
-----
Waiting for metadata servers to start modification logging. This might take some time.
-----
Step 3: Gather data from nodes:
Fetched data > Directory entries: 5990005 | Inodes: 5990006 | Chunks: 5602580
-----
Waiting for metadata servers to stop modification logging. This might take some time.
-----
Step 4: Check for errors...
* Checking: File has a missing target in stripe pattern ...
>>> Found 1 errors. Detailed information can also be found in /var/log/beegfs-fsck.out.
* Checking: Dangling directory entry ...
>>> Found 1 errors. Detailed information can also be found in /var/log/beegfs-fsck.out.
* Checking: Attributes of file inode are wrong ...
>>> Found 88 errors. Detailed information can also be found in /var/log/beegfs-fsck.out.
* Checking: Chunk has wrong permissions ...
>>> Found 12 errors. Detailed information can also be found in /var/log/beegfs-fsck.out.
Found 102 errors. Detailed information can also be found in /var/log/beegfs-fsck.out.