Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

KVM partition in block device

$
0
0
Hi,

I think I've done something realy stupid now. Years ago, I created a partition, made it ext3 and assigned it to my virtual machine (KVM). This has its advantages and its disadvantages. I don't want to start a discussion on that, but it is just the way it is.

Now, I've moved the partition into an LVM volume (which I didn't have at first) and now the virtual machine doesn't know the UUID of the partition any longer. I just keep falling back to a busybox shell with the message that /dev/disk/by-uuid/XXX does not exist. If I type 'ls /dev/disk', I don't even see a directory by-uuid. There's only a by-id directory there. If I type 'blkid' I see the correct ID for my partition (but maybe that's because I tried to recover by resetting it to the right uuid from within the host system).

Anyway, I just seem to be unable to get my file system mounted. I've tried a lot of things already, but I just can't get any further. Most stuff on fora about /dev/disk/by-uuid are about normal systems, but this doesn't work for me as I'm in this special case where I'm running in a VM and with no partition table in my VM's block device.

Anyone an idea on how I could recover my VMs?

Thx in advance,

Diego

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>