Platform Notes: Ultra 450 Workstation and Ultra Enterprise 450 Server

Restoring the Solstice DiskSuite Diskset Files

Use the following procedure to configure a slice on a disk to be used with the Solstice DiskSuite system.

  1. Restore the disk partitioning.

    If you have saved the disk partitioning to a file, you may restore it with fmthard. For example:


    # fmthard -s /etc/c1t2d0s0.vtoc  /dev/rdsk/c1t2d0s0
    

    If you have not saved the disk partitioning, use the format (1M) or fmthard(1M) commands to repartition the disk.

  2. Replace any database replicas.

    For example:


    # metadb -a -l 2000 -c 2 c1t2d0s0
    

  3. Reattach any submirrors.

    For example:


    # metattach d20 d21
    

  4. Re-create hotspares for each hotspare pool that contained a slice on the new disk.

    For example:


    # metahs -a hsp001 c1t2d0s1
    

  5. Fix any broken metadevices, using slices from the new disk.

    If the disk to be replaced had caused any metadevices to go into the maintenance state, these metadevices can be repaired by re-enabling the slices.


    # metareplace -e mirror_or_RAID5_metadeice cwtxdysz
    

  6. Remount any file systems and restart any applications that were using metadevices that could not be taken off line.


    # mount file_system
    

Refer to the Solstice DiskSuite documentation for more information.