[virt-tools-list] virt-install cannot determine proper disk type on remote host

Marko Todorić marko.todoric at oriontelekom.rs
Tue Jul 2 14:58:46 UTC 2019


Hello Cole, thanks for the reply!

So I've tried adding 'type=block' to '--disk' virt-install option and on both versions metioned i get this error message:
"ERROR    Unknown --disk options: ['type']"
Command i used is this:

virt-install --connect=qemu+ssh://kvm_aquila-01/system --name=proba-3 --hvm --graphics vnc --disk path=/dev/mapper/proba-3,bus=virtio,type=block,cache=none --vcpus=2 --memory=2048 --cdrom=/ISO/CentOS-7-x86_64-Minimal-1810.iso --boot hd,cdrom,menu=on --os-type=linux --os-variant=rhel7 --network bridge=br7,model=virtio --noreboot

Maybe "type" was implemented in some later versions of libvirt/virt-install ? (i use 2.1.0 on my laptop and 1.5.0 on servers).

I tried adding mpath storage pool, and that seem to have worked! I've tried to install from node2 to node1, it worked. I also issued the same command from my laptop and that worked too! So thanks a lot!

Srdačan pozdrav,
Marko Todorić
Inženjer za razvoj i održavanje servisa

[cid:part1.E7A24886.2036CAC8 at oriontelekom.rs]

Orion telekom d.o.o. Beograd
Naselje Zemun Polje, Mala pruga 8
11080 Zemun, Srbija
m: +381 64 8379 337
e: marko.todoric at oriontelekom.rs<mailto:dusan.radisavljevic at oriontelekom.rs>
w: www.oriontelekom.rs<http://www.oriontelekom.rs>
On 7/2/19 4:28 PM, Cole Robinson wrote:

adding type=block
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20190702/a6ddc2f4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddcfkjmpglbonapn.png
Type: image/png
Size: 7156 bytes
Desc: ddcfkjmpglbonapn.png
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20190702/a6ddc2f4/attachment.png>


More information about the virt-tools-list mailing list