Jump to content

virt-install fails with 'Operation not permitted'


Recommended Posts

Guest PeterSteele
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...