Platform Notes: Sun Enterprise 250 Server

Configuring the New Disk Drive for a UNIX File System (UFS)

Use the following procedure to configure a slice (single physical partition) on a disk to be used with a UFS file system. For instructions about adding a file system to a Solstice(TM) DiskSuite(TM) (SDS) logical disk, refer to the documentation that came with your application.

  1. Verify that the device label meets your requirements.

    You can use the prtvtoc command to inspect the label for your disk. To modify the label, use the format command. Refer to the prtvtoc(1M) and format(1M) man pages for more information.

  2. Select a disk slice for your UFS file system and create a new file system on the slice:


    # newfs /dev/rdsk/cwtxdysz
    

    For example: newfs /dev/rdsk/c0t11d0s2

    Refer to the newfs(1M) man page for more information.

  3. If necessary, create a mount point for the new file system:


    # mkdir mount_point
    

    where mount_point is a fully qualified path name. Refer to the mount(1M) man page for more information.

  4. After the file system and mount point have been created, modify the /etc/vfstab file to reflect the new file system.

    See the vfstab(4) man page for more details.

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


    # mount mount_point
    

    where mount_point is the directory you created.

The file system is ready to be used.