Platform Notes: Ultra 450 Workstation and Ultra Enterprise 450 Server

Solstice DiskSuite

The following procedure describes how to deconfigure a disk in use by Solstice DiskSuite. For more information, refer to the Solstice DiskSuite documentation.

  1. Back up your system.

  2. Type su and your superuser password.

  3. Identify metadevices or applications using the device you plan to remove.

    For example:


    # metadb | grep c1t2d0
    # metastat | grep c1t2d0
    # mount | grep c1t2d0
    

  4. Delete database replicas.

    If there are database replicas on the disk, these must be deleted. For example:


    # metadb -d c1t2d0s0
    

  5. Replace slices or clear metadevices.

    If any slices of the disk are in use by submirrors or within RAID metadevices, they can be replaced by other available slices. For example:


    # metareplace d20 c1t2d0s1 c2t2d0s1
    

    If there are no replacement slices available, the metadevices must be cleared. For example:


    # metaclear d21
    

  6. Replace slices or clear hotspares.

    If any slices of the disk are used by hotspare pools, they can be replaced by other available slices.


    # metahs -r all c1t2d0s1 c2t2d0s1
    

    For example:

  7. Unmount any file systems on the disk.


    Note -

    If the file system(s) are on a disk that is failing or has failed, the umount operation may not complete. A large number of error messages may be displayed in the system console and in the /var directory during the umount operation. If the umount operation does not complete, you may have to restart the system.


    For each file system, type:


     # umount filesystem
    

    For example:


    # umount /export/home
    # umount /export/home2
    

Refer to the Solstice DiskSuite documentation for more information.

Removing the Disk Drive

Refer to the Sun Ultra 450 Workstation Owner's Guide or Ultra Enterprise 450 Server Owner's Guide for instructions on how to remove disk drives.