Solved

vCenter 6 Virtual Appliance and e2fsck and Superblock Errors

Posted on 2016-07-21
17
151 Views
Last Modified: 2016-07-25
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?
0
Comment
Question by:compdigit44
  • 10
  • 7
17 Comments
 
LVL 118
ID: 41724255
do you  have any issues with the datastore ?
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41724478
The datastore it is on is healthy.. Alos when I do I control-D to reboot / exit it causes a kernel panic
0
 
LVL 118
ID: 41724482
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.
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41724502
I thought about that but was hoping to get my data off the old appliance...
0
 
LVL 118
ID: 41724505
what data ?
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41724512
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
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41724521
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
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41725401
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?
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 118
ID: 41725409
you can use

lsblk

Open in new window


to show the mappings to the disks.

lsscsi

Open in new window


this will show the disks, should be 11, VMDK3 should be SWAP
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41725416
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?
0
 
LVL 118
ID: 41725421
nothing is easy if your Linux VM is broken.

does vCenter still function ?

does lsscsi work ?
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41725969
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...
0
 
LVL 118
ID: 41726570
That sounds like a very poorly vCenter Server appliance.

No backups ?
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41726731
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
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 41726734
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.
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41727488
When I run lsscsi it does not return any results
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41728590
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
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
create a Clone to consolidate snapshot 17 56
ESX Server build 12 57
Renaming VMware ESXi Hosts 5 63
How to find Linux Server's last patch date 9 37
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now