vStor 4.10
Catalogic SoftwareKnowledge BaseMySupport
  • Welcome to vStor!
  • Introduction
  • Installation
    • Deploying Catalogic vStor on Physical Appliances
    • Deploying Catalogic vStor Virtual Appliance for VMware
    • Deploying Catalogic vStor Virtual Appliance for Microsoft Hyper-V
    • Required Ports for Catalogic vStor
    • Updating Catalogic vStor
  • Quick Start
    • Catalogic vStor for VMware
    • Catalogic vStor for Hyper-V
  • Basic Configuration
    • Initializing vStor
    • Adding Catalogic vStor Node to Catalogic DPX
      • Using vStor API Keys with Catalogic DPX
    • Configuring vStor System Settings
      • Basic System Configuration
      • Security and Network
      • Data Management and Optimization
      • System Monitoring and Maintenance
    • Configuring Network Settings of Catalogic vStor
    • Backing up Configuration Settings of Catalogic vStor
    • Restoring Configuration Settings of Catalogic vStor
  • Storage Management
    • Adding Disks to Catalogic vStor
    • Managing Storage Pools in Catalogic vStor
    • Managing Volumes in Catalogic vStor
      • Migrating Volumes in Catalogic vStor
    • Managing Shares in Catalogic vStor
    • Managing Hosts for LUN Volumes in Catalogic vStor
  • Data Protection
    • Catalogic vStor Backup and Recovery
    • Creating vStor Partnerships
      • Creating Replication Groups
    • Enabling Volume Encryption
  • Advanced Configuration
    • Using Multipath Storage for Catalogic vStor
    • Certificates in Catalogic vStor
    • Adding Encryption URLs to Catalogic vStor
    • MinIO Buckets in Catalogic vStor
    • Assigning an E-mail to the vStor Account
    • Managing vStor User Accounts
    • Using Multi-factor Authentication (MFA) in vStor
  • vStor Command Line Interface
    • Catalogic vStor Server CLI Overview
  • Best Practices
    • Hardware Configurations: Best Practices
    • Data Backup: Best Practices
    • Data Archiving: Best Practices
    • Backup Storage: Best Practices
    • Frequently Asked Questions: Best Practices
Powered by GitBook
On this page
  • The vStor Command Line Interface
  • Using the CLI
  1. vStor Command Line Interface

Catalogic vStor Server CLI Overview

PreviousUsing Multi-factor Authentication (MFA) in vStorNextHardware Configurations: Best Practices

Post-installation and initialization of vStor storage, you may need to configure and manage aspects like network settings or storage pools. The vStor CLI offers granular management, complementing the vStor Management Interface.

The vStor Command Line Interface

Attention! Executing vStor CLI commands without understanding their functions can lead to data loss. It is advised to use these commands primarily under the guidance of Catalogic Software Support to ensure safe and correct operation.

You can run vstor command as root or a user with administrative privileges.

Use the vstor user create command to create a new vStor user and assign it admin privileges.

For default access and credentials, see .

Using the CLI

The CLI consists of several commands and subcommands that manage various aspects of your vStor instance.

To list all the available commands use:

vstor --help
[admin@someusername ~]$ vstor --help
Usage: vstor [OPTIONS] COMMAND [ARGS]...

Options:
  --json     Show output in JSON format.
  --summary  Show output in summary (tabular) format.
  --detail   Show output in detail (multiline) format.
  --help     Show this message and exit.

Commands:
  authenticator  Manage authenticators.
  disk           Manage disks.
  host           Manage volume host mappings.
  minio          Manage MinIO servers.
  ...

You can pass the --help flag to any command or subcommand to view usage help, for example:

vstor pool create --help
[admin@someusername ~]$ vstor pool create --help
Usage: vstor pool create [OPTIONS]

    Create a storage pool.
Options:
    --name TEXT           Pool name. [required]
    --pool_type TEXT      Pool type: raid0 (default), raid5, raid6.
    --compression         Enable compression: on (default) or off.
    ...

To use any of the options provided by the command, simply call the option and provide your value:

vstor pool create --name pool1
vstor pool create --name pool1                                                                                                                                                                                                                                                                                                                                                                      ID: 5                                                                                                 NAME: pool1                                                                                           POOL TYPE: raid0                                                                                      STATE: ONLINE                                                                                         HEALTH: 100                                                                                           COMPRESSION: Yes                                                                                      COMPRESSION RATIO: 1.00                                                                               DEDUPLICATION: No                                                                                     DEDUPLICATION RATIO: 1.00                                                                             SYNC WRITE: No                                                                                        TOTAL SPACE: 96.39GB                                                                                  FREE SPACE: 96.39GB                                                                                   USED SPACE: 156.50KB                                                                                  DATA SIZE BEFORE DEDUPLICATION: 117.00KB                                                              DATA SIZE BEFORE COMPRESSION: 43.00KB                                                                 CREATED: 2023-11-23 14:04:43 UTC                                                                      UPDATED: 2023-11-23 14:04:43 UTC                                                                      DISKS PER RAID GROUP: 1                                                                               DISKS IN POOL:                                                                                            RAID0:                                                                                                    /dev/sdb1 
Initializing vStor