Manually assigning ownership of partitioned disks

For partitioned disks, there are three different entities for ownership: the container disk, the data partition, and the root partition. You can set the ownership of the container disk or the partitions manually or by using auto-assignment—just as you do for unpartitioned disks. If a container disk fails in a half-populated shelf and is replaced, ONTAP will not auto-assign ownership. In this case, any assignment of new disks will need to be done manually. To make auto-assign work on half-populated shelves, place disks equally on lower half and 6 on far right bays to begin with. That is, 6 disks from bays 0-5 and 6 disks from bays 18-23. After the container disk is assigned in an ADP-configured system, ONTAP's software will handle any partitioning and partition assignments that are required, without user intervention.

Root-data partitioning

About this task

For root-data partitioning you can think of the three owned entities (the container disk and the two partitions) as being collectively owned by the HA pair. The container disk and the two partitions do not all need to be owned by the same node in the HA pair as long as they are all owned by one of the nodes in the HA pair. However, when you use a partition in an aggregate, it must be owned by the same node that owns the aggregate.

Steps

  1. Display the current ownership for the partitioned disk: storage disk show -disk disk_name -partition-ownership
  2. Set the CLI privilege level to advanced: set -privilege advanced
  3. Enter the appropriate command, depending on which ownership entity you want to assign ownership for:
    If you want to assign ownership for the... Use this command...
    Container disk storage disk assign -disk disk_name -owner owner_name
    Data partition storage disk assign -disk disk_name -owner owner_name -data true
    Root partition storage disk assign -disk disk_name -owner owner_name -root true

    If any of the ownership entities are already owned, then you must include the -force option.

Root-data-data partitioning

About this task

For root-data-data partitioning there are four owned entities (the container disk and the three partitions) collectively owned by the HA pair. Root-data-data partitioning creates one small partition as the root partition and two larger, equally sized partitions for data.

Parameters must be used in the disk assign command to assign the proper partition of a root-data-data partitioned disk. You cannot use these parameters with disks that are part of a storage pool. The default value is false.
  • The [-data1 [true]] parameter assigns the data1 partition of a root-data1-data2 partitioned disk.
  • The [-data2 [true]] parameter assigns the data2 partition of a root-data1-data2 partitioned disk.

Steps

  1. Display the current ownership for the partitioned disk: storage disk show -disk disk_name -partition-ownership
  2. Set the CLI privilege level to advanced: set -privilege advanced
  3. Enter the appropriate command, depending on which ownership entity you want to assign ownership for:
    If you want to assign ownership for the... Use this command...
    Container disk storage disk assign -disk disk_name -owner owner_name
    Data1 partition storage disk assign -disk disk_name -owner owner_name -data1 true
    Data2 partition storage disk assign -disk disk_name -owner owner_name -data2 true
    Root partition storage disk assign -disk disk_name -owner owner_name -root true

    If any of the ownership entities are already owned, then you must include the -force option.