Fortinet white logo
Fortinet white logo

CLI Reference

config system storage

config system storage

Configure logical storage.

config system storage
    Description: Configure logical storage.
    edit <name>
        set status [enable|disable]
        set media-status [enable|disable|...]
        set order {integer}
        set partition {string}
        set device {string}
        set size {integer}
        set usage [log|mix|...]
        set wanopt-mode [mix|wanopt|...]
    next
end

config system storage

Parameter

Description

Type

Size

Default

name

Storage name.

string

Maximum length: 35

default_n

status

Enable/disable storage.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

media-status

The physical status of current media.

option

-

disable

Option

Description

enable

Storage is enabled.

disable

Storage is disabled.

fail

Storage have some fail sector.

order

Set storage order.

integer

Minimum value: 0 Maximum value: 255

0

partition

Label of underlying partition.

string

Maximum length: 16

<unknown>

device

Partition device.

string

Maximum length: 19

?

size

Partition size.

integer

Minimum value: 0 Maximum value: 4294967295

0

usage

Use hard disk for logging and WAN Optimization.

option

-

mix

Option

Description

log

Use hard disk for logging.

mix

Use hard disk for logging and WAN Optimization.

wanopt

Use hard disk for WAN Optimization.

wanopt-mode

WAN Optimization mode

option

-

webcache

Option

Description

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.

config system storage

config system storage

Configure logical storage.

config system storage
    Description: Configure logical storage.
    edit <name>
        set status [enable|disable]
        set media-status [enable|disable|...]
        set order {integer}
        set partition {string}
        set device {string}
        set size {integer}
        set usage [log|mix|...]
        set wanopt-mode [mix|wanopt|...]
    next
end

config system storage

Parameter

Description

Type

Size

Default

name

Storage name.

string

Maximum length: 35

default_n

status

Enable/disable storage.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

media-status

The physical status of current media.

option

-

disable

Option

Description

enable

Storage is enabled.

disable

Storage is disabled.

fail

Storage have some fail sector.

order

Set storage order.

integer

Minimum value: 0 Maximum value: 255

0

partition

Label of underlying partition.

string

Maximum length: 16

<unknown>

device

Partition device.

string

Maximum length: 19

?

size

Partition size.

integer

Minimum value: 0 Maximum value: 4294967295

0

usage

Use hard disk for logging and WAN Optimization.

option

-

mix

Option

Description

log

Use hard disk for logging.

mix

Use hard disk for logging and WAN Optimization.

wanopt

Use hard disk for WAN Optimization.

wanopt-mode

WAN Optimization mode

option

-

webcache

Option

Description

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.