This topic introduces the system command usage:
- system --show [options]
- system --license [options]
- system --storage [options]
- system --help
|
NOTE: If you specify a command without supplying the expected value or option, you will be prompted to provide the correct value or option. |
Description
Displays information about the current QoreStor configuration.
Syntax
system --show [--storage] [--license] [--verbose] [--version]
Where
--storage Display system storage information.
--license Shows the installed license.
--verbose Shows more information.
--version Display software version of the system.
system --show shows maintenance status as follows when partial ofsck is invoked.
Reason : Filesystem is partially operational for I/O.
Maintenance Status : Storage group [DefaultGroup] is read-only. (Filesystem Checker is in progress)
Result
Version : 5.0.0
Build : 155
Description
QoreStor installs with a 1 TB trial license. If you have purchased a perpetual license, you can install it using the system --license command, as described below.
When you have downloaded your license file, you will need to copy it to the QoreStor server before installing the license. In the examples below <path> is used to represent the directory that contains the license file.
Syntax
system --license [--show] [--verbose] [--validate] [--file <path>] [--add] [--file <path>][--replace]
Where
--show Shows the installed license.
--verbose Shows more information.
--validate Validates the license file.
--add Installs the license file.
--replace Replace currently installed term licenses with the new license file.
--file License file path.
Result
License file is valid and can be installed.
To add a validated license for a QoreStor server, use the following QoreStor CLI command:
system --license --add --file <path>
License file has successfully installed.
Description
Adds the volume at the specified path to the QoreStor server and shows the current storage configuration.
Syntax
system --storage [--add] [--path <path>] [--show]
Where:
--add Add the data storage.
--show Show the data storage.
--path Path to the data storage.
Result
ENCLs Path Total(GiB) Available(GiB) Used(GiB) Status
ENCL_0 /quest/ocaroot 599 307 292 On
Other Examples
To add storage to QoreStor, use the command below. In this example, the path to the storage is /qs4.
system --storage --add --path /qs4
Result
Running IOPS tests on /qs4, takes few minutes
Sequential and Random IOPS tests passsed on /qs4
WARNING: IO will be stopped during storage addition.
Do you want to continue (yes/no) [n]? yes
Stopping filesystem... Done.
Configuring data storage volume... Done.
Starting filesystem... Done.