Chat now with support
Chat with Support

QoreStor 6.0.0 - Command Line Reference Guide

Introduction to the QoreStor Command Line Reference Guide Introducing QoreStor Managing QoreStor
Alerts Commands Authenticate Commands Email_alerts Commands OST RDA Sc_manager command Stats Storage Group commands System User
Managing QoreStor Storage Operations
Cloud_tier Connection Container iSCSI NDMP Performance_tier Replication Seed Schedule VTL
Maintaining QoreStor About us

vtl --set_rw --name <name> [--id <number>]

Description

This command allows you to set the drives in a VTL container to read/write. The arguments to this command are as follows:

  • --name — Specifies the name of a valid VTL container.
  • --id — Sets the IO mode of a specific drive to RW.

Syntax

vtl --set_rw --name <name> [--id <number>]

Where

--name   Name of a valid VTL container
--id     Set the io mode of a particular drive to rw

Result

I/O mode set to readwrite for the drive with id 81 in container ndmp

vtl --show_replstate --name <name>

Description

This command shows the replication state of a specified VTL replication source container.

Syntax

vtl --show_replstate --name <name>

Where

--name   Name of a valid VTL replication source container

Result

Cartridges with data, INSYNC with peer:
---------------------------------------
 AFNGC6003 AFNGC6004 AFNGC6005 AFNGC6006 AFNGC6007 AFNGC6008 AFNGC6009 AFNGC600A
 AFNGC600B AFNGC600C AFNGC600D AFNGC600E AFNGC600F AFNGC600G AFNGC600H AFNGC600I
 AFNGC600J AFNGC600K AFNGC600L AFNGC600M AFNGC600N AFNGC600O AFNGC600Q AFNGC600R
 AFNGC600S AFNGC600T AFNGC600V AFNGC600W AFNGC600X AFNGC600Y AFNGC600Z AFNGC6010
 AFNGC6011 AFNGC6012 AFNGC6013 AFNGC6014 AFNGC6002 AFNGC6001
Total 38 cartridges synchronized with peer VTL.

Cartrdges with data, not INSYNC with peer:
------------------------------------------
 None.
Total 0 cartridges NOT synchronized with peer VTL.

Cartridges that do not have data are not displayed.

vtl --help

Description

Displays the list of vtl-related options that can be used as a reference when using the QoreStor CLI.

Syntax

vtl --help

Result

Usage:
	vtl --show [--verbose]
		[--name <name>]
				
	vtl --update_carts --name <name>
		--add
		--no_of_tapes <number>
				
	vtl --import_cart --name <name>
		--barcode <barcode>
				
	vtl --activate --name <name>
		[--force <yes|no>]
				
	vtl --deactivate --name <name>
				
	vtl --rescan --name <name>
		[--force <yes|no>]
				
	vtl --set_rw --name <name>
		[--id <number>]
				
	vtl --show_replstate --name <name>
				
	vtl --help
				
	vtl <command> <command-arguments>
	<command> can be one of:
		--show             Displays command specific information.
		--update_carts     Add cartridges
		--import_cart      import cartridges from cloud
		--activate         Activate a replica VTL
		--deactivate       De-activate a replica VTL
		--rescan           Rescan a replica VTL
		--set_rw           Set drives in a vtl container to read write
		--show_replstate   Show replication state of a container
	For command-specific help, please type vtl --help <command>
		eg:
		vtl --help show
		

Maintaining QoreStor

This topic introduces the CLI commands that are useful for managing the filesystem and performing system maintenance-related tasks.

  • The Maintenance command and its options are used to perform filesystem and system maintenance.
Related Documents