Search the VMware Knowledge Base (KB)
View by Article ID

Manually running fsck on vCenter Server Appliance 6.5 (2147154)

  • 2 Ratings
Language Editions

Purpose

This article explains how to manually run fsck to perform a file system consistency check on  vCenter Server Appliance 6.5.

Important: This article is explicitly for vCenter Server Appliance 6.5 and will not work for previous versions.

Resolution

To manually run fsck on vCenter Server Appliance 6.5:

Note: Ensure to take a snapshot or backup of vCenter Server Appliance 6.5 before proceeding. 
  1. Reboot vCenter Server Appliance 6.5 and immediately after the OS starts, press the key e to enter the GNU GRUB Edit Menu.

  2. Locate the line that begins with the word linux.

  3. Append the following to the end of that line:

    systemd.unit=emergency.target

    The line should look like the following screenshot




  4.  Press F10 to continue booting.

    Note:You will be prompted for the root password. You may have to enter this in password twice.

  5. Change the BASH Shell by entering the command Shell

  6. Run this command df to list the available file systems:

    root[ ~ ]# df
    Filesystem 1K-blocks Used Available Use% Mounted on
    devtmpfs 8205180 0 8205180 0% /dev
    tmpfs 8211976 8 8211968 1% /dev/shm
    tmpfs 8211976 712 8211264 1% /run
    tmpfs 8211976 0 8211976 0% /sys/fs/cgroup
    /dev/sda3 11089144 4078128 6441060 39% /
    tmpfs 8211976 10760 8201216 1% /tmp
    /dev/mapper/netdump_vg-netdump 1007640 1304 954320 1% /storage/netdump
    /dev/mapper/dblog_vg-dblog 15342576 104144 14452412 1% /storage/dblog
    /dev/mapper/db_vg-db 10181944 98716 9559352 2% /storage/db
    /dev/mapper/autodeploy_vg-autodeploy 10181944 23168 9634900 1% /storage/autodeploy
    /dev/mapper/imagebuilder_vg-imagebuilder 10181944 23172 9634896 1% /storage/imagebuilder
    /dev/mapper/seat_vg-seat 25663804 72344 24281152 1% /storage/seat
    /dev/mapper/updatemgr_vg-updatemgr 103073056 64728 97765860 1% /storage/updatemgr
    /dev/mapper/log_vg-log 10181944 67664 9590404 1% /storage/log
    /dev/mapper/core_vg-core 51466876 53200 48792648 1% /storage/core
    /dev/sda1 122835 27169 89113 24% /boot

  7. Run this command to perform a consistency check on the specified file system:

    #e2fsck -y filesystem

    For example:

    e2fsck -y /dev/sda1

  8. Reboot vCenter Server Appliance 6.5 by running this command:

    reboot -f

See Also

Language Editions

ja,2148103;zh_cn,2148270;de,2148832

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 2 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 2 Ratings
Actions
KB: