Ext3 partition won't mount
Posted on 2011-02-10
I have a server running Ubuntu 10.04 server, which is virtualizing another Ubuntu 10.04 server with qemu / kvm. For some reason somebody yesterday decided to press the power button on the physical server. The virtual server never came back up.
I opened up virt-manager and had a look at my virtual machine. It had just a blinking cursor. I had previously thought maybe it was fsck'ing but it didn't appear to be. I pressed a few buttons on the keyboard, trying to get some input, and all of a sudden it showed a message saying something like "skipping /backup" which is the partition that has all of my files on it. Ubuntu loaded but /dev/sdb was not mounted at /backup. I have not been able to mount it, it gave an error that I can't remember but it may have been about a superblock.
Anyway I'm analysing the partition with testdisk at the moment, but I don't really know what to do from here. Any suggestions? Am I screwed? I have some of the data backed up on an external drive, so that's a bit of a relief. The partition is just a .qcow2 file as well, so maybe there is something I can do from the physical server?