start failure with lxc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I think I've done something to my machine, but I can't seem to figure out what.  I have now set up a very simple lxc setup to try and test this.
Here is the XML:
~> cat vm1GPU.xml
<domain type='lxc'>
  <name>vm1GPU</name>
  <memory>1020400</memory>
  <os>
    <type>exe</type>
    <init>/bin/sh</init>
  </os>
  <vcpu>1</vcpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/libexec/libvirt_lxc</emulator>
    <interface type='bridge'>
      <source bridge='br0' />
    </interface>
    <filesystem type='mount'>
      <source dir='/export/vm1gpu/root' />
      <target dir='/' />
    </filesystem>
    <console type='pty'/>

  </devices>
</domain>

Here is what I get when I try to start it.

>sudo virsh --connect lxc:// start vm1GPU
error: Failed to start domain vm1GPU
error: internal error guest failed to start: 2012-09-19 21:26:48.673+0000: 12702: info : libvirt version: 0.9.10, package: 21.el6_3.4 (CentOS BuildSystem <http://bugs.centos.org>, 2012-08-23-18:28:26, c6b9.bsys.dev.centos.org)
2012-09-19 21:26:48.673+0000: 12702: error : lxcControllerRun:1484 : Failed to query file context on /export/vm1gpu/root: No data available

Now if change the target directory to something other than the root it starts right up.  Any help would be much appreciated. Thanks!

Eric
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux