Data Domain:如何删除 Cloud Tier 单元

摘要: 本文介绍删除 Data Domain 云层单元的过程。

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

说明

  1. 列出云单元。
    sysadmin@datadomain# cloud unit list
    Name          Profile      Status
    -----------   ----------   ------
    ecsct         ecsprofile   Active
    ecs-temp-ct   ecsprofile   Active
    -----------   ----------   ------
  2. 生成文件报告,用于 mtrees 针对数据移动进行配置。
    sysadmin@datadomain# filesys report generate file-location path /data/col1/mymtree
    --------------------------------                                                                ---------------------------
    File Name                                                                                       Location(Unit Name)
    --------------------------------                                                                ---------------------------
    /data/col1/mymtree/nbu-air-src/clinet1_1472441558_C1_HDR:1472441558:my-air-repl-pol:4:1::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472441558_C1_F1:1472441558:my-air-repl-pol:4:1::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472442178_C1_HDR:1472442178:my-air-repl-pol:4:1::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472442178_C1_F1:1472442178:my-air-repl-pol:4:1::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472443689_C1_HDR:1472443689:my-air-repl-pol:4:0::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472443689_C1_F1:1472443689:my-air-repl-pol:4:0::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472444023_C1_HDR:1472444023:my-air-repl-pol:4:0::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472444023_C1_F1:1472444023:my-air-repl-pol:4:0::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472444089_C1_HDR:1472444089:my-air-repl-pol:4:1::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472444089_C1_F1:1472444089:my-air-repl-pol:4:1::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472444418_C1_HDR:1472444418:my-air-repl-pol:4:1::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472444418_C1_F1:1472444418:my-air-repl-pol:4:1::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472448438_C1_HDR:1472448438:my-air-repl-pol:4:0::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472448438_C1_F1:1472448438:my-air-repl-pol:4:0::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472448455_C1_HDR:1472448455:my-air-repl-pol:4:0::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472448455_C1_F1:1472448455:my-air-repl-pol:4:0::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472508002_C1_HDR:1472508002:my-air-repl-pol:4:0::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472508002_C1_F1:1472508002:my-air-repl-pol:4:0::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472508005_C1_HDR:1472508005:my-air-repl-pol:4:0::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472508005_C1_F1:1472508005:my-air-repl-pol:4:0::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472594402_C1_HDR:1472594402:my-air-repl-pol:4:0::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472594402_C1_F1:1472594402:my-air-repl-pol:4:0::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472594405_C1_HDR:1472594405:my-air-repl-pol:4:0::       ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472594405_C1_F1:1472594405:my-air-repl-pol:4:0::        ecs-temp-ct
    /data/col1/mymtree/nbu-air-src/clinet1_1472680802_C1_HDR:1472680802:my-air-repl-pol:4:0::       Active
    /data/col1/mymtree/nbu-air-src/clinet1_1472680802_C1_F1:1472680802:my-air-repl-pol:4:0::        Active
    /data/col1/mymtree/nbu-air-src/clinet1_1472680807_C1_HDR:1472680807:my-air-repl-pol:4:0::       Active
    /data/col1/mymtree/nbu-air-src/clinet1_1472680807_C1_F1:1472680807:my-air-repl-pol:4:0::        Active
    /data/col1/mymtree/nbu-air-src/list.out                                                         Active
    -----------------------------------------------------------------
  3. 使要删除的云单元中的文件到期或调回文件。
    sysadmin@datadomain# data-movement recall path <file-names>
  4. 生成新报告,并确保云单元中没有更多文件。
    sysadmin@datadomain# filesys report generate file-location path /data/col1/mymtree
    --------------------------------                                                                ---------------------------
    File Name                                                                                       Location(Unit Name)
    --------------------------------                                                                ---------------------------
    /data/col1/mymtree/nbu-air-src/clinet1_1472680802_C1_HDR:1472680802:my-air-repl-pol:4:0::       Active
    /data/col1/mymtree/nbu-air-src/clinet1_1472680802_C1_F1:1472680802:my-air-repl-pol:4:0::        Active
    /data/col1/mymtree/nbu-air-src/clinet1_1472680807_C1_HDR:1472680807:my-air-repl-pol:4:0::       Active
    /data/col1/mymtree/nbu-air-src/clinet1_1472680807_C1_F1:1472680807:my-air-repl-pol:4:0::        Active
    /data/col1/mymtree/nbu-air-src/list.out                                                         Active
    -----------------------------------------------------------------
  5. 重置数据移动策略。
    sysadmin@datadomain# data-movement policy reset age-threshold mtree /data/col1/mymtree
    The data-movement "age-threshold" policy for Mtree(s) "/data/col1/mymtree" is reset to "none".
    sysadmin@datadomain# data-movement policy show
    Mtree                          Target(Tier/Unit Name)   Policy          Value
    ----------------------------   ----------------------   -------------   -------
    /data/col1/CT-Mtree1           Cloud/ecsct              age-threshold   15 days
    /data/col1/nbu-air-src         Cloud/ecsct              age-threshold   14 days
    /data/col1/avamar-1472449214   Cloud/ecsct              age-threshold   14 days
    /data/col1/nw-win              Cloud/ecsct              age-threshold   14 days
    ----------------------------   ----------------------   -------------   -------
  6. 清理云单元。
    sysadmin@datadomain# cloud clean start ecs-temp-ct
     
    sysadmin@datadomain# cloud clean watch
     
    Cloud tier cleaning: phase 2 of 12 (pre-analysis)
      100.0% complete,   985 GiB free; time: phase  0:00:09, total  0:00:14
     
    Cloud tier cleaning: phase 3 of 12 (pre-enumeration)
      100.0% complete,   985 GiB free; time: phase  0:00:02, total  0:00:16
     
    Cloud tier cleaning: phase 5 of 12 (pre-select)
      100.0% complete,   985 GiB free; time: phase  0:00:05, total  0:00:22
     
    Cloud tier cleaning: phase 11 of 12 (copy)
      100.0% complete,   986 GiB free; time: phase  0:01:04, total  0:01:26
    sysadmin@datadomain# cloud clean status
    Cloud tier cleaning finished at 2016/08/31 22:59:54.
  7. 禁用文件系统并删除云单元。
    提醒:由于新代码级别中增强了安全强化,因此删除云单元现在需要启用安全用户凭据和安全授权。请参阅本文的 “其他信息” 部分。
    sysadmin@datadomain# cloud unit del ecs-temp-ct
     This command requires authorization by a user having a 'security' role.
    Please present credentials for such a user below.
            Username: secofficer
            Password:
    Please enter sysadmin password:
    
    
    This command irrevocably destroys all data
     in the cloud unit "ecs-temp-ct".
            Are you sure? (yes|no) [no]: yes
     ok, proceeding.
    Destroying cloud unit "ecs-temp-ct"
    Cloud unit 'ecs-temp-ct' deleted. The data in the cloud will be deleted asynchronously on the filesystem startup.
  8. 文件系统重新启动后,云单元状态将更改为“Delete-Pending”。完全卸下设备可能需要一段时间。
    sysadmin@datadomain# filesys enable
    Please wait.............
    The filesystem is now enabled.
     
    sysadmin@datadomain# cloud unit list
    Name          Profile      Status
    -----------   ----------   --------------
    ecsct         ecsprofile   Active
    ecs-temp-ct   ecsprofile   Delete-Pending
    -----------   ----------   --------------

其他信息

故障处理

安全专员

sysadmin@datadomain# cloud unit del ecs-temp-ct
**** Security officer authorizations must be enabled.
  1. 使用以下命令验证安全用户是否存在: user show list
  2. 如果不存在安全用户, 请创建一个
  3. 使用安全凭据登录到重复会话,并使用命令启用安全授权 authorization policy set security-officer enabled
  4. 使用 sysadmin 凭据返回到 DD CLI,并继续执行删除过程。
如果删除仍然失败,并且显示 "This command is not allowed with current security configuration," 以下一项或多项可能适用:
  • 安全专员帐户已在 24 小时的工作时间内创建(如果包括周末,这可能意味着 5 天)
  • 系统时间已在 24 个工作小时内更改
  • 警报通知列表在 24 个工作小时内更改

如果是这种情况,您必须等到此期限结束。这是没有办法的。

删除挂起

完全删除云单元可能需要一段时间,最长可能需要一天或更长时间。如果云单元长时间处于 “Delete-pending” 状态,可能是数据被错误地删除了。有关解决方法,请参阅 此文章

受影响的产品

Data Domain
文章属性
文章编号: 000005989
文章类型: How To
上次修改时间: 05 2月 2026
版本:  7
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。