Data Domain:如何将 DDBoost 用户角色更改为 Admin 或 None

Summary: 无法更改 DDBoost 用户角色的角色(Admin 或 none)

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

我们必须先从 SU 取消分配“DDBoost”用户,然后才能对“DDBoost”用户进行角色更改。

更改 DDboost 用户的角色会显示以下错误:

Data Domain :  **** The DD System user role cannot be changed because this DDboost user owns one or more storage-units.

 

Cause

当用户是 ddboost 用户时,无法修改 ddboost 用户角色。

提醒:从 DDOS 版本 6.2 及更高版本开始,下面所述的 modify 命令对存储单元中的文件和目录执行递归 chown(更改所有者)。有关存储单元中有许多文件时可能的命令超时的详细信息,请参阅 知识库000078758

考虑是否需要此用户具有管理员角色。某些备份应用程序需要此角色,以便它可以具有正确的角色来将 NFS 数据存储区装载到 Data Domain,否则可能会导致即时访问还原失败。某些备份应用程序需要此角色才能使快照到期。

或者,如果出于安全原因,用户必须具有较低的角色(如无)。

 

Resolution

警告:运行此过程时不应运行任何备份,因为备份可能会失败。
提醒:从 DDOS 版本 6.2 及更高版本开始,下面的 modify 命令会对存储单元中的文件和目录执行递归 chown(更改所有者)。有关存储单元中有许多文件时可能的命令超时的详细信息,请参阅 知识库000078758

请执行以下步骤:

  1. 检查当前 SU 配置和分配给 SU 的用户。

    # ddboost storage-unit show
    Name Pre-Comp (GiB) Status User Report Physical
    Size (MiB)
    ------------- -------------- ------ ------- ---------------
    Avamar01 8550.7 RW MyDDBoost -
    ------------- -------------- ------ ------- ---------------
    D : Deleted
    Q : Quota Defined
    RO : Read Only
    RW : Read Write
    RD : Replication Destination
  2. 将其他临时 ddboost 用户分配给存储单元。

    提醒:从 DDOS 版本 6.2 及更高版本开始,下面的 modify 命令会对存储单元中的文件和目录执行递归 chown(更改所有者)。有关存储单元中有许多文件时可能的命令超时的详细信息,请参阅 知识库000078758

    示例:

    #ddboost storage-unit modify Avamar01 user sysadmin
  3. 现在检查 SU 配置,分配给 SU 的用户应从 MyDDBoost 更改为 sysadmin。

    #ddboost storage-unit show
    Name Pre-Comp (GiB) Status User Report Physical
    Size (MiB)
    ------------- -------------- ------ ---- ---------------
    Avamar01 8550.7 RW sysadmin -
    ------------- -------------- ------ ---- ---------------
    D : Deleted
    Q : Quota Defined
    RO : Read Only
    RW : Read Write
    RD : Replication Destination
  4. 取消分配 MyDDBoost 用户作为 ddboost 用户。

    示例:

    #ddboost user unassign MyDDBoost
  5. 更改 ddboost 用户的角色。

    # user change role MyDDBoost {admin | limited-admin | user | backup-operator | none}

    用户“DDBoost”的角色已更改

  6. 由于 MyDDboost 现在具有新角色,因此请将 MyDDboost 用户分配为 ddboost 用户。

    示例:

    # ddboost user assign MyDDBoost

    分配给 DD Boost 的用户“MyDDBoost”

  7. 将“MyDDBoost”用户分配给存储单元。

    提醒:从 DDOS 版本 6.2 及更高版本开始,下面的 modify 命令会对存储单元中的文件和目录执行递归 chown(更改所有者)。有关存储单元中有许多文件时可能的命令超时的详细信息,请参阅 知识库000078758

    示例:

    # ddboost storage-unit modify Avamar01 user MyDDBoost

    为用户“MyDDBoost”修改了存储单元“Avamar01”

    # ddboost storage-unit show
    Name Pre-Comp (GiB) Status User Report Physical
    Size (MiB)
    ------------- -------------- ------ ------- ---------------
    Avamar01 8550.7 RW MyDDBoost -
    ------------- -------------- ------ ------- ---------------
    D : Deleted
    Q : Quota Defined
    RO : Read Only
    RW : Read Write
    RD : Replication Destination
  8. 检查现在分配给“DDBoost”用户的角色,它应与所需的角色匹配。

    示例:

    # user show list
    User list from node "localhost".
    Name        Uid   Role       Last Login From   Last Login Time            Status    Disable Date
    ---------   ---   --------   ---------------   ------------------------   -------   ------------
    sysadmin    100   admin      10.159.xxx.xxx    Wed Jan 30 04:28:45 2019   enabled   never
    MyDDBoost  500   admin      10.159.xxx.xxx    Sat Nov 10 21:31:17 2018   enabled   never
    ---------   ---   --------   ---------------   ------------------------   -------   ------------

    示例显示 MyDDBoost 具有管理员角色。

 

Affected Products

Data Domain

Products

Data Domain
Article Properties
Article Number: 000050347
Article Type: Solution
Last Modified: 22 Sept 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.