• info@vtechsummary.com
  • Munich, Germany

When VCF Operations Won’t Start: A Filesystem Issue Behind the Scenes

Sometimes a VCF Operations issue is not really a VCF Operations issue.

I recently had an interesting case in my VCF lab where VCF Operations did not come back properly after a reboot. At first, it looked like an application or service problem. But the real root cause was hiding one layer below: the filesystem.

The First Clue

I started by checking the filesystem check service:

The service had failed:

More importantly, the logs showed an unexpected filesystem inconsistency on:

/dev/mapper/data-log

So instead of immediately troubleshooting VCF Operations services, I followed the failure down to the storage layer.

Identifying the Filesystem

Checking /etc/fstab showed: /dev/data/log /storage/log ext3 defaults 0 2

So the affected logical volume was: /dev/mapper/data-log -> ext3 -> /storage/log

Before doing anything destructive, I verified that the filesystem was not mounted:

No output. That was important because filesystem repair should be performed offline.

Finding the Real Problem

I started with a non-destructive check:

The result confirmed filesystem corruption.

Among the findings were:

Inode 81975 was part of the orphaned inode list.
Inode 459356 was part of the orphaned inode list.
Deleted inode 459354 has zero dtime.

There were also inconsistencies with free blocks and inode counters.

At this point, it was clear that the problem was not primarily the VCF Operations application. The underlying filesystem metadata was inconsistent.

Repairing the Filesystem

With the filesystem confirmed as unmounted, I ran:

e2fsck found and repaired several inconsistencies, including:

  • Incorrect free-block counts
  • Incorrect free-inode counts
  • Inode bitmap differences
  • Orphaned inode entries

The repair completed with:

But I didn’t stop there. A successful repair should always be validated.

Verify, Mount, Reboot

I ran another read-only check:

This time, all five filesystem check phases completed without errors:

  • Pass 1: Checking inodes, blocks, and sizes
  • Pass 2: Checking directory structure
  • Pass 3: Checking directory connectivity
  • Pass 4: Checking reference counts
  • Pass 5: Checking group summary information

The filesystem was clean.

I then mounted the filesystem again:

and verified:

Finally, I rebooted the appliance.

And the result? VCF Operations came back fully operational.

What Was the Root Cause?

The root cause was an inconsistent ext3 filesystem on the /storage/log volume.

The filesystem contained several metadata inconsistencies, including orphaned inodes, incorrect block and inode counters, and inode bitmap differences.

The important distinction is that we can prove the filesystem inconsistency was the root cause of the failed filesystem check. However, without additional historical storage and hypervisor logs, we cannot say exactly what originally caused the filesystem to become inconsistent.

Key takeaway

When VCF Operations doesn’t come back after a reboot, check the OS and filesystem layers before assuming the application itself is broken.

A few minutes of checking systemd-fsck, mount status, and e2fsck can sometimes save a lot of unnecessary application-level troubleshooting.

Leave a Reply

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