I have worked out a solution to this problem, although it's not clear why the
solution works.
I moved the vdisk files and domU XML file to another directory and now the domU comes up with no
error. I imagine that the problem is with the permissions on the original directory, or more likely
one of its parent directories since the original directory had its permissions set to 777 and still
the error persisted.
Can anyone point me to documentation which explains the directory permissions requirements, so I can
learn enough about this to avoid this error in the future?
--James
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.
--James
_______________________________________________
xen-discuss mailing list
[email protected]