ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • storage pool reassign

    Reassign capacity from one node to another node in storage pool

    Availability: This command is available to cluster administrators at the admin privilege level.

    Description

    The storage pool reassign command changes the ownership of unprovisioned (available) storage pool allocation units from one HA partner to the other for an existing storage pool.

    Parameters

    -storage-pool <storage pool name> - Storage Pool Name

    This parameter specifies the storage pool within which available capacity is reassigned from one node to another.

    -from-node {<nodename>|local} - Reassign Available Capacity from This Node

    This parameter specifies the name of the node that currently owns the allocation units.

    -to-node {<nodename>|local} - Reassign Available Capacity to This Node

    This parameter specifies the name of the node that will now own the allocation units.

    -allocation-units <integer> - Allocation Units

    This parameter specifies the number of allocation units to be reassigned.

    Examples

    Move an available allocation unit from node-b to node-a in preparation for provisioning the allocation units on node-a.

    cluster1::*> storage pool show-available-capacity -storage-pool SP2
                               Storage SyncMirror Allocation Unit  Total
    Node       Storage Pool    Type    Pool       Unit size  Count Usable Size
    ---------- --------------- ------- ---------- ---------- ----- -----------
    node-a     SP2             SSD     Pool0         744.9GB     2      1.45TB
    node-b     SP2             SSD     Pool0         744.9GB     1     744.9GB
    2 entries were displayed.
    
    cluster1::*> storage pool reassign -storage-pool SP2 -from-node node-b -to-node node-a -allocation-units 1
    [Job 310] Job succeeded: storage pool reassign job for "SP2" completed successfully
    
    cluster1::*> storage pool show-available-capacity -storage-pool SP2
                               Storage SyncMirror Allocation Unit  Total
    Node       Storage Pool    Type    Pool       Unit size  Count Usable Size
    ---------- --------------- ------- ---------- ---------- ----- -----------
    node-a     SP2             SSD     Pool0         744.9GB     3      2.18TB
    node-b     SP2             SSD     Pool0         744.9GB     0          0B
    2 entries were displayed.
    Top of Page