跳到主要内容

为池 0 手动分配驱动器

如果系统在出厂时未经过预先配置且不符合驱动器自动分配的要求,则必须手动分配池 0 驱动器。

关于本任务

要确定系统是否需要手动分配磁盘,应查看 驱动器自动分配和 ADP 系统的注意事项

应在维护模式下执行这些步骤。必须对配置中的每个节点执行此过程。

本节中的示例基于以下假设:

  • node_A_1 和 node_A_2 拥有以下位置的驱动器:

    • site_A-shelf_1(本地)

    • site_B-shelf_2(远程)

  • node_B_1 和 node_B_2 拥有以下位置的驱动器:

    • site_B-shelf_1(本地)

    • site_A-shelf_2(远程)

  1. 显示引导菜单:boot_ontap menu
  2. 选择选项 9a。

    示例

    以下屏幕显示了引导菜单提示:

    Please choose one of the following:

    (1) Normal Boot.
    (2) Boot without /etc/rc.
    (3) Change password.
    (4) Clean configuration and initialize all disks.
    (5) Maintenance mode boot.
    (6) Update flash from backup config.
    (7) Install new software first.
    (8) Reboot node.
    (9) Configure Advanced Drive Partitioning.
    Selection (1-9)? 9a
    ########## WARNING ##########

    This is a disruptive operation and will result in the
    loss of all filesystem data. Before proceeding further,
    make sure that:
    1) This option (9a) has been executed or will be executed
    on the HA partner node (and DR/DR-AUX partner nodes if
    applicable), prior to reinitializing any system in the
    HA-pair (or MCC setup).
    2) The HA partner node (and DR/DR-AUX partner nodes if
    applicable) is currently waiting at the boot menu.

    Do you still want to continue (yes/no)? yes
  3. 当节点重新启动时,请在系统提示时按 Ctrl-C 显示引导菜单,然后选择维护模式引导选项。
  4. 在维护模式下,为节点上的本地聚合手动分配驱动器:disk assign disk-id -p 0 -s local-node-sysid

    应当对称分配驱动器,使每个节点具有相同数量的驱动器。以下步骤适用于每个站点具有两个存储架的配置。

    1. 配置 node_A_1 时,从 site_A-shelf_1 手动将驱动器从插槽 0 到 11 分配给节点 A1 的 pool0。
    2. 配置 node_A_2 时,从 site_A-shelf_1 手动将驱动器从插槽 12 到 23 分配给节点 A2 的 pool0。
    3. 配置 node_B_1 时,从 site_B-shelf_1 手动将驱动器从插槽 0 到 11 分配给节点 B1 的 pool0。
    4. 配置 node_B_2 时,从 site_B-shelf_1 手动将驱动器从插槽 12 到 23 分配给节点 B2 的 pool0。
  5. 退出维护模式:halt
  6. 显示引导菜单:boot_ontap menu
  7. 从引导菜单中选择选项 4 并让系统引导。
  8. 对 MetroCluster IP 配置中的其他节点重复上述步骤。
  9. 继续设置 ONTAP