サポートと今すぐチャット
サポートとのチャット

QoreStor 7.1.0 - Command Line Reference Guide

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

vtl --restore

Description

Initiate restore of cart(s) data from an archive storage tier to a c loud storage tier

Syntax

vtl --restore --name <name> --barcode <barcode>

Where

--name          Name of a valid VTL container
--barcode       Comma seperated list of cartridge(s) barcode that need to be restored from the archive storage tier

Result

container:"<name>" cart:"<barcode>" current status: ""

/opt/qorestor/bin/ctrlrpc -p 9911 -t 60 --container_id 8 --scid 1152921504606847078 --scid 1152921504606847080 --scid 1152921504606847079 --async --xattr_scid 1152921504606847259 --all_or_none: result: 0

Successfully Initiated restore job for <name> with barcode: <barcode>.

Restore initiation was successful for the following cart(s):"<barcode>"

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
		
関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択