vCenter 6 Virtual Appliance and e2fsck and Superblock Errors

In our test lab we are using VMware  Essentials with the vCenter 6 appliance. When I boot the appliance it states I need to run fsck on my volume. I have followed the Vmware KB’s on this but not having any luck. I see a message stating that the /var file system cannot be found and believe this is on /dev/sda2. When I try to run e2fsck on this volume it states it has invalid Superblocks and does not repair / clean the volume?

Any thoughts or suggestions?
LVL 21
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
do you  have any issues with the datastore ?
compdigit44Author Commented:
The datastore it is on is healthy.. Alos when I do I control-D to reboot / exit it causes a kernel panic
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
I think for how long it takes to re-import a new vCenter 6 Virtual Appliance, I would start with a new fresh appliance, and see if the fault reappears.
Get Blueprints for Increased Customer Retention

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

compdigit44Author Commented:
I thought about that but was hoping to get my data off the old appliance...
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
what data ?
compdigit44Author Commented:
All of the settings and and what not for our small lab environment.... The other real reason I want to fix this is so I can learn how to do it and get better at using Linux
compdigit44Author Commented:
When I type in    mount -n -o remount,rw     it displays back the menu items for the mount command and acts like it is the wrong syntax

When I type in mount -n -o remount,rw /dev/sda2 it stats that point swap does not exist...

I know of all people who can help me with this
compdigit44Author Commented:
I know most people would say just import the appliance again. But since this is on our I have an trying to "learn" more about linux at the same time.

when I run the df -h command I only see /dev/sda3 listed but it appears /dev/sda2 is the swap parition if I am ready everything correctly ...

I see the appliance has 7 disk attached and unsure which is used for /dev/sda2? how can this be fixed?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
you can use


Open in new window

to show the mappings to the disks.


Open in new window

this will show the disks, should be 11, VMDK3 should be SWAP
compdigit44Author Commented:
Thank you for sticking with me on this Hancock!!!!

I did try using the lsblk command and it did not display any results..

If the problem is with the swap partition can it be easily fixed?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
nothing is easy if your Linux VM is broken.

does vCenter still function ?

does lsscsi work ?
compdigit44Author Commented:
When you boot the vCenter VM is does not boot all the way after the fsck message and system on the blue command screen so not I would say vCenter is not working but will confirm when I am back in the office...
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
That sounds like a very poorly vCenter Server appliance.

No backups ?
compdigit44Author Commented:
No backups since it was our test lab...

So for my own information..  In Linux if the swap partition is corrupt can it be easily fixed by pointing to a new swap location or is it not that simple especially with a vcenter applicance
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
The SWAP partition is not the issue here with your vCenter Server appliance.

A SWAP partition in Linux, is the equivalent to the pagefile in Windows, if the system needs more memory or resources than which is available (e.g. Memory in the computer), inactive pages in RAM are SWAPPED to the SWAP partition.

Create a new disk, define new swap partition.

But something else more worryingly has gone wrong here.

and fsck being triggered is the equivalent to a dirty NTFS partition, e.g. corruption, are wanting to run chkdsk.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
compdigit44Author Commented:
When I run lsscsi it does not return any results
compdigit44Author Commented:
I ended up giving up and deploying a new VCA. It was do far gone but did learn some more stuff about Linux. Thanks for sticking with me on this
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.