Go to main content

Managing Devices in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Adding or Replacing Disks for ZFS File Systems

This section describes general steps to change disks. Consult your hardware documentation for the specific correct method for your setup. For information about dynamic reconfiguration (DR), including procedures and examples of DR operations, read Dynamically Configuring Devices.

How to Add Disks

  1. Become an administrator.
  2. If required, bring the failed disk offline.
    # zpool offline root-pool disk
  3. If required, unconfigure the disk.
    # cfgadm -c unconfigure disk-apid

    In this command, disk-apid refers to the device's logical attachment point ID. For more information about these IDs, see About Attachment Point Identification. See also Configuring or Unconfiguring a SCSI Device for additional information about unconfiguring and configuring disks.

    The following example unconfigures the disk c2t1d0.

    # cfgadm -c unconfigure c2::dsk/c2t1d0
  4. Install the new disk.
  5. If required, configure the new disk.
    # cfgadm -c configure disk-apid