Checking and repairing a file system
The Storage> fs fsck command lets you check and repair a file system while the file system is offline.
The Storage> fs fsck command tries to perform a normal fsck (check and repair) of the file system first, but if the fullfsck option is set, the command proceeds depending on the input that is provided by the user.
In most cases, a normal fsck (only log replay) is sufficient to repair a file system. In cases where there is structural damage to the file system's metadata, a full fsck of the file system may be necessary to repair the file system.
Warning:
Using the Storage> fs fsck command on an online file system can damage the data on the file system. Only use the Storage> fs fsck command on a file system that is offline.
Note:
When running the Storage> fs fsck command, you may encounter a process of Unknown. The Unknown process is normal, since there is no process printed as output when running a normal fsck using Storage> fsck fs name. Full fsck is run only if the normal fsck fails. In the support mode, if you are running a full fsck, Access Appliance records that status in an internal database/file.
To check and repair a file system
- To check and repair a file system, enter the following:
Storage> fs fsck fs_name
where fs_name specifies the file system for which you want to check and repair.