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 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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=? ] [ disk_id=? ]

Parameters

Parameter

Description

Value

file_type=?

File type.

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

  • "event": indicates event files.
  • "log": indicates recent log files.
  • "running_data": indicates system running data files.
  • "configuration_data": indicates system configuration files.
  • "all_log": indicates all logs of the system.
  • "smart": indicates disk smart info.
  • "workload": indicates workload.
  • "call_home": indicates Call Home data.
  • "isolated_disklog": indicates isolated disklog info.
  • "running_disklog": indicates running disklog info.
  • "diagnostic_file": indicates the diagnostic file.

controller_id=?

Controller ID.

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

disk_id

ID of a hard disk.

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

  • 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.
  • The "show file export_path file_type=? [ controller_id=? ][ disk_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 diagnostic file and return a message about whether the export is successful.
    admin:/>show file export_path file_type=diagnostic_file 
    Command executed successfully. 
     
  • 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

System Response

The following table describes the parameter meanings.

Parameter

Meaning

File Path

File storage path.

File Name

Disk log name (formats: 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: 2019-07-12

Document ID: EDOC1000138382

Views: 320533

Downloads: 38

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next