Re: virt-install cannot determine proper disk type on remote host

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

 



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

Orion telekom d.o.o. Beograd
Naselje Zemun Polje, Mala pruga 8
11080 Zemun, Srbija
m: +381 64 8379 337 
On 7/2/19 4:28 PM, Cole Robinson wrote:
adding type=block
_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux