If the bad superblock is not in either the root (/), /usr, /var file system, change to a directory
outside the damaged file system and unmount the file system.

# umount/mount-point

Caution –

Be sure to use the newfs -N in the next
step. If you omit the -N option, you will destroy all of the
data in the file system and replace it with an empty file system.

Display the superblock values by using
the newfs -N command.

# newfs -N /dev/rdsk/device-name

The command output displays the block numbers that were used for the
superblock copies when the newfs command created the file
system, unless the file system was created with special parameters. For information
on creating a customized file system, see Customizing UFS File System Parameters.

Provide an alternate superblock by
using the fsck command.

# fsck -F ufs -o b=block-number/dev/rdsk/device-name

The fsck command uses the alternate superblock you
specify to restore the primary superblock. You can always try 32 as
an alternate block. Or, use any of the alternate blocks shown by the newfs
-N command.