ONTAP 9.14.1 commands

storage disk replace

Initiate or stop replacing a file-system disk

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

Description

The storage disk replace command starts or stops the replacement of a file system disk with spare disk. When you start a replacement, Rapid RAID Recovery begins copying data from the specified file system disk to a spare disk. When the process is complete, the spare disk becomes the active file system disk and the file system disk becomes a spare disk. If you stop a replacement, the data copy is halted, and the file system disk and spare disk retain their initial roles.

Parameters

-disk <disk path name> - Disk Name

This specifies the file system disk that is to be replaced. Disk names take one of the following forms:

  • Disks are named in the form <stack-id> .<shelf> .<bay>

  • Disks on multi-disk carriers are named in the form <stack-id> .<shelf> .<bay> .<lun>

  • Virtual disks are named in the form <prefix>.<number>, where prefix is the storage array’s prefix and number is a unique ascending number.

[-m, -allow-mixing <true>] - Allow Mixing of Disks of Different RPM or Pool

This optional parameter specifies whether the disk can be replaced with another disk of different RPM or from different Pool. This parameter affects only the current disk replacement operation.

Examples

The following example begins replacing a file system disk named 1.0.16 with a spare disk named 1.1.14 .

cluster1::> storage disk replace -disk 1.0.16 -replacement 1.1.14 -action start
Top of Page