Fortinet Document Library

Version:

Version:

Version:

Version:


Table of Contents

Administration Guide

Download PDF
Copy Link

RAID

Most FortiGate devices with multiple disk drives (SSD or HHD) can be configured to use RAID.

Caution

Enabling or disabling RAID, and changing the RAID level, erases all data on the log disk and reboots the device.

To verify that the FortiGate has multiple disks:
  • List disk devices and partitions:

    # execute disk list
    
    Disk SSD1 ref: 255 223.6GiB type: SSD [ATA INTEL SSDSC2KB24] dev: /dev/sda
      partition ref: 1 220.1GiB, 219.0GiB free mounted: Y label: LOGUSEDXA707476A dev: /dev/sda1 start: 2048
    
    Disk SSD2 ref: 16 223.6GiB type: SSD [ATA INTEL SSDSC2KB24] dev: /dev/sdb
      partition ref: 17 62.7GiB, 62.4GiB free mounted: Y label: WANOPTXX1FEBBFA1 dev: /dev/sdb1 start: 2048
      partition ref: 18 63.7GiB, 63.7GiB free mounted: N label: dev: /dev/sdb2 start: 133625856
      partition ref: 19 85.0GiB, 85.0GiB free mounted: N label: dev: /dev/sdb3 start: 267249664
  • Display information about all of the disks:

    # diagnose hardware deviceinfo disk
    
    Disk SSD1 ref: 255 223.6GiB type: SSD [ATA INTEL SSDSC2KB24] dev: /dev/sda
      partition ref: 1 220.1GiB, 219.0GiB free mounted: Y label: LOGUSEDXA707476A dev: /dev/sda1 start: 2048
    
    Disk SSD2 ref: 16 223.6GiB type: SSD [ATA INTEL SSDSC2KB24] dev: /dev/sdb
      partition ref: 17 62.7GiB, 62.4GiB free mounted: Y label: WANOPTXX1FEBBFA1 dev: /dev/sdb1 start: 2048
      partition ref: 18 63.7GiB, 63.7GiB free mounted: N label: dev: /dev/sdb2 start: 133625856
      partition ref: 19 85.0GiB, 85.0GiB free mounted: N label: dev: /dev/sdb3 start: 267249664
    
    Disk SYSTEM(boot) 14.9GiB type: SSD [ATA 16GB SATA Flash] dev: /dev/sdc
      partition 247.0MiB, 155.0MiB free mounted: N label: dev: /dev/sdc1(boot) start: 1
      partition 247.0MiB, 154.0MiB free mounted: Y label: dev: /dev/sdc2(boot) start: 524289
      partition ref: 35 14.2GiB, 14.0GiB free mounted: Y label: dev: /dev/sdc3 start: 1048577
    
    Disk USB-6(user-usb) ref: 48 28.6GiB type: USB [SanDisk Ultra] dev: /dev/sdd <<<<<<===this info for usb disk because i have usb disk on FGT301E
      partition ref: 49 28.6GiB, 28.6GiB free mounted: Y label: dev: /dev/sdd1 start: 0
    
    Total available disks: 4
    Max SSD disks: 2 Available storage disks: 2
To check the RAID status:
  • RAID enabled:

    # execute disk raid status
    RAID Level: Raid-1
    RAID Status: OK (Background-Synchronizing) (9%)
    RAID Size: 239GB
    
    Disk 1: OK Used 228GB
    Disk 2: OK Used 228GB
  • RAID disabled:

    # execute disk raid status
    RAID Level: Unavailable
    RAID Status: Unavailable
    RAID Size: 0GB
    
    Disk 1: OK Not-Used 228GB
    Disk 2: OK Not-Used 228GB
To enable RAID:
# execute disk raid enable
This will erase all data on the log disk, and system will reboot!
Do you want to continue? (y/n)y

Dependent storage SSD2 removed.
Dependent storage SSD1 removed.
Raid-0 created with 2 disks.

Performing raid on the requested disk(s) and rebooting, please wait.. .

