EasyManua.ls Logo

Fortinet Gate 60D - About Partition Labels

Fortinet Gate 60D
706 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WAN optimization and web caching Configuring WAN optimization storage
FortiGate Version 4.0 Administration Guide
01-400-89802-20090424 633
http://docs.fortinet.com/Feedback
partition 1 39.1 GB ref: 17 label: <none>
The command adds partition ref 17 to the device ref 16. The actual size of the partition
is 39.1 GBytes.
5 Enter the following command to add a WAN optimization storage named
web_cache_sto to be used for web caching. The command adds the WAN
optimization storage to partition reference 17.
execute scsi-dev storage 17 15000 web_cache_sto
Relabeling partition 17 (sdb2), current label: <none>
Partition labeled as 77A2A1AB1D0EF8B7
Storage created; size: 15000MB signature: web_cache_sto-
77A2A1AB1D0EF8B7
See About partition labels” on page 633 for more information about adding storages to
a partition.
6 Enter the following command to add a WAN optimization storage named
byte_cache_sto to be used for byte caching. The command adds the WAN
optimization storage to partition reference 17.
execute scsi-dev storage 17 24999 byte_cache_storage
Storage created; size: 24999MB signature: byte_cache_sto-
77A2A1AB1D0EF8B7
You cannot list these WAN optimization storages using the execute scsi-dev
command. Instead, you can use the following command to list the WAN optimization
storages that you have added:
get wanopt storage
== [ web_cache_sto ]
name: web_cache_sto partition-label: 77A2A1AB1D0EF8B7 partition-
size: 39999 storage-size: 15000
== [ byte_cache_sto ]
name: byte_cache_sto partition-label: 77A2A1AB1D0EF8B7
partition-size: 39999 storage-size: 24999
7 Enter the following commands to configure web caching to use the web_cache_sto
storage and byte caching to use the byte_cache_sto storage.
config wanopt cache-storage
set web-cache-storage web_cache_sto
set byte-cache-storage byte_cache_sto
About partition labels
The first time you add a storage to a partition using the execute scsi-dev storage
command the partition is labelled with a random string (in the above example
77A2A1AB1D0EF8B7). This label is used for all storages added to a given partition. A
different label is created for each partition. The labels appear when you use the execute
scsi-dev list command to list the partitions. In the following example, label is added
to partition reference 17.
execute scsi-dev list
Partition is created on /dev/sdb with file system; size: 40000MB
Device 1 74.5 GB ref: 0 (Vendor: ATA Model: FUJITSU
MHW2080B? Rev: 000)
partition 1 74.5 GB ref: 1 label: <none>
Note: If you set the storage to 25000 the following error message appears:
The space left to define more storages on this partition: 24999MB
Command fail. Return code -39

Table of Contents