Hello and Good Day,
I am setting up a home lab using KVM. I have 3 physical driver representing 3 volumes.
My root drive is only 64GB.
I have installed KVM and all of its requirements on the server. However my ISO files are located on /mnt/2TB-HDD
I created a Ubuntu VM with its virtual cd-rom targeting "/mnt/2TB-HDD/ftp_root/ISO/ubuntu-20.04.1-desktop-amd64.iso"
I then monitor the /var/log/syslog file then start the VM.
The syslog file shows.
Whie the virt manager shows the prompt.
![]()
I cannot see any permission issues on the file, can anyone guide me to the correct troubleshooting steps?
I am setting up a home lab using KVM. I have 3 physical driver representing 3 volumes.
Code:
/mnt/110GB-SSD
/mnt/2TB-HDD
/mnt/500GB-SSD
Code:
user@srv01:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 63G 0 63G 0% /dev
tmpfs 13G 2.0M 13G 1% /run
/dev/mapper/ubuntu--vg-lv--0 63G 11G 50G 18% /
tmpfs 63G 0 63G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/mapper/ubuntu--vg-lv--2 4.9G 23M 4.6G 1% /home
/dev/sda1 511M 7.9M 504M 2% /boot/efi
/dev/mapper/ubuntu--vg-lv--1 4.9G 610M 4.0G 13% /var
/dev/sdc 477G 3.4G 474G 1% /mnt/500GB-SSD
/dev/mapper/ubuntu--vg-lv--3 110G 818M 110G 1% /mnt/110GB-SSD
/dev/loop1 56M 56M 0 100% /snap/core18/1944
/dev/loop0 56M 56M 0 100% /snap/core18/2074
/dev/loop2 32M 32M 0 100% /snap/snapd/10707
/dev/loop3 70M 70M 0 100% /snap/lxd/19188
/dev/sdb 1.9T 35G 1.8T 2% /mnt/2TB-HDD
/dev/loop4 33M 33M 0 100% /snap/snapd/12398
/dev/loop5 71M 71M 0 100% /snap/lxd/21029
tmpfs 13G 0 13G 0% /run/user/1000
Code:
sheenlim08@srv01:~$ ls /mnt/2TB-HDD/ftp_root/ISO -l
total 22572480
-rwxrwxr-x 1 sheenlim08 sheenlim08 7135559680 Jul 22 12:53 CentOS-8-x86_64-1905-dvd1.iso
-rw-rw-r-- 1 sheenlim08 sheenlim08 4056940544 Jul 22 12:54 openSUSE-Leap-15.1-DVD-x86_64.iso
-rwxrwxr-x 1 libvirt-qemu kvm 2785017856 Jul 22 12:29 ubuntu-20.04.1-desktop-amd64.iso
-rw-rw-r-- 1 sheenlim08 sheenlim08 1215168512 Jul 22 12:20 ubuntu-20.04.2-live-server-amd64.iso
-rw-rw-r-- 1 sheenlim08 sheenlim08 7921532928 Jul 22 12:42 Windows21H1.iso
I then monitor the /var/log/syslog file then start the VM.
The syslog file shows.
Code:
Jul 23 23:01:09 srv01 kernel: [ 2056.644781] audit: type=1400 audit(1627081269.900:41): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirt-29e30561-c068-44c4-8d6b-d674728d683f" pid=2127 comm="apparmor_parser"
Jul 23 23:01:10 srv01 kernel: [ 2056.892720] audit: type=1400 audit(1627081270.148:42): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-29e30561-c068-44c4-8d6b-d674728d683f" pid=2130 comm="apparmor_parser"
Jul 23 23:01:10 srv01 kernel: [ 2057.143155] audit: type=1400 audit(1627081270.396:43): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-29e30561-c068-44c4-8d6b-d674728d683f" pid=2134 comm="apparmor_parser"
Jul 23 23:01:10 srv01 kernel: [ 2057.392757] audit: type=1400 audit(1627081270.648:44): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libvirt-29e30561-c068-44c4-8d6b-d674728d683f" pid=2138 comm="apparmor_parser"
Jul 23 23:01:10 srv01 kernel: [ 2057.405749] virbr0: port 2(vnet0) entered blocking state
Jul 23 23:01:10 srv01 kernel: [ 2057.405752] virbr0: port 2(vnet0) entered disabled state
Jul 23 23:01:10 srv01 kernel: [ 2057.405845] device vnet0 entered promiscuous mode
Jul 23 23:01:10 srv01 kernel: [ 2057.406044] virbr0: port 2(vnet0) entered blocking state
Jul 23 23:01:10 srv01 kernel: [ 2057.406046] virbr0: port 2(vnet0) entered listening state
Jul 23 23:01:10 srv01 networkd-dispatcher[1230]: WARNING:Unknown index 7 seen, reloading interface list
Jul 23 23:01:10 srv01 systemd-networkd[1202]: vnet0: Link UP
Jul 23 23:01:10 srv01 systemd-networkd[1202]: vnet0: Gained carrier
Jul 23 23:01:10 srv01 systemd-udevd[2141]: Using default interface naming scheme 'v245'.
Jul 23 23:01:10 srv01 systemd-udevd[2141]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Jul 23 23:01:10 srv01 kernel: [ 2057.652331] audit: type=1400 audit(1627081270.908:45): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-29e30561-c068-44c4-8d6b-d674728d683f" pid=2149 comm="apparmor_parser"
Jul 23 23:01:10 srv01 systemd[1]: Started Virtual Machine qemu-2-ubuntu20.04.
Jul 23 23:01:11 srv01 systemd-networkd[1202]: vnet0: Link DOWN
Jul 23 23:01:11 srv01 systemd-networkd[1202]: vnet0: Lost carrier
Jul 23 23:01:11 srv01 kernel: [ 2057.754350] virbr0: port 2(vnet0) entered disabled state
Jul 23 23:01:11 srv01 kernel: [ 2057.758430] device vnet0 left promiscuous mode
Jul 23 23:01:11 srv01 kernel: [ 2057.758441] virbr0: port 2(vnet0) entered disabled state
Jul 23 23:01:11 srv01 systemd-networkd[1202]: rtnl: received neighbor for link '7' we don't know about, ignoring.
Jul 23 23:01:11 srv01 systemd-networkd[1202]: rtnl: received neighbor for link '7' we don't know about, ignoring.
Jul 23 23:01:11 srv01 libvirtd[1302]: Unable to read from monitor: Connection reset by peer
Jul 23 23:01:11 srv01 libvirtd[1302]: internal error: qemu unexpectedly closed the monitor: 2021-07-23T23:01:11.010860Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/mnt/2TB-HDD/ftp_root/ISO/ubuntu-20.04.1-desktop-amd64.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/mnt/2TB-HDD/ftp_root/ISO/ubuntu-20.04.1-desktop-amd64.iso': Permission denied
Jul 23 23:01:11 srv01 systemd[1]: machine-qemu\x2d2\x2dubuntu20.04.scope: Succeeded.
Jul 23 23:01:11 srv01 libvirtd[1302]: internal error: process exited while connecting to monitor: 2021-07-23T23:01:11.010860Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/mnt/2TB-HDD/ftp_root/ISO/ubuntu-20.04.1-desktop-amd64.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/mnt/2TB-HDD/ftp_root/ISO/ubuntu-20.04.1-desktop-amd64.iso': Permission denied
Jul 23 23:01:11 srv01 kernel: [ 2058.037661] audit: type=1400 audit(1627081271.292:46): apparmor="STATUS" operation="profile_remove" profile="unconfined" name="libvirt-29e30561-c068-44c4-8d6b-d674728d683f" pid=2163 comm="apparmor_parser"
I cannot see any permission issues on the file, can anyone guide me to the correct troubleshooting steps?