When the file system is disabled, no data can be written to the disk. Although some minor file system operations still work, most simply return EIO
. The only thing that can be done when the file system is disabled is to do a umount
and run a full fsck
.
-y
option, all fsck
user prompts are answered with a "yes", which can make irreversible changes if it performs a full file system check.Although a log replay may produce a clean file system, do a full structural check to be safe.
The file system usually becomes disabled because of disk errors. Disk failures that disable a file system should be fixed as quickly as possible.
See the fsck_vxfs
(1M) manual page.
To execute a full structural check
# fsck -V vxfs -o full -y /dev/vx/rdsk/
diskgroup/
volume