0

Had to move an old server that hosts some virtual machines. I can't get them back up. The config files are as so:

    # Configuration file for the Xen instance vpn.linux.core.theimaginariumstudios.com, created
# by xen-tools 4.2 on Mon Jul  2 20:09:54 2012.
#

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'

vcpus       = '1'
memory      = '512'

#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
disk        = [
                  'phy:/dev/drbd2,xvda2,w',
              ]


#
#  Physical volumes
#


#
#  Hostname
#
name        = 'lic1-linux'

#
#  Networking
#
vif         = [ 'ip=192.168.11.231,mac=00:16:3E:52:87:24' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

When I start the VM, the root disk isn't detected - /dev/xvda2. I'm not sure where this is, could it be a link to another disk?

drbd2 exists however. I've re-retried and one of the VMs worked and could detect xvda2, but others are still having issues. I used the xm create -c command to launch it

I get this message when launching the VM:

 Begin: Mounting root file system ... Begin: Running /scripts/local-top ... [    0.587405] device-mapper: uevent: version 1.0.3
[    0.588275] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
  Volume group "data" not found
  Skipping volume group data
Unable to find LVM volume data/swap
done.
done.
aaaa
  • 1
  • 1

0 Answers0