Chat now with support
Chat with Support

QoreStor 7.1.3 - 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 SAML 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

maintenance --filesystem [--clear_quarantine]

Description

Clears a specialized quarantine folder that collects data files considered corrupted after attempts have been made to perform repairs by the filesystem. The maintenance --filesystem CLI commands should only be performed when the QoreStor is in its Maintenance mode. This command should not need to be run on a regular basis (it should only be run when a lengthy period of time has elapsed or you feel that the space in the quarantine folder needs to be reclaimed).

Syntax

maintenance --filesystem --clear_quarantine

Result

Successfully performed quarantine cleanup.

maintenance --filesystem [--start_scan [verify_data | verify_rda_metadata | verify_metadata] [--storage_group <name>]

| verify_rda_metadata | verify_metadata] [--storage_group <name>]

Description

Starts filesystem checker to check for consistency issues in storage groups.

NOTE: Argument verify_data validates data with pre-built checksum. Argument verify_rda_metadata scans only OST and RDA containers. Argument verify_metadata scans the namespace for all containers.

NOTE: Using this command places the files system into a read-only mode and pauses all active replications. When the QoreStor enters Maintenance mode, an alert is sent that indicates this operational change.

Syntax

maintenance --filesystem --start_scan verify_data --storage_group SGTest1

Result

This operation will make the filesystem read-only and pause all active replications.
"verify_data" option will check for data consistency issues in the filesystem.  This might take long time to complete.
Do you want to continue (yes/no) [n]? y
Please enter the administrator password:

Filesystem check started successfully.

To see the status, please run "maintenance --filesystem --scan_status".

NOTE: Fast cache files created as part of CDP backups are scanned only as part of maintenance --filesystem –start_scan verify_rda_metadata option.

If you enter the maintenance --filesystem --scan_restart command when the QoreStor is not in Maintenance mode, the following output is displayed at the system prompt:

maintenance --filesystem --scan_restart

"Operation not supported as system is not in maintenance mode. 
To be able to restart scan, filesystem check must be running or waiting".

maintenance --filesystem [--stop_scan]

Description

Stops the filesystem scan process that verifies the data contained in a QoreStor.

Syntax

maintenance --filesystem --stop_scan

Result

This operation will stop the filesystem checker and put the system back into operational mode.
Do you want to continue (yes/no) [n]? y
Please enter the administrator password:
Filesystem check stopped successfully.

maintenance --diags --collect

Description

Generates a new diagnostics log file that represents the current state of a QoreStor. This command option is only available in the CLI.

Syntax

maintenance --diags 
	    [--collect [basic]] 
	    [--show] 
	    [--delete <name>] 
 	    [--delete_all]

Result

maintenance --diags --collect basic

Collecting diagnostics...

Collecting logs...
Diagnostics log location: /var/diagnostic_logs/anil-c81-tst1_2021-08-30_23-18-37.lzip
Done
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating