e Operating System Goes to the Single User Mode After Being Restarted Due to the Damaged File System

Publication Date:  2012-07-17 Views:  219 Downloads:  0
Issue Description
Related information about the product and version: CSS V100R001C00, CSE V100R001C00.
The operating system goes to the single user mode after being restarted. WARNING - Unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c*t*d*s*) is displayed on the screen.

/ in Unable to repair the / filesystem can be another directory.
Alarm Information
None
Handling Process
Step 1     Run the following command to recover the file system:# fsck -y

 
If the server has large disk capacity and the file system is seriously damaged, the file system recovery takes a long period of time. During the recovery, do not perform any operations on the server, otherwise, the file system cannot be recovered.
Step 2     View information displayed on the screen. Check whether file systems in all partitions are available and the damaged file system is repaired. You need to run the fsck -y command repeatedly until no error message is displayed and no repair is required.
Step 3     Run the following command to synchronize files and restart the operating system.
# sync;sync;sync;sync;sync;sync # init 6
----End
Root Cause
The file system may be damaged because the server is shut down or powered off incorrectly. After the power supply to the server is resumed, the server will perform self-check. If the file system is damaged, the self-check will fail and the operating system goes to the single user mode.
Suggestions
Do not shut down the server forcibly. To prevent power failure, you are advised to equip the server with an uninterruptible power supply (UPS).

END