/dev/mapper/log_vg-log: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY
fsck failed. Please repair manually and reboot. The root file system is currently mounted read-only. To remount it read-write do:
bash# mount -n -o remount,rw /
Attention: Only CONTROL-D will reboot the system in this
maintanance mode. Shutdown or reboot will not work.
Give root password for maintenance
(or type Control-D to continue):
This issue occurs when the appliance is configured to perform a pre-disk check every time it starts. In this case, the routine disk check discovers a serious issue that needs operator intervention.
'y'
key to fix an error, the 'e2fsck'
command corrects the state of the disk it is currently working.e2fsck -y /dev/sda2
mount -n -o remount,rw /
Press Control+D or reboot the vCSA using the vSphere Client.
When the GRUB bootloader appears, press Spacebar to disable autoboot.
Select 'p' and enter the root password
Type 'e' to edit the boot commands.
Scroll to the second line displaying the kernel boot parameters.
Find this line:kernel /vmlinuz-3.0.101-0.35-default
Type 'e' to edit the boot command.
Append the following to the kernel boot options:init=/bin/bash
Press Enter. The GRUB menu re-appears.
Type 'b' to start the boot process. The system boots to a temporary BASH shell.
Set the default shell to BASH by running this command:chsh -s /bin/bash root
Reboot the vCSA using the vSphere Client.
Enter the root password.
At the repair filesystem prompt, type this command:fsck /dev/mapper/log_vg-log
init=/bin/bash