所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

OceanStor Dorado V3系列 V300R002 高级运维命令参考(块业务)

本产品文档适用于OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3和Dorado18000 V3。本文档针对CLI命令行,介绍如何使用CLI设置和管理存储系统,以及按功能分类详细介 绍各命令的使用方法。
评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
delete cloudbackup resource

delete cloudbackup resource

命令功能

delete cloudbackup resource命令用于删除由CloudBackup所产生HyperCDP对象、HyperCDP一致性组或互斥位资源。

命令格式

delete cloudbackup resource res_type=? res_owner_type=? res_owner_id=? task_type=?

delete cloudbackup resource res_type=? res_owner_type=? res_owner_id=?

delete cloudbackup resource res_type=? res_id=?

参数说明

参数

参数说明

取值

res_type=?

资源类型。

取值为static_mutex_bit、dynamic_mutex_bit、hyper_cdp、hyper_cdp_consistency_group,各个参数取值说明如下:

  • static_mutex_bit:静态互斥位。
  • dynamic_mutex_bit:动态互斥位。
  • hyper_cdp:只读快照。
  • hyper_cdp_consistency_group:只读快照一致性组。

res_id=?

资源ID。

取值为0~1999999的整数。

res_owner_type=?

资源所属对象类型。

取值为 lun、lun_consistency_group、hyper_cdp、hyper_cdp_consistency_group,各个参数取值说明如下:

  • lun:LUN。
  • lun_consistency_group:LUN一致性组。
  • hyper_cdp:只读快照。
  • hyper_cdp_consistency_group:只读快照一致性组。

res_owner_id=?

资源所属对象ID。

取值为0~1999999的整数。

task_type=?

任务类型。

取值为backup、restore,各个参数的说明如下:

  • backup:备份类型的互斥位。
  • restore:恢复类型的互斥位。

视图

研发视图

使用指南

  • 该操作支持从系统中删除静态互斥位、动态互斥位、HyperCDP对象或HyperCDP一致性组。
  • 执行该操作前需要确认指定的资源ID是否正确,防止误操作。
  • 当误删除HyperCDP对象或HyperCDP一致性组时,会导致备份受保护对象从增量备份转为全量备份。
  • 当误删除静态或动态互斥位时,可能导致指定的LUN/LUN一致性组执行备份或恢复操作时数据不一致。

使用实例

  • 删除res_type类型为“hyper_cdp”,res_id为“11”的资源。
    developer:/>delete cloudbackup resource res_type=hyper_cdp res_id=11 
    WARNING: You are about to delete the HyperCDP object , which is an irreversible operation. 
    This operation will delete the information about the HyperCDP object from the system. 
    Suggestion: Before performing this operation, ensure that the selected HyperCDP object is correct and it is not required. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • 删除res_type类型为“hyper_cdp_consistency_group”,res_id为“12”的资源。
    developer:/>delete cloudbackup resource res_type=hyper_cdp_consistency_group res_id=12 
    WARNING: You are about to delete the HyperCDP consistency group , which is an irreversible operation. If you delete a HyperCDP consistency group, all HyperCDP objects and their data in the HyperCDP consistency group will be deleted. 
    Suggestion: Before performing this operation, ensure that the selected HyperCDP consistency group is correct and you do not need the data of the HyperCDP object. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • 删除res_type类型为“dynamic_mutex_bit”,res_owner_type为“lun”,res_owner_id为“14”的资源。
    developer:/>delete cloudbackup resource res_type=dynamic_mutex_bit res_owner_type=lun res_owner_id=14 
    DANGER: You are about to delete mutually exclusive resources. This operation may cause the source and target data to be inconsistent when LUNs/LUN consistency groups related to the specified mutually exclusive resource are backed up or restored. 
    Before performing this operation, ensure that the ID of the resource to be deleted is correct. 
    Have you read alert message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully. 
  • 删除res_type类型为“static_mutex_bit”,res_owner_type类型为“lun”,res_owner_id为“13”,task_type为“backup”类型的资源。
    developer:/>delete cloudbackup resource res_type=static_mutex_bit res_owner_type=lun res_owner_id=13 task_type=backup 
    DANGER: You are about to delete mutually exclusive resources. This operation may cause the source and target data to be inconsistent when LUNs/LUN consistency groups related to the specified mutually exclusive resource are backed up or restored. 
    Before performing this operation, ensure that the ID of the resource to be deleted is correct. 
    Have you read alert message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully. 

输出说明

无。

翻译
下载文档
更新时间:2019-07-17

文档编号:EDOC1100049100

浏览量:55465

下载量:73

平均得分:
本文档适用于这些产品
相关文档
相关版本
Share
上一页 下一页