Before upgrading FortiOS, FortiManager can first check the disk file system status on FortiGate.
To upgrade FortiOS with disk check enabled:
- Go to Device Manager > Firmware.
- Select a FortiGate, and click Upgrade.
The Upgrade Firmware dialog box is displayed.
- In the Upgrade to box, select an image, and click OK.
FortiManager checks the FortiGate disk before upgrading. If the check fails, the following information is displayed, and the upgrade is not performed:
If the check passes, the upgrade proceeds:
To disable disk check:
- Disable disk check by using the CLI:
config fmupdate fwm-setting
(fwm-setting)# set skip-disk-check enable
The default setting is
disable, which will check the FortiGate disk before upgrading FortiOS.
The following diagnose commands are also available for
show-dev-disk-check-status: Shows whether a device needs a disk check.
show-grp-disk-check-status: Shows whether device in a group needs a disk check.
In addition, when you log into FortiOS by using the CLI, you will be informed if you need to run a disk scan, for example:
$ ssh firstname.lastname@example.org
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