The fsck –o p command checks a UFS file system and automatically fix the problems that normally result from an unexpected system shutdown. This command exits immediately if it encounters a problem that requires operator intervention. This command also permits parallel checking of the file systems.
You can run the fsck –o p command to preen the file systems after an unclean shutdown. In this mode, the fsck command does not look at the clean flag and performs a full check. These actions are a subset of the actions performed by the interactive fsck command.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
# umount /mount-point
# fsck -o p /dev/rdsk/device-name
You can preen individual file systems by using /mount-point or /dev/rdsk/device-name as arguments to the fsck command.
The following example shows how to preen the /export/home file system.
# fsck -o p /export/home