Platform Notes: Ultra 450 Workstation and Ultra Enterprise 450 Server

Restoring the UFS File System

Use the following procedure to configure a slice on a disk to be used with the UFS file system.

  1. Verify that the device's partition table satisfies the requirements of the file systems you intend to re-create.

    You can use the prtvtoc command to inspect the label for your device. If you need to modify the label, use the format command. Refer to the prtvtoc(1M) and format(1M) man pages for more information. For example:


    # prtvtoc /dev/rdsk/cwtxdysz
    

    If you have saved a disk partition table using the format utility and the replacement disk type matches the old disk type, then you can use the format utility's partition section to configure the partition table of the replacement disk. See the select and label commands in the partition section.

    If the replacement disk is of a different type than the disk it replaced, you can use the partition size information from the previous disk to set the partition table for the replacement disk. Refer to the prtvtoc(1M) and format(1M) man pages for more information.

    You have defined your disk's partition table and have identified the disk slice on which to build your UFS file system.

  2. Once you have selected a disk slice for your UFS file system, check and/or create a file system on the slice:


    # fsck
     /dev/rdsk/cwtxdysz
    # newfs /dev/rdsk/cwtxdysz
    

  3. Mount the new file system using the mount command:


    # mount mount_point
    

    where mount_point is the directory on which the faulty disk was mounted.

The new disk is ready to be used. You can now restore data from your backups.