Next | Prev | Up | Top | Contents | Index

Checking Unmounted Filesystems

To check a single, unmounted filesystem, give this command as root:

# fsck filesystem 
filesystem is the device file name of the filesystem's disk partition or logical volume, for example /dev/usr, /dev/dsk/dks0d2s7, or /dev/dsk/lv2; see the sections "Filesystem Names" in Chapter 3 and "Introduction to Logical Volumes" in Chapter 6 for more information.

As fsck runs, it proceeds through a series of steps, or phases. You may see an error-free check:

fsck: Checking /dev/usr 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Free List
7280 files 491832 blocks 38930 free
If there are no errors, you are finished checking the filesystem.

If errors are detected in the filesystem, fsck displays an error message. Appendix A, "Repairing EFS Filesystem ProblemsWith fsck," explains how to proceed.


Next | Prev | Up | Top | Contents | Index