Checking disk information & issues
1. Check hard disk & raid info:
FortiWeb# diagnose hardware harddisk list
name size(M)
sda 959656.76
sdb 8012.39
FortiWeb # diagnose system mount list
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/ram0 473 310 162 65% /
none 1164 31 1132 2% /tmp
none 3880 3 3877 0% /dev/shm
/dev/sdb1 362 254 89 74% /data
/dev/sdb3 91 0 86 0% /home
/dev/sda1 449651 7771 418971 1% /var/log
FortiWeb# diagnose hardware logdisk info
disk number: 1
disk[0] size: 937.16GB
raid level: raid1
partition number: 1
mount status: read-write
2. Check RAID information:
FortiWeb# diagnose hardware raid list
level size(M) disk-number
raid1 899811 0(OK),1(OK)
FortiWeb# diagnose hardware raid-card info
FW Package Build: 50.5.0-1121
MegaCli
Usually we need to pay attention to fields like below when checking the output:
-
Slot number and device ID
-
Firmware status (a failed disk will show Failed)
3. Initialize RAID:
Use the this command to initialize the RAID
Currently, only RAID level 1 is supported, and only on FortiWeb 1000B/C/D/E, 2000E, 3000C/CFsx, 3000E, and 4000E shipped with FortiWeb 4.0 MR1 or later.
FortiWeb# execute create-raid level raid1
4. Rebuild RAID:
Use this command to rebuild the RAID.
Currently, only RAID level 1 is supported, and only on FortiWeb-1000B, 1000C, 3000C/CFsx, 3000E, and 4000E shipped with FortiWeb 4.0 MR1 or later.
FortiWeb# execute create-raid rebuild
This operation will clear all data on disk :0!
Do you want to continue? (y/n)