Normally, the corrupted entries are either reported by a user (e.g. I cannot access files in this directory), or are found by the server. Should the server abend, it will automatically send a mail message to the FATMEN manager. (Tailor the fatabend script as appropriate). The server log will then show which directory and/or entries were giving problems. Should this information be unavailable, one can find the corrupted entries by running the program fatloop2, as shown below (for a Unix system).
Running FATLOOP2
export FMLOGL=1 export FATSYS=CERN export FATGRP=L3 fatloop2 > fatloop2.log
This program attempts to retrieve each catalogue entry in turn. Should a directory or catalogue entry be corrupted, then it will terminate abnormally (via ZFATAL). Thus it is good practice to run this program on a regular basis, e.g. before a periodic backup.
An example of the log is shown below.
Output of the FATLOOP2 program
FATMEN system defaulted to CERN FATMEN group: L3 FMINIT. Initialisation of FATMEN package FATMEN 1.81/07 930203 08:50 CERN PROGRAM LIBRARY FATMEN=Q123 This version created on 930203 at 852 FMLOGL. setting log level to 1 Get: //CERN/L3/CDREMM/CC132563 Get: //CERN/L3/CDREMM/CC132563 Get: //CERN/L3/CDREMM/CC132563 Get: //CERN/L3/CDREMM/CC132564 ... Get: //CERN/L3/PROD/DATA/SDRETT/CC02H8G2 Get: //CERN/L3/PROD/DATA/SDRETT/CC02H8IU Get: //CERN/L3/PROD/DATA/SDRETT/CC02HBJ6 Get: //CERN/L3/PROD/DATA/SDRETT/CC02HBGE Get: //CERN/L3/PROD/DATA/SDRETT/CC02HBJ6 Get: //CERN/L3/PROD/DATA/SDRETT/CC02HBGE Get: //CERN/L3/PROD/DATA/SDRETT/CC02HBLY !!!!! ZFATAL called from MZGAR1 called from FZIMTB !!!!! ZFATAL reached from MZGAR1 for Case= 1 IQUEST(11) = ********* DFE0035F ^C_ Current Store number = 0 (JQDIVI=19) 1ZEBRA SYSTEM Post-Mortem from ZPOSTM. /QUEST/ 0 1 3835 47 0 1 1030 10 1297762113 1378951200 -538967201 0 19 981191424 12309 930127 1428 180 0 1019 644 645 646 647 648 649 650 651 652 653 654 655 656 657 3742 3836 203 204 205 206 00000000 00000001 00000EFB 0000002F 00000000 00000001 00000406 0000000A 4D5A4741 52312020 DFE0035F 00000000 00000013 3A7BCB00 00003015 000E314F 00000594 000000B4 00000000 000003FB 00000284 00000285 00000286 00000287 00000288 00000289 0000028A 0000028B 0000028C 0000028D 0000028E 0000028F 00000290 00000291 00000E9E 00000EFC 000000CB 000000CC 000000CD 000000CE