Sun Cluster 3.0-3.1 With SCSI JBOD Storage Device Manual for Solaris OS

ProcedureHow to Remove a Disk Drive

Removing a disk drive can allow you to downsize or reallocate your existing storage pool. You might want to perform this procedure in the following scenarios.

For conceptual information about quorum, quorum devices, global devices, and device IDs, see the Sun Cluster concepts documentation.

Before You Begin

This procedure relies on the following prerequisites and assumptions.

Steps
  1. Identify the disk drive that you are removing. Also identify the slot that the disk drive needs to be removed from.

    If the disk error message reports the drive problem by device ID, use the scdidadm -l command to determine the Solaris device name. To list all configurable hardware information, use the cfgadm -al command.


    # scdidadm -l deviceID
    # cfgadm -al
    
  2. Determine if the disk you want to remove is a quorum device.


    # scstat -q
    
    • If no, skip this step.

    • If yes, add a new quorum device that will not be affected by this procedure. Remove the old quorum device.

      For procedures about how to add and remove quorum devices, see the Sun Cluster system administration documentation.

  3. If possible, back up the metadevice or volume.

    For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.

  4. Perform volume management administration to remove the disk drive from the configuration.

    For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.

  5. On all nodes, unconfigure the disk drive. Remove references to the disk drive from the operating system and clustering environment.


    # cfgadm -c unconfigure cN::dsk/cNtXdY
    
  6. Remove the disk drive.

    For the procedure about how to remove a disk drive, see your storage documentation. For a list of storage documentation, see Related Documentation.

  7. On both nodes, delete the paths to the disk drive that you plan to remove.


    # devfsadm -C
    
  8. On both nodes, remove all obsolete device IDs.


    # scdidadm -C