Re: [libvirt-users] Is there still no easier way to shrink a VM image?

2017-07-11 Thread Leroy Tennison
ed to change the virtual disk size. Again, any alternatives would be much appreciated. -Original Message- From: Martin Kletzander To: Leroy Tennison Cc: libvirt-users Sent: Tue, Jul 11, 2017 2:51 am Subject: Re: [libvirt-users] Is there still no easier way to shrink a VM image? O

[libvirt-users] Is there still no easier way to shrink a VM image?

2017-07-10 Thread Leroy Tennison
I have numerous qcow2 images which need to be reduced in size and have their maximum size (virtual size) reduced. Physical disk space became so low that VMs "auto-paused" themselves, I moved enough images to solve the immediate problem but need to rectify the underlying issue. It seems that q

[libvirt-users] Hopefully simple question

2017-05-27 Thread Leroy Tennison
Is there a way to determine what the hypervisor default NIC is? I'm using kvm/libvirt/qemu. If this is the wrong forum please please reply with that. ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libv

[libvirt-users] Another hopefully simple question

2017-05-27 Thread Leroy Tennison
Actually the last for now. Is there a way to determine from the hypervisor (kvm/libvirt/qemu) if a VM has unmounted a partition? ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

[libvirt-users] External snapshot issue

2017-04-23 Thread Leroy Tennison
I have used virsh snapshot-create-as "" --diskspec "vda,snapshot=external,file=/path/to/external-snapshot" --disk-only --atomic to create an external snapshot of a running VM. I followed it with virsh blockpull --path /path/to/external-snapshot and monitored it until done. I c

[libvirt-users] External snapshot issue addendum

2017-04-23 Thread Leroy Tennison
I made a mistake in my original post, --diskspec in snapshot-create-as should have shown "hda ...". I also just noticed that 'virsh edit ' has the correct information (no backing store, only the external snapshot file shown), I was under the impression that /run/... showed the current state, i

[libvirt-users] Proper way to remove a qemu-nbd-mounted volume usnig lvm

2017-04-23 Thread Leroy Tennison
I either haven't searched for the right thing or the web doesn't contain the answer. I have used the following to mount an image and now I need to know the proper way to reverse the process. qemu-nbd -c /dev/nbd0 vgscan --cache(had to use --cache to get the qemu-nbd volume to b

[libvirt-users] Insert/eject USB

2017-03-03 Thread Leroy Tennison
Is it possible to insert and eject a USB image in kvm/qemu/libvirt or are the only dynamically changeable devices cdroms and floppies? I've searched the web and I'm either not looking for the right terms or it's obscure. I should mention that I'm not talking about a connecting a physical host

[libvirt-users] Understanding and converting between type='drive' and type='pci'

2016-11-17 Thread Leroy Tennison
First, if this isn't the right list please tell me where i should post. I've searched for an explanation and I'm either searching for the wrong thing or it's not there. I'm trying to get an understanding of the "controller='0' bus='0' target='0' unit='0' " parameters for 'drive' compared to t