James Adams wrote:
I am attempting to start a new domU using this command as root: virsh
create <xml_file>
I am seeing the following error:
libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: Disk isn't accessible")
error: Failed to create domain from /root/xvmfiles/abc-1.0.xml
The XML file looks like this:
<?xml version="1.0" encoding="UTF-8"?><domain type="xen">
<name>abc-1.0</name>
<uuid>46606550-882c-42ff-9911-15c9a89185db</uuid>
<bootloader>/usr/lib/xen/bin/pygrub</bootloader>
<os>
<type>linux</type>
</os>
<memory>12582912</memory>
<vcpu>1</vcpu>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<distro name="solaris"/>
<clock offset="localtime"/>
<devices>
<interface type="bridge">
<source bridge="e1000g0"/>
<target dev="vif-1.0"/>
<mac address="00:16:3e:00:01:44"/>
</interface>
<disk device="disk" type="file">
<driver name="tap" type="vdisk"/>
<source file="/root/xvmfiles/abc-1.0"/>
<target dev="xvda"/>
</disk>
</devices>
</domain>
I have vdisk files for the domU (vdisk.vmdk and vdisk.xml) in the
directory /root/xvmfiles/abc-1.0, and these files have 755 permissions.
I am doing this on a Solaris system, here's the output from uname -a:
SunOS lm1-dom0 5.11 snv_111a i86pc i386 i86xpv
Can anyone comment as to what my error may be? Thanks in advance for
your help.
/root/xmvfiles should have r/w privs for user xvm... Do you
have that?
MRJ
_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org