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

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.
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).
spa exportimportnode

spa exportimportnode

Function

The spa exportimportnode command is used to export or import information about the metadata on a certain node.

Format

spa exportimportnode -x operation type -o object id -p pool id -v volume id -n node id -f file saved address [ -i operation object ] [ -a app type ] [ -t tier type ] [ -d disk logic id ]

Parameters

Parameter

Description

Value

operation type

Operation type.

The value can be "1" or "2", where:

  • "1": Export.
  • "2": Import.

object id

Object ID of the metadata.

The value is an integer ranging from "0" to "21".

pool id

Disk domain ID.

To obtain the value, run the "show disk_domain general" command.

volume id

Volume ID.

To obtain the value, run the "spa queryvolcap" command.

node id

Node ID.

To obtain the value, run the "spa dumpobjinfo" command.

file saved address

File saved address.

-

operation object

-

The value can be "0", "1", "2", "3", or "4", where:

  • "0": Metadata information is exported from the metadata member disk object whose number is "0".
  • "1": Metadata information is exported from metadata member disk object whose number is "1".
  • "2": Metadata information is exported from metadata member disk object whose number is "2".
  • "3": Metadata information is exported from metadata member disk object whose number is "3".
  • "4": Metadata information is imported to all four metadata member disk objects.
NOTE:

The information is exported from or imported to the cache object by default when the value is not input.

app type

Data type.

The value can be "0" or "1", where:

  • "0": Metadata.
  • "1": Data.

tier type

Disk tier type.

The value can be "0", "1", or "2", where:

  • "0": SSD.
  • "1": SAS.
  • "2": NL-SAS.

disk logic id

Disk logical ID.

To obtain the value, run the "show disk general" command.

Views

Diagnostic view

Usage Guidelines

None

Example

Export information about the metadata on a certain node.

admin:/diagnose>spa exportimportnode -x 1 -o 12 -p 0 -n 0x40000015001b -i 0 -t 1 -a 0 -f /home/permitdir/node.dat 
  Export node data success. Please refer to file (/home/permitdir/node.dat)

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 615907

Downloads: 244

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