[Fedora-xen] Disk image does not exist
Daniel P. Berrange
berrange at redhat.com
Fri Nov 10 23:04:58 UTC 2006
On Fri, Nov 10, 2006 at 11:56:18PM +0100, Jochen Wiedmann wrote:
> Hi,
>
> I am trying to create a new guest using virt-manager. I have verified
> that pae and hvm are present. xend and xendomains have been started.
> In virt-manager, I have entered the following data:
>
> Name: fc6-guest
> Fully Virtualized
> CD-ROM (FC6 DVD is in the drive)
> Simple file, location /var/xen/win/data (file exists with size of 5GB)
> VM Max Memory = Startup Memory = 800MB, 1 CPU
>
> However, when I try to finish, I receive the error message
>
> Error creating domain: Disk image does not exist: /var/xen/win/data'
The default SELinux policy on FC6 only labels /xen with neccesary
context to allow XenD access to the disk. So if you want to store
your images under /var/xen then you need to either symlink this to
/xen, or better add your path to the policy, eg
# semanage fcontext -a -f "" -t xen_image_t '/var/xen(/.*)?'
# restorecon -R /var/xen
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the Fedora-xen
mailing list