Documentation update
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
parent
d7e0bad5a4
commit
7b4837e240
@ -172,7 +172,7 @@ command there is a different list of available options:
|
||||
|
||||
.TP
|
||||
.B -d, --cache-device <DEVICE>
|
||||
Path to caching device to be used e.g. SSD device (/dev/sdb).
|
||||
Path to caching device using by-id link (e.g. /dev/disk/by-id/nvme-INTEL_SSDP...).
|
||||
|
||||
.TP
|
||||
.B -i, --cache-id <ID>
|
||||
@ -460,7 +460,7 @@ Identifier of cache instance <1-16384>.
|
||||
|
||||
.TP
|
||||
.B -d, --core-device <DEVICE>
|
||||
Path to core device e.g. HDD device.
|
||||
Path to core device using by-id link (e.g. /dev/disk/by-id/wwn-0x1234567890b100d).
|
||||
|
||||
.TP
|
||||
.B -j, --core-id <ID>
|
||||
@ -491,6 +491,11 @@ Path to core device to be removed from core pool.
|
||||
.B -o, --output-format {table|csv}
|
||||
Defines output format for list of all cache instances and core devices. It can be either \fBtable\fR (default) or \fBcsv\fR.
|
||||
|
||||
.TP
|
||||
.B -b --by-id-path
|
||||
Display path to devices in long format (/dev/disk/by-id/some_link).
|
||||
If this option is not given, displays path in short format (/dev/sdX) instead.
|
||||
|
||||
.SH Options that are valid with --stats (-P) are:
|
||||
.TP
|
||||
.B -i, --cache-id <ID>
|
||||
@ -499,7 +504,7 @@ Identifier of cache instance <1-16384>.
|
||||
.TP
|
||||
.B -j, --core-id <ID>
|
||||
Identifier of core instance <0-4095> within given cache instance. If this option is
|
||||
not given, aggregate statistics for whole cache instance are printed instead.
|
||||
not given, aggregated statistics for whole cache instance are printed instead.
|
||||
|
||||
.TP
|
||||
.B -d, --io-class-id <ID>
|
||||
@ -531,6 +536,11 @@ Default for --filter option is \fBall\fR.
|
||||
Defines output format for statistics. It can be either \fBtable\fR
|
||||
(default) or \fBcsv\fR.
|
||||
|
||||
.TP
|
||||
.B -b --by-id-path
|
||||
Display path to device in long format (/dev/disk/by-id/some_link).
|
||||
If this option is not given, displays path in short format (/dev/sdX) instead.
|
||||
|
||||
.SH Options that are valid with --reset-counters (-Z) are:
|
||||
.TP
|
||||
.B -i, --cache-id <ID>
|
||||
@ -576,19 +586,6 @@ Identifier of cache instance <1-16384>.
|
||||
Defines output format for printed IO class configuration. It can be either
|
||||
\fBtable\fR (default) or \fBcsv\fR.
|
||||
|
||||
.SH Options that are valid with --nvme --format (-N -F) are:
|
||||
|
||||
.TP
|
||||
.B -d, --device <DEVICE>
|
||||
Path to NVMe device to be formatted (e.g. /dev/nvme0).
|
||||
|
||||
.TP
|
||||
.B -f, --force
|
||||
Force to format NVMe device. By default device will not be formatted if utility
|
||||
detects on the device file system or presence of dirty data after cache dirty
|
||||
shutdown. This parameter formats NVMe namespace regardless to this situations.
|
||||
|
||||
|
||||
.SH Command --help (-H) does not accept any options.
|
||||
.BR
|
||||
|
||||
|
@ -5,12 +5,13 @@ version=19.3.0
|
||||
# of this file please refer to appropriate documentation
|
||||
|
||||
# NOTES:
|
||||
# 1) It is highly recommended to specify cache/core device using path
|
||||
# that is constant across reboots - e.g. disk device links in
|
||||
# 1) It is required to specify cache/core device using links in
|
||||
# /dev/disk/by-id/, preferably those using device WWN if available:
|
||||
# /dev/disk/by-id/wwn-0x123456789abcdef0
|
||||
# Referencing devices via /dev/sd* may result in cache misconfiguration after
|
||||
# system reboot due to change(s) in drive order.
|
||||
# Referencing devices via /dev/sd* is prohibited because
|
||||
# may result in cache misconfiguration after system reboot
|
||||
# due to change(s) in drive order. It is allowed to use /dev/cas*-*
|
||||
# as a device path.
|
||||
|
||||
## Caches configuration section
|
||||
[caches]
|
||||
|
@ -41,7 +41,8 @@ Extra fields (optional) lazy_startup=<true,false>
|
||||
.TP
|
||||
\fBNOTES\fR
|
||||
.RS
|
||||
1) It is highly recommended to specify cache/core device using path that is constant across reboots - e.g. disk device links in /dev/disk/by-id/, preferably those using device WWN if available: /dev/disk/by-id/wwn-0x123456789abcdef0. Referencing devices via /dev/sd* may result in cache misconfiguration after system reboot due to change(s) in drive order.
|
||||
1) It is required to specify cache/core device using links in /dev/disk/by-id/, preferably those using device WWN if available: /dev/disk/by-id/wwn-0x123456789abcdef0.
|
||||
Referencing devices via /dev/sd* is prohibited because may result in cache misconfiguration after system reboot due to change(s) in drive order. It is allowed to use /dev/cas*-* as a device path.
|
||||
.TP
|
||||
2) To specify use of the IC Classification file, place ioclass_file=path/to/file.csv in caches configuration section under Extra fields (optional)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user