Fix Cisco LMS Filesystem Errors

We have in the past run into problem where our Cisco LMS 4.2 would not boot after a crash or power outage.  This problem is due to filesystem errors and inconsistencies due to an ungraceful shutdown.  We run ours in a VM guest. Here is how to fix this problem:

  • Power off the Cisco LMS VM guest
  • Add the disk from the LMS VM to a Linux (either Ubuntu or Debian) VM
  • Login to the Linux VM and run the following to add LVM support
  1. modprobe dm-mod
  2. vgchange -ay
  3. lvscan
  4. lvscan | grep ACTIVE |awk -F”‘” ‘{print “fsck -t ext3 -y “$2}’ | sh

This will fsck every volume and clean any errors.  After it is finished:

  • Remove the LMS VM disk from the Linux VM
  • Power on the Cisco LMS VM

That should be it.

 

 

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=21

Leave a Reply

Your email address will not be published.