Starts the utility that performs a consistency check on the metadata for the entire system or a set of filesets, generates messages in the cluster log, and optionally repairs inconsistencies in the metadata.
>>-startmetadatacheck--+----------+--+-----------+--------------> +- –?----+ '- –quiet-' +- –h----+ '- –help-' >--+------------+--+--------------------------+-----------------> '- –repair-' '- –scope--+-all-------+-' +-content---+ '-structure-' >--+-----------------------+------------------------------------> '- –type--+-all-----+-' +-fileset-+ '-system--' >--+-------------------------------+--------------------------->< | .-,------------. | | V | | '- –fileset----fileset_name-+-'
You must have Administrator privileges to use all parameters in this command. Users with Backup privileges are not allowed to use the –repair parameter.
You must be logged in to the operating system on the engine hosting the master metadata server to run this command.
This command is useful when you suspect inconsistencies in the metadata or after a major restoration of the system.
The metadata checker validates metadata and, if the –repair parameter is specified, it also repairs inconsistencies. Check the messages that it generates in the cluster log to determine if there has been a loss of data. You might need to recover lost data from backup or recreate it by reissuing administrative commands.
The metadata checker prints an informational message in the cluster log when it starts and completes, and for each fileset that it processes. It also prints an error or severe message for each problem that it encounters. When the –repair parameter is specified, it also prints an error message as it repairs inconsistencies. The command line interface issues either a successful repair or integrity lost message, which indicates that the repair was not successful. Even with a report of a successful repair, you should check the log messages because data recovery or issuing administrative commands might still be necessary.
sfscli> startmetadatacheck -repair -scope structure -type system Are you sure you want to start a metadata check process? [y/n] Y
Parent topic: Administrative commands
Related reference
builddrscript
lsdrfile
mkdrfile
rmdrfile
stopmetadatacheck