Appendix E: Enabling soft RAID on KVM or VMware
To expand hard disk capacity, you can enable RAID on the FortiPAM-VM. After RAID is enabled, hard disk capacity can be expanded from 2 TB to 16 TB.
Individual disks of sizes up to 2 TB are supported.
Soft RAID is supported on KVM and VMware platforms. Hyper-V and other platforms are not supported yet.
Note: Soft RAID for VMware requires disks of the same size.
RAID can only be configured using the CLI commands. |
Enabling, disabling, and changing the RAID level, erases all the data on the log and video disk. Also, the FortiPAM device reboots every time RAID is enabled, disabled, or the RAID level is changed. |
To configure RAID via CLI:
- Before enabling RAID, enter the following command in the CLI console to verify that the FortiPAM has multiple disks:
execute disk list
or
diagnose hardware deviceinfo disk
-
In the CLI console, enter the following command to enable RAID:
execute disk raid enable <RAID level> #The default value is Raid-0
Two partitions will be created after RAID is enabled. One partition for log and one for video.
To disable RAID, enter
execute disk raid disable
.When there are two disks, RAID
level 0
and1
are available. Only when there are four disks, RAIDlevel 5
and10
are available. - From the Admin dropdown in the banner, go to System > Reboot to reboot FortiPAM.
Reboot is only available when FortiPAM is in maintenance mode.
To enable the maintenance mode, see Enabling maintenance mode.
- In the Reboot window, click OK to confirm.
Optionally, enter an event log message.
- In the CLI console, check the RAID status by entering the following command:
execute disk raid status #Raid is now available
If the above steps do not enable RAID on FortiPAM-VM, use the following workaround:
- Factory reset your FortiPAM-VM.
- Remove disk from your FortiPAM-VM, then add the disk again.
- Now follow the steps in Configuring RAID via CLI.
Rebuilding a RAID with a different RAID level
Admin can only rebuild RAID at the same RAID level if a RAID error has been detected. Also, changing the RAID level takes a while and deletes all data on the disk.
Use the following CLI command to rebuild RAID:
execute disk raid rebuild-level <RAID level>