on 08-28-2012 11:46 AM
|
instead of deploying a parallel linux VM the NCS virtual system can be booted with a Linux Live ISO Image.
I tried this today with a Ubuntu Server 12.04.1 64bit image, going to rescue mode to fsck our broken virtual filesystems since our NCS did not successfully shutdowned as there was a migration from our VM Department on schedule.
Thank you Thomas
that was really helpful.
Thanks @sschmidt and Thomas, this fixed the rebooting of my CPI 1.2. The issue happened as the nfs connected storage of the ESX had a CPU problem and the CPI decided to switch to read-only filesystem. Login wasn't anymore possible so I had to reboot, which caused the reboot loop.
Booting with a Fedora 17 Live ISO image and issuing the lvm and fsck commands fixed the server
I find myself in the same boat with NCS. I have attached to the VM using Fedora live ISO but not having much Linux experience I'm not sure how to run the commands. I was able to secure the backup file but if I could fix the VM as you described that would be ideal. Any help you could offer would be greatly appreciated. Thanks in advance for your time.
Thanks, I can confirm these steps worked on using an Ubuntu 13.04 Live Boot Image
In my case the volumes were sda1-3 not sdb1-3
Taking the time to thank Steve Schmidt for the excellent doc!
We used CentOS 6.5 live CD ISO
we had to enter the "SU" command to get to the correct prompt, and our volumes were also "sda" 1-3.
Thanks Steve!!
Did anyone have success running fsck -t ext3 -y /dev/sdb3 ?
Dzmitryj Jakavuk
We went through the entire process, it found a few issues and "fixed" them. I don't know for sure the output (results) from that specific command, but I will ask; is the partition correct? "sdb"? my partitions were "sda" (with an "a").
Rich
I mean is it possible to check third partition which is linux lvm with fsck ?
worked fine (mine was also sda) using fedora 15 live.
#10 & #11 do 10! times so this is a script
lvnam= `lvm lvs –a| awk '{print $1}'| grep -v LV`
for index in $lvnam; do fsck -t ext3 –y /dev/smosvg/$index; done
Fedora 17 Live Disc worked for us as well, Latest release (20) was unable to see any of the Disks.
Had to run the steps and restart three times before our ADS VM would boot correctly, and the first boot after the repair took a little over an hour.
Thank you for the Fix, I wish that Cisco would add this to their official documentation. We were referred to this post by Cisco support.
Also happened to me with PI2.2
Here is my workaround:
1. After the VM entered a loop, I've downloaded the PI ISO file and uploaded it to Datastore
2. I chose "Connect to ISO Image on a Datastore..."
3. On the following loop the VM booted from ISO
4. I started a new fresh PI installation, the first step is a format of the exist OVA installation (including the Linux OS) and after it the PI installing starts over.
When the installation ends, the VM rebooted successfully.
regards,
Gadi.
After running out of disk space we also hit this problem
Thanks very much, your instructions fixed our problem.
We used Ubuntu 13.04 Desktop Live CD
More than 6 years later, and this still saved my bacon. Was running PI 3.1 and for whatever reason ended up in a boot loop that was asking for a root password in order to run a File System Check:
We attempted to follow Cisco Document ID:200760, but the syntax was incorrect in multiple places. Still, even after finding a second article in the Cisco Community here stating that the syntax was incorrect in the first article, we still were at a loss, as the issue did not seem to be resolvable...by luck, a Google search returned the article on the page you are reading now. I used the Linux SystemRescueCd-6.0.2 Released on Feb 21, 2019, which you can download here: http://www.system-rescue-cd.org/Download/
When I booted, I was presented with this screen, and I chose the first option, which got me to a CLI:
At this point, I picked up with step 7:
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: