Fortinet black logo

FortiManager performs disk check on FortiGate before upgrading firmware

FortiManager performs disk check on FortiGate before upgrading firmware

Before upgrading FortiOS, FortiManager can first check the disk file system status on FortiGate.

To upgrade FortiOS with disk check enabled:
  1. Go to Device Manager > Firmware.
  2. Select a FortiGate, and click Upgrade.

    The Upgrade Firmware dialog box is displayed.

  3. 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:
  1. 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 diagnose fwmanager:

  • 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 admin@193.168.70.137

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

FortiManager performs disk check on FortiGate before upgrading firmware

Before upgrading FortiOS, FortiManager can first check the disk file system status on FortiGate.

To upgrade FortiOS with disk check enabled:
  1. Go to Device Manager > Firmware.
  2. Select a FortiGate, and click Upgrade.

    The Upgrade Firmware dialog box is displayed.

  3. 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:
  1. 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 diagnose fwmanager:

  • 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 admin@193.168.70.137

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