Verify the integrity of the archive files
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
In cases of hardware failure, record chains can become inconsistent. To examine broken pointers and verify archive integrity, use the archive check utility. Run this command on unregistered archive files or when the server is inactive.
-
At a command prompt, go to the PI\adm directory.
-
Type the command:
Where path is the full path to the archive.
Note: You can specify the optional parameter, as in: , to include details about each record in the report, including the start time, number of events, and fill ratio of the data record.
The command generates a report that displays:
-
List of points sorted by record number (RecNo)
-
Number of index records (indices)
-
Number of data records
-
Count of events in all records and the average fill ratio (fr)
The archive offline utility, piarchss, repairs any record chaining problem. For details, see Offline archive file management with piarchss.
-
Points receiving events in order with no edits or remove events typically have a fill ratio close to 100%.
Note: Since the last record in a chain is rarely full, the fill ratio is rarely at exactly 100%.