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)
-
Fields including “Error”
/# MegaCli -PDList -aALL
Adapter #0
Enclosure Device ID: 69
Slot Number: 0
Drive's position: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: N/A
Device Id: 1
WWN: 55cd2e4152c655b7
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA
Raw Size: 894.252 GB [0x6fc81ab0 Sectors]
Non Coerced Size: 893.752 GB [0x6fb81ab0 Sectors]
Coerced Size: 893.75 GB [0x6fb80000 Sectors]
Sector Size: 512
Logical Sector Size: 512
Physical Sector Size: 4096
Firmware state: Online, Spun Up
Commissioned Spare : No
Emergency Spare : No
Device Firmware Level: 0120
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x300605b00f3769e1
Connected Port Number: 0(path0)
Inquiry Data: BTYG030302SJ960CGN INTEL SSDSC2KG960G8 XCV10120
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Solid State Device
Drive Temperature :13C (55.40 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Drive's NCQ setting : Enabled
Port-0 :
Port status: Active
Port's Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
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)