Xen Project Q&A Forum: First Line Help for Simple Questions

This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.

vm100_swap does not exist

posted in Hypervisor
Thursday, September 12 2013, 12:52 AM
Andrew
Andrew
Offline
0
Hello,

I installed XEN today and created a VM based on a configuration file and when doing so I receive the following error.

Error: Device 2050 (vbd) could not be connected. /dev/VolGroup00/vm100_swap does not exist.

The actual image file exists in /dev/VolGroup00/ | however the swap image is not created. Any ideas? I can manually create the swap file and the container will boot as intended, however, why is it not creating the swap file by default?

disk = ['phy:/dev/VolGroup00/vm100_img,sda1,w', 'phy:/dev/VolGroup00/vm100_swap,sda2,w']
Responses (1)
  • Accepted Answer

    Lars Kurth
    Lars Kurth
    Offline
    Thursday, September 26 2013, 03:50 PM - #permalink
    0
    Hi, which version of Xen and which distro are you using?
    The reply is currently minimized Show
Your Reply