No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show file export_path

show file export_path

Function

The show file export_path command is used to export system data to a directory in the storage system and show the directory to users.

Format

show file export_path file_type=? [ controller_id=? ]

Parameters

Parameter

Description

Value

file_type=? File type.

The value can be "event", "log", "running_data", "configuration_data", "all_log", "smart", "workload", "call_home", "isolated_disklog", "running_disklog", "diagnostic_file", or "pool_critical_log", where:

  • "event": event files.
  • "log": log files.
  • "running_data": system running data files.
  • "configuration_data": system configuration files.
  • "all_log": all logs of the system.
  • "smart": disk smart information.
  • "workload": workload (only supported by the storage array).
  • "call_home": Call Home data.
  • "isolated_disklog": isolated disk log information.
  • "running_disklog": running disk log information.
  • "diagnostic_file": diagnostic file.
  • "pool_critical_log": key logs of the pool.
controller_id=? Controller ID.

The value is in the format of "XA", "XB", "XC", or "XD", where "X" indicates an integer from 0 to 3, for example, "0A" or "1C". Controller IDs are separated by commas (,). This parameter can be specified only when "file_type" is set to "log", "all_log", "call_home","isolated_disklog", or "smart".

disk_id Disk ID.

To obtain the value, run "show disk general" without parameters. This parameter can be specified only when "file_type" is set to "running_disklog".

Level

Administrator

Usage Guidelines

  • This "show file export_path" command is used to export system data to a directory in the storage system and show the directory to users.
  • This "show file export_path file_type=? [ controller_id=? ]" command is used to export system data of a specific controller to a directory in the storage system and show the directory to users. The save paths of "log", "all_log", "call_home", "isolated_disklog", "running_disklog", "smart", "workload" and "diagnostic_file" are not returned to users.
  • This command is used by information collection tools to gather system information, best to be run with the "delete file" command on the same node.

Example

  • Export system configuration data and show the save path to users.

    admin:/>show file export_path file_type=configuration_data 
    File Path : /OSM/export_import/db.dat
  • Send a notification of exporting the system Call Home data and return a message about whether the export is successful.

    admin:/>show file export_path file_type=call_home
    Command executed successfully.
  • Export the logs of the running disk, and return the controller ID and file name of the disk to users.

    admin:/>show file export_path file_type=running_disklog disk_id=DAE010.0
    WARNING: You are about to export the logs of the running disk. This operation will cause the storage performance to deteriorate during the collection.
    Suggestion: Do not run this command during peak hours.
    Have you read warning message carefully?(y/n)y
    Are you sure you really want to perform the operation?(y/n)y
    File Name : DAE010.0_6SL5P7DL0000N3273PV3.tgz
    Controller ID : 0A
  • Send a notification of exporting the system diagnostic file and return a message about whether the export is successful.

    admin:/>show file export_path file_type=diagnostic_file
    Command executed successfully.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

File Path

File storage path.

File Name

Disk log name (format: DiskID_SN.tgz). This parameter can be specified only when "file_type" is set to "running_disklog".

Controller ID

Controller ID. This parameter can be specified only when "file_type" is set to "running_disklog".

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 379776

Downloads: 51

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next