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

OceanStor 9000 V5 7.0 Command Reference 03

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 datasync task_status

show datasync task_status

Function

The show datasync task_status command is used to query the status of a remote synchronization (InfoMigrator).

Format

show datasync task_status < status_type >

Parameters

Parameter

Description

Value

status_type Status type.

The value is "current" or "history", where:

  • "current": to display the status of the directory being synchronized.
  • "history": to display the information of the last three synchronizations of all nodes.

Level

Administrator

Usage Guidelines

  • If data at the source end is modified, remote synchronization (InfoMigrator) tasks may fail. In the next synchronization period, changed data will continue to be synchronized.
  • If the peer end has a network problem for a long time, the status of a remote synchronization task may fail to be queried.

Example

Query the status of a remote synchronization.

admin:/>show datasync task_status history
NODENID RSYNC_STATUS SERVER_ADDR   SHARE_PATH SHARE_SUB_PATH LOCAL_PATH USER_NAME
------- ------------ ------------- ---------- -------------- ---------- ---------
45509   SUCCESS      192.168.70.16 /dxl_sync  /              /dxl_test  root
45509   SUCCESS      192.168.70.16 /dxl_sync  /              /dxl_test  root
START_TIME          END_TIME
------------------- --------
2014-09-05/13:01:46 2014-09-05/13:01:56
2014-09-05/13:01:59 2014-09-05/13:02:10
admin:/>show datasync task_status current
NODENID SERVER_ADDR   SHARE_PATH SHARE_SUB_PATH LOCAL_PATH USER_NAME
------- ------------- ---------- -------------- ---------- ---------
45509   192.168.70.16 /dxl_sync  /              /dxl_test  root
START_TIME
-------------------
2014-09-05/13:05:46

System Response

Parameter

Meaning

NODENID

Node ID.

RSYNC_STATUS

Synchronization status.

SERVER_ADDR

IP address of the remote server.

SHARE_PATH

Share directory of the remote server.

SHARE_SUB_PATH

Share subdirectory of the remote server.

LOCAL_PATH

Directory path on the local server.

USER_NAME

Username.

START_TIME

Time when synchronization starts.

END_TIME

Time when synchronization ends.

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25288

Downloads: 7

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