Configuring raid...
- unmounting /data2 : ok
- unmounting /var/log : ok
- unmounting /usb : ok
- unmounting /var/storage/SSD2-WANOPTXX0EA0EF17 : ok

Formatting the disk...
- unmounting /usb : ok
Formatting /dev/md0 ... done

The system is going down NOW !!

Please stand by while rebooting the system.
Restarting system.
To rebuild the RAID:
# execute disk raid rebuild
To rebuild the RAID to another level:
  1. Check the supported RAID levels:

    # execute disk raid rebuild-level
    <RAID level> supported: Raid-0, Raid-1
  2. Rebuild the RAID to the required level:

    # execute disk raid rebuild-level Raid-1
    This will erase all data on the log disk, and system will reboot!
    Do you want to continue? (y/n)y
    
    Dependent storage RAID removed.
    Raid-1 created with 2 disks.
    
    Performing raid on the requested disk(s) and rebooting, please wait...
    
    Configuring raid...
    - unmounting /data2 : ok
    - unmounting /var/log : ok
    - unmounting /usb : ok
    
    Formatting the disk...
    - unmounting /usb : ok
    Formatting /dev/md0 ... done
    
    
    The system is going down NOW !!
    
    Please stand by while rebooting the system.
    Restarting system.
To disable RAID:
# execute disk raid disable
This will erase all data on the log disk, and system will reboot!
Do you want to continue? (y/n)y

Dependent storage RAID removed.

Performing format on the requested disk(s) and rebooting, please wait...

Configuring raid...
- unmounting /data2 : ok
- unmounting /var/log : ok
- unmounting /usb : ok

Formatting the disk...
Partitioning and formatting /dev/sda label LOGUSEDX3D36836D ... done
Partitioning and formatting /dev/sdb label WANOPTXX1FEBBFA1 ...
Sending request for partno=0 start=2048 stop=133624230
Sending request for partno=1 start=133625856 stop=267248460
Sending request for partno=2 start=267249664 stop=445414150
done

The system is going down NOW !!

Please stand by while rebooting the system.
Restarting system.
FortiGate-301E (11:11-04.30.2018)
.
Reading boot image 3017355 bytes.
Initializing firewall...
System is starting...

RAID

Most FortiGate devices with multiple disk drives (SSD or HHD) can be configured to use RAID.

Caution

Enabling or disabling RAID, and changing the RAID level, erases all data on the log disk and reboots the device.

To verify that the FortiGate has multiple disks:
  • List disk devices and partitions:

    # execute disk list
    
    Disk SSD1 ref: 255 223.6GiB type: SSD [ATA INTEL SSDSC2KB24] dev: /dev/sda
      partition ref: 1 220.1GiB, 219.0GiB free mounted: Y label: LOGUSEDXA707476A dev: /dev/sda1 start: 2048
    
    Disk SSD2 ref: 16 223.6GiB type: SSD [ATA INTEL SSDSC2KB24] dev: /dev/sdb
      partition ref: 17 62.7GiB, 62.4GiB free mounted: Y label: WANOPTXX1FEBBFA1 dev: /dev/sdb1 start: 2048
      partition ref: 18 63.7GiB, 63.7GiB free mounted: N label: dev: /dev/sdb2 start: 133625856
      partition ref: 19 85.0GiB, 85.0GiB free mounted: N label: dev: /dev/sdb3 start: 267249664
  • Display information about all of the disks:

    # diagnose hardware deviceinfo disk
    
    Disk SSD1 ref: 255 223.6GiB type: SSD [ATA INTEL SSDSC2KB24] dev: /dev/sda
      partition ref: 1 220.1GiB, 219.0GiB free mounted: Y label: LOGUSEDXA707476A dev: /dev/sda1 start: 2048
    
    Disk SSD2 ref: 16 223.6GiB type: SSD [ATA INTEL SSDSC2KB24] dev: /dev/sdb
      partition ref: 17 62.7GiB, 62.4GiB free mounted: Y label: WANOPTXX1FEBBFA1 dev: /dev/sdb1 start: 2048
      partition ref: 18 63.7GiB, 63.7GiB free mounted: N label: dev: /dev/sdb2 start: 133625856
      partition ref: 19 85.0GiB, 85.0GiB free mounted: N label: dev: /dev/sdb3 start: 267249664
    
    Disk SYSTEM(boot) 14.9GiB type: SSD [ATA 16GB SATA Flash] dev: /dev/sdc
      partition 247.0MiB, 155.0MiB free mounted: N label: dev: /dev/sdc1(boot) start: 1
      partition 247.0MiB, 154.0MiB free mounted: Y label: dev: /dev/sdc2(boot) start: 524289
      partition ref: 35 14.2GiB, 14.0GiB free mounted: Y label: dev: /dev/sdc3 start: 1048577
    
    Disk USB-6(user-usb) ref: 48 28.6GiB type: USB [SanDisk Ultra] dev: /dev/sdd <<<<<<===this info for usb disk because i have usb disk on FGT301E
      partition ref: 49 28.6GiB, 28.6GiB free mounted: Y label: dev: /dev/sdd1 start: 0
    
    Total available disks: 4
    Max SSD disks: 2 Available storage disks: 2
To check the RAID status:
  • RAID enabled:

    # execute disk raid status
    RAID Level: Raid-1
    RAID Status: OK (Background-Synchronizing) (9%)
    RAID Size: 239GB
    
    Disk 1: OK Used 228GB
    Disk 2: OK Used 228GB
  • RAID disabled:

    # execute disk raid status
    RAID Level: Unavailable
    RAID Status: Unavailable
    RAID Size: 0GB
    
    Disk 1: OK Not-Used 228GB
    Disk 2: OK Not-Used 228GB
To enable RAID:
# execute disk raid enable
This will erase all data on the log disk, and system will reboot!
Do you want to continue? (y/n)y

Dependent storage SSD2 removed.
Dependent storage SSD1 removed.
Raid-0 created with 2 disks.

Performing raid on the requested disk(s) and rebooting, please wait.. .

Configuring raid...
- unmounting /data2 : ok
- unmounting /var/log : ok
- unmounting /usb : ok
- unmounting /var/storage/SSD2-WANOPTXX0EA0EF17 : ok

Formatting the disk...
- unmounting /usb : ok
Formatting /dev/md0 ... done

The system is going down NOW !!

Please stand by while rebooting the system.
Restarting system.
To rebuild the RAID:
# execute disk raid rebuild
To rebuild the RAID to another level:
  1. Check the supported RAID levels:

    # execute disk raid rebuild-level
    <RAID level> supported: Raid-0, Raid-1
  2. Rebuild the RAID to the required level:

    # execute disk raid rebuild-level Raid-1
    This will erase all data on the log disk, and system will reboot!
    Do you want to continue? (y/n)y
    
    Dependent storage RAID removed.
    Raid-1 created with 2 disks.
    
    Performing raid on the requested disk(s) and rebooting, please wait...
    
    Configuring raid...
    - unmounting /data2 : ok
    - unmounting /var/log : ok
    - unmounting /usb : ok
    
    Formatting the disk...
    - unmounting /usb : ok
    Formatting /dev/md0 ... done
    
    
    The system is going down NOW !!
    
    Please stand by while rebooting the system.
    Restarting system.
To disable RAID:
# execute disk raid disable
This will erase all data on the log disk, and system will reboot!
Do you want to continue? (y/n)y

Dependent storage RAID removed.

Performing format on the requested disk(s) and rebooting, please wait...

Configuring raid...
- unmounting /data2 : ok
- unmounting /var/log : ok
- unmounting /usb : ok

Formatting the disk...
Partitioning and formatting /dev/sda label LOGUSEDX3D36836D ... done
Partitioning and formatting /dev/sdb label WANOPTXX1FEBBFA1 ...
Sending request for partno=0 start=2048 stop=133624230
Sending request for partno=1 start=133625856 stop=267248460
Sending request for partno=2 start=267249664 stop=445414150
done

The system is going down NOW !!

Please stand by while rebooting the system.
Restarting system.
FortiGate-301E (11:11-04.30.2018)
.
Reading boot image 3017355 bytes.
Initializing firewall...
System is starting...