qemu-discuss
[Top][All Lists]
Advanced

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

Qemu libvrit-error


From: Nguetchouang Ngongang Kevin
Subject: Qemu libvrit-error
Date: Tue, 26 Apr 2022 14:35:21 +0200
User-agent: Roundcube Webmail/1.2.7

Hello everyone,

So i try to create a VM using virt-install, this is the command:

sudo virt-install --name centos8-2 --memory 2048 --vcpus=2 --os-type=Linux --os-variant=ubuntu18.04  --disk ./external.qcow2 --cdrom /mnt/data2/focal-live-server-amd64.iso --network default --graphics=none --boot kernel=/mnt/ubuntu/casper/vmlinuz,initrd=/mnt/ubuntu/casper/initrd,kernel_args="console=ttyS0"

And this is the output error I'm getting:
ERROR    internal error: qemu unexpectedly closed the monitor: 2022-04-26T12:21:34.883043Z qemu-system-x86_64: -blockdev {"node-name":"libvirt-2-format","read-only":false,"driver":"qcow2","file":"libvirt-2-storage","backing":null}: Could not open '/mnt/data2/data.qcow2': Permission denied
 
Note that this happens when i create a qcow2 file (using qemu-img) with the "data_file_raw" option activate. (the external.qcow2 file is then the metadata file and the data.qcow2 is the data file)
When i create a qcow2 file without the data_file_raw, everything install and work correctly
 
Waiting for any useful response,
Best regards,
--
Nguetchouang Ngongang Kevin
ENS de Lyon
https://perso.ens-lyon.fr/kevin.nguetchouang/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]