Go to main content

Managing Devices in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

Adding or Replacing Disks for ZFS File Systems

Installing a new disk to add capacity or replace a failed disk depends on the hardware and system capabilities, such as support for dynamic reconfiguration (DR). Review your hardware documentation when adding or replacing a disk on your system.

The following procedure provides general steps to change disks. You must consult your hardware documentation for the correct method. For information about DR, including procedures and examples of DR operations, read Dynamically Configuring Devices.

How to Add Disks

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

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

    where 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 uses the attachment point ID to unconfigure 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