Appendix H: FortiPAM hardware RAID CLI commands
The FortiPAM hardware devices 1000G and 3000G are equipped with a hardware RAID card. All the hard disks are configured in the RAID-10 group.
For the FortiPAM hardware devices, in the CLI console, check the RAID status by entering the following command:
diagnose system raid status
Storcli RAID:
RAID Level: Raid-10
RAID Status: OK
RAID Size: 5587GB
Groups: 3
Disk 0: OK 1862GB Group-1
Disk 1: OK 1862GB Group-1
Disk 2: OK 1862GB Group-2
Disk 3: OK 1862GB Group-2
Disk 4: OK 1862GB Group-3
Disk 5: OK 1862GB Group-3
Disk 6: Unavailable 0GB
Disk 7: Unavailable 0GB
Disk 8: Unavailable 0GB
Disk 9: Unavailable 0GB
Disk 10: Unavailable 0GB
Disk 11: Unavailable 0GB
Disk 12: Unavailable 0GB
Disk 13: Unavailable 0GB
Disk 14: Unavailable 0GB
Disk 15: Unavailable 0GB
.
.
.
For the FortiPAM hardware devices, in the CLI console, check the disk status by entering the following command:
diagnose system disk health
Disk 0: SMART Health Status: OK
Disk 1: SMART Health Status: OK
Disk 2: SMART Health Status: OK
Disk 3: SMART Health Status: OK
Disk 4: SMART Health Status: OK
Disk 5: SMART Health Status: OK
Disk 6: Unavailable
Disk 7: Unavailable
Disk 8: Unavailable
Disk 9: Unavailable
Disk 10: Unavailable
Disk 11: Unavailable
Disk 12: Unavailable
Disk 13: Unavailable
Disk 14: Unavailable
Disk 15: Unavailable
.
.
.
For the FortiPAM hardware devices, in the CLI console, check the disk information by entering the following command:
diagnose system disk info
Disk 0:
Vendor: SEAGATE
Product: ST2000NM001B
Revision: N001
Compliance: SPC-5
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Logical block size: 512 bytes
LU is fully provisioned
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000c500d9c75b8b
Serial number: WRE06YSQ0000C246A3JM
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Thu Apr 13 12:12:44 2023 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
.
.
.
Creating a RAID-10 disk group on hardware FortiPAM
By default, FortiPAM 1000G and 3000G are configured in RAID-10. |
You can recreate RAID-10 using the CLI.
Since all the data on the disks are wiped off. You must perform a backup before using this CLI command. |
Use the following CLI command to create a RAID-10 disk group:
execute raid create-and-format
This operation will create RAID disk and format it to ext4 file system.
All existing data will be lost!
Do you want to continue? (y/n)
Hot swapping failed disks on FortiPAM 1000G/3000G
The following procedure was drawn from a simulated case of a failed disk. The procedure that applies to your use case may be different. |
- Unplug the disk.
- Run the
diagnose system raid status
CLI command.The disk status turns Unavailable.
- Plug the disk back.
The disk status turns Failed.
- Run the
execute raid delete \[disk-index\]
CLI command.After a while, the disk status turns Unused.
- Unplug the disk.
- After a while, plug the disk again.
- The disk status turns Rebuilding.
- Keep FortiPAM 1000G/3000G running.
After 10 hours, the disk status turns OK.
RAID is recovered.