ONTAP 9.12.1 commands

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

    Zero non-zeroed spare disks

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

    Description

    The storage disk zerospares command zeroes all non-zeroed spare disks in all nodes or a specified node in the cluster. A node must be online to zero disks. This operation must be done before a disk can be reused in another aggregate. This version of ONTAP uses fast zeroing, which converts a spare disk from non-zeroed to zeroed without the long wait times required when physically zeroing a disk.

    Parameters

    [-owner {<nodename>|local}] - Owner

    If this parameter is specified, only non-zeroed spares assigned to the specified node will be zeroed. Otherwise, all non-zeroed spares in the cluster will be zeroed.

    Examples

    The following example zeroes all non-zeroed spares owned by a node named node4, using fast zeroing:

    cluster1::> storage disk zerospares -owner node4
    Top of Page