Skip to main content

storage disk zerospares

Suggest changes

Zero non-zeroed spare disks

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


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. Zeroing a disk writes zeros to the entire disk and must be done before a disk can be reused in another aggregate.


[-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.


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

cluster1::> storage disk zerospares -owner node4