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_ext

spa exportimportnode_ext

Function

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

Format

spa exportimportnode_ext -x operation type -p pool id -v volume id -n node id -s node size -f file saved address [ -i operation object ]

Parameters

Parameter

Description

Value

operation type

Operation type.

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

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

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.

node size

Node size.

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

file saved address

File saved address.

-

operation object

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.

Views

Diagnostic view

Usage Guidelines

None

Example

Export information about the metadata on a certain node.

admin:/diagnose>spa exportimportnode_ext -x 1 -p 0 -v 0x200000000 -n 0x4000400010100005 -s 16 -f /home/permitdir/node_ext.dat 
  Export node data success. Please refer to file (/home/permitdir/node_ext.dat)

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 585323

Downloads: 233

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