Fortinet black logo

Resizing the virtual disk (vDisk)

Copy Link
Copy Doc ID 6be4f260-fd12-11e8-b86b-00505692583a:356140

Resizing the virtual disk (vDisk)

The FortiWeb instance is preconfigured with 30 GB data disk size, which is not large enough for most deployments. Perform the steps introduced in this topic to resize the virtual disk. You can skip this step if you have deployed the FortiWeb-VM without embedded template and have already attached a data disk larger than 32 GB.

To resize the vDisk
If you are resizing the disk for an existing deployment of FortiWeb-VM, back up the logs and other non-configuration data before beginning this procedure. Formatting the disk will delete all data on that disk. For backup instructions, see the FortiWeb Administration Guide.

While resizing the vDisk, the FortiWeb-VM must be powered off.
  1. In the Microsoft Azure Dashboard, select Virtual Machines. Find the FortiWeb-VM you created.
  2. Right click the status, then select Stop. It's status will turn into Stopped (deallocated).
  3. Click the name of the VM to enter into its details page.
  4. Click Disks under Settings.
  5. Click the disk name under Data disks.
  6. Click Size + performance under Settings.
  7. Type the desired disk size and performance.
  8. Click Resize.
  9. Go to Virtual Machines, then find the FortiWeb VM.
  10. Right click the status, then select Start. Wait until its status turns into Running.
  11. Log in to FortiWeb-VM's CLI interface.
  12. Run execute formatlogdisk to clear the logs from the FortiWeb-VM's data disk and reformat the disk. FortiWeb will restart. The expanded space will not be recognized until the disk is reformatted.
  13. Log in to FortiWeb-VM's CLI interface.
  14. Run diagnose system mount list to verify if the disk is successfully resized.

Resizing the virtual disk (vDisk)

The FortiWeb instance is preconfigured with 30 GB data disk size, which is not large enough for most deployments. Perform the steps introduced in this topic to resize the virtual disk. You can skip this step if you have deployed the FortiWeb-VM without embedded template and have already attached a data disk larger than 32 GB.

To resize the vDisk
If you are resizing the disk for an existing deployment of FortiWeb-VM, back up the logs and other non-configuration data before beginning this procedure. Formatting the disk will delete all data on that disk. For backup instructions, see the FortiWeb Administration Guide.

While resizing the vDisk, the FortiWeb-VM must be powered off.
  1. In the Microsoft Azure Dashboard, select Virtual Machines. Find the FortiWeb-VM you created.
  2. Right click the status, then select Stop. It's status will turn into Stopped (deallocated).
  3. Click the name of the VM to enter into its details page.
  4. Click Disks under Settings.
  5. Click the disk name under Data disks.
  6. Click Size + performance under Settings.
  7. Type the desired disk size and performance.
  8. Click Resize.
  9. Go to Virtual Machines, then find the FortiWeb VM.
  10. Right click the status, then select Start. Wait until its status turns into Running.
  11. Log in to FortiWeb-VM's CLI interface.
  12. Run execute formatlogdisk to clear the logs from the FortiWeb-VM's data disk and reformat the disk. FortiWeb will restart. The expanded space will not be recognized until the disk is reformatted.
  13. Log in to FortiWeb-VM's CLI interface.
  14. Run diagnose system mount list to verify if the disk is successfully resized.