Skip to main content
A newer release of this product is available.

storage disk zerospares

Contributors
Suggest changes

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

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:

cluster1::> storage disk zerospares -owner node4