Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.0
Download PDF
Copy Link

system storage

Use this command to add and edit local disk storage settings.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

set usage {log | wanopt}

set wanopt-mode {mix | wanopt | webcache}

Disk configurations for WAN Opt have been merged to config system storage.

config system storage
    edit {name}
    # Configure logical storage.
        set name {string}   Storage name. size[35]
        set status {enable | disable}   Enable/disable storage.
        set media-status {enable | disable | fail}   The physical status of current media.
        set order {integer}   Set storage order. range[0-255]
        set partition {string}   Label of underlying partition. size[16]
        set device {string}   Partition device. size[19]
        set size {integer}   Partition size. range[0-4294967295]
        set usage {log | wanopt}   Use hard disk for logging or WAN Optimization (default = log).
                log     Use hard disk for logging.
                wanopt  Use hard disk for WAN Optimization.
        set wanopt-mode {mix | wanopt | webcache}   WAN Optimization mode (default = mix).
                mix       Use hard disk for WAN Optimization mix mode.
                wanopt    Use hard disk for WAN Optimization wanopt mode.
                webcache  Use hard disk for WAN Optimization webcache mode.
    next
end

system storage

Use this command to add and edit local disk storage settings.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

set usage {log | wanopt}

set wanopt-mode {mix | wanopt | webcache}

Disk configurations for WAN Opt have been merged to config system storage.

config system storage
    edit {name}
    # Configure logical storage.
        set name {string}   Storage name. size[35]
        set status {enable | disable}   Enable/disable storage.
        set media-status {enable | disable | fail}   The physical status of current media.
        set order {integer}   Set storage order. range[0-255]
        set partition {string}   Label of underlying partition. size[16]
        set device {string}   Partition device. size[19]
        set size {integer}   Partition size. range[0-4294967295]
        set usage {log | wanopt}   Use hard disk for logging or WAN Optimization (default = log).
                log     Use hard disk for logging.
                wanopt  Use hard disk for WAN Optimization.
        set wanopt-mode {mix | wanopt | webcache}   WAN Optimization mode (default = mix).
                mix       Use hard disk for WAN Optimization mix mode.
                wanopt    Use hard disk for WAN Optimization wanopt mode.
                webcache  Use hard disk for WAN Optimization webcache mode.
    next
end