virt-install fails with 'Operation not permitted'

  • Thread starter Thread starter PeterSteele
  • Start date Start date
P

PeterSteele

I'm hitting an install when running a virt-install command under CentOS. The command I'm running is

virt-install --connect=qemu:///system \
--network bridge=br0 \
--initrd-inject=/var/lib/hf/pvm-ks.cfg \
--extra-args="ks=file:/pvm-ks.cfg text console=tty0 utf8 console=ttyS0,115200" \
--name=vm-test \
--disk path=/dev/sdc4,bus=virtio \
--force --vcpus=1 --ram=512 --check-cpu --accelerate --hvm \
--location=custom.iso --nographics --noreboot

The error I am seeing is this:

ERROR Unable to allow access for disk path /dev/sdc4: Operation not permitted

I'm running as root and /dev/sdc is partitioned as I've always been doing configuring things for my application. This same operation has been working for me for some time. I've changed something in my CentOS configuration though that has caused this issue to occur. I don't see anything that explains it. Is anyone familiar with this error and what causes it?

Continue reading...
 
Back
Top