In my case I had a network outage in my lab which resulted in the VCA, NSX Manager, Platform Services Controller, nearly everything to crash or hang.  Upon restart of the VCA and PSC I received the some errors associated with /dev/mapper/log_vg-log partition.  Asking me to fix the error manually.


The problem was if I follow the instructions to enable the shell so I can run fsck, I simply get an unknown command error.

Here is what I had to do to get moving again.

  • Hit Control-D or Reboot the vCSA using the vSphere Client.
  • When the GRUB bootloader appears, press the 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.  You see this line:kernel /vmlinuz-3.0.101-0.35-default
  • Type e to edit the boot command.
  • Append init=/bin/bash to the kernel boot options.
  • 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

Ah this looks familiar


This time however we will;

  • enter the root password
  • at the repair filesystem prompt type the following command

fsck /dev/mapper/log_vg-log


  • Control-D to reboot

Its all good again.




  1. Thx for this, this saved my lab from a full rebuild after a power-outage.

  2. Excellent post and like others saved me from a lot of rebuild work.

  3. Saved my bacon! The chsh -s /bin/bash root workaround to get the ‘repair filesystem’ prompt did the trick!

  4. I got same error and lost 3 hours to try from 23h-2. I going to re install vcenter till i try your blogs. This save my jobs. Thx you.

  5. This was definitely a life saver for me! Thank you so much for this write up. Great job!!!

  6. Had same problem with /dev/mapper/core_vg-core this help. Thanks alot. Save me day.

Leave a Reply

Your email address will not be published. Required fields are marked *