Run a File System Check Automatically
This feature adds the option to perform an automatic file system check if the FortiGate shuts down ungracefully.
By default, automatic file system check is disabled. When disabled, the next time an administrator logs in after an ungraceful shutdown, a warning message will advise them to manually run a file system check.
GUI warning:
CLI warning:
WARNING: File System Check Recommended! Unsafe reboot may have caused inconsistency in disk drive. It is strongly recommended that you check file system consistency before proceeding. Please run 'execute disk scan 17' Note: The device will reboot and scan during startup. This may take up to an hour
Enable automatic file system checks
Automatic file system checking can be enabled using both the GUI and the CLI.
To enable automatic file system checks in the GUI:
- On the FortiGate, go to System > Settings.
- In the Start Up Settings section, enable Auto file system check.
- Click Apply.
To enable automatic file system checks using the CLI:
config system global set autorun-log-fsck enable end