similar to: virsh Attach-disk function

Displaying 20 results from an estimated 10000 matches similar to: "virsh Attach-disk function"

2011 Oct 24
2
Unable to acquire lock
Hello, I am trying to execute virsh commands on a host but it is giving errors due to failure in acquiring lock. root at kvm01:~# virsh suspend blindone error: Failed to suspend domain blindone error: Timed out during operation: cannot acquire state change lock Any suggestions how can we figure out possible reasons. -- Jatin -------------- next part -------------- An HTML attachment was
2014 Mar 27
1
virsh attach-disk live guest problem
Hypervisor= ubuntu 12.04.2 guest = ubuntu 12.04.4 used virt-manager to create a new storage file in qcow2 format on hypervisor and then attach it to the guest. In virt-man I can see the disk is attached. trying virsh attach-disk I get a failure saying disk already attached virsh dump xml shows the disk at vdb as it should be but on the guest, fdisk -l shows no vdb and its not in /proc I found
2011 Sep 03
1
Char dev error
Hello, I have been trying to migrate a guest from one host to another. But it is showing this error: virsh --connect qemu+ssh://root at host1/system migrate --live --undefinesource testvm3 qemu+ssh://root at host2/system tcp://host2:48160 error: operation failed: failed to retrieve chardev info in qemu with 'info chardev' I have tried this command from the host1 also but it shows the
2019 Aug 02
2
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
Thank you for your help! 1, i used vda as install disk and vdb as target disk, because i boot from the first. After setup boot order flag i was able change install disk to vdb and target disk to vda. With this configuration when i boot from vdb i can install OS with grub and after it redefine XML without vdb without problem. Thanks a lot. 2, maybe i have something wrong, but still not working:
2018 Sep 11
0
Secondary disk unattached if guest unresponsive and killed with 'virsh destroy'
I have a very strange issue that has plagued our KVM-based hypervisor infrastructure. Environment: - All EL7-based libvirt releases since EL7.0 - Fully patched EL7-based KVM guest on a fully patched EL7-based KVM host. - Secondary disk attached via 'virsh attach-device guest /vm/guest-with-secondary-disk-01/disk2.xml --persistent' (note --persistent flag here) Problem Description: -
2011 Apr 23
1
KVM, virsh attach-disk problems
Greetings, list! I hope you forgive cross-posting - I only now found this list. I am in the process of configuring a KVM stack of about 8 vms. Mostly I am concerned about performance, as there will be a lot of I/O. My last problem is this: I try to add a fresh, unformatted disk partition to a KVM guest. I follow the directions given here:
2019 Aug 03
0
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
On 8/2/19 6:26 PM, Jan Horak wrote: > Thank you for your help! > > 1, i used vda as install disk and vdb as target disk, because i boot from the first. After setup boot order flag i was able change install disk to vdb and target disk to vda. With this configuration when i boot from vdb i can install OS with grub and after it redefine XML without vdb without problem. Thanks a lot. >
2019 Aug 02
0
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
On 8/1/19 10:12 AM, Jan Horak wrote: > Hi all, > > i created a script in PHP for create a virtual server with two QCOW2 discs … one is our system for installation and second is target system. > > After successfully instalation (create a blank Debian system, prepare all files and grub partitions) i need a restart virtual without a installation disk. > > If i use Virsh: >
2019 Mar 07
1
why attach-disk can't be effective when the guest is booting
Hi, When i use "virsh attach-device rhel disk.xml" when the guest is booting,then i can't find the disk in the guest after booting.But i can find it by "virsh domblklist rhel",and when i want to detach it from the guest and use "virsh detach-disk rhel vdb", i still can find the disk by "virsh domblklist rhel" The disk.xml is like: <disk
2019 Aug 01
3
Detach disk from VM - virsh (working) vs. PHP (not working)
Hi all, i created a script in PHP for create a virtual server with two QCOW2 discs … one is our system for installation and second is target system. After successfully instalation (create a blank Debian system, prepare all files and grub partitions) i need a restart virtual without a installation disk. If i use Virsh: detach-disk --domain debian-test2 --persistent --target vda reset
2013 Dec 12
0
Re: virsh attach makes qcow2 format disk to raw format
On 12/09/2013 09:03 PM, lyz_pro@163.com wrote: > Hi all > > I have a problem when I use `virsh attach` to attach a qcow2 disk to vm without argument --subdirver=qcow2 > and this makes the qcow2 disk become a raw format disk, and the data in this disk is missing in guest os > and also I have used guestmout to confirm this, the same result. The format of a file is important. By
2015 Aug 07
3
virsh create snapshot not honoring diskspec?
Hi, I'm trying to create a snapshot on a specific disk by using diskspec option. However, libvirt/virsh seems to ignore it and takes a snapshot of all disks. Am I using this option incorrectly? In below examples, I'm trying to snapshot only vdb. However even vda is getting snapshotted regardless of diskspec. Is this a known issue? I'm on CentOS 7.1, libvirtd (libvirt) 1.2.8, virsh
2015 Apr 14
0
Re: VM Performance using KVM Vs. VMware ESXi
Jatin, Using qemu without the virtio scsi and nic drivers is like running vmware with ide disks and e1000 nic instead of LSI disks and vmxnet3 nics, it forces the system to emulate completely different hardware. In linux the virtio drivers are implemented in the kernel, so you either need a new kernel or the virtio kernel modules. I'm not sure which for RHEL5, but I suspect you can get
2013 Dec 10
2
virsh attach makes qcow2 format disk to raw format
Hi all I have a problem when I use `virsh attach` to attach a qcow2 disk to vm without argument --subdirver=qcow2 and this makes the qcow2 disk become a raw format disk, and the data in this disk is missing in guest os and also I have used guestmout to confirm this, the same result. Is there any way to let me find back the data in this disk ? the version of libvirt and kvm is : Compiled
2010 Dec 03
1
added second virtio-disk: disk order detected wrong
Greets, I am unsure if it's a linux- or libvirt-issue: I added a 2nd virtio-disk to a kvm-based VM. The xml shows a correct "target": # first disk vda <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/mnt/r0/vm1_vda-clone.img'/> <target dev='vda'
2015 Aug 13
0
Re: virsh create snapshot not honoring diskspec?
On 08/07/2015 09:53 AM, Silver Sky Soft Services, Inc. wrote: > Hi, > I'm trying to create a snapshot on a specific disk by using diskspec > option. However, libvirt/virsh seems to ignore it and takes a snapshot of > all disks. Am I using this option incorrectly? > > In below examples, I'm trying to snapshot only vdb. However even vda is > getting snapshotted
2013 Mar 28
1
Snapshot without volumes temporarily
Hello, I want to do a snapshot which the VM has volumes. But I want to skip the volume check when I do the snapshot. (Which means I want to do a snapshot without detaching the volume) So I try to write a snapshot XML refer by http://libvirt.org/formatsnapshot.html as following: vda is my VM basic disk (qcow2) vdb is a volume (raw) ================ t1.xml =============== <domainsnapshot>
2018 Apr 30
1
Unable to detach disk using 'virsh detach-disk'
I'm unable to detach a disk from a Windows guest using the 'virsh detach-disk' command. Even though 'domblklist' shows the disk attached, and on the FIRST iteration, it says the command "completed successfully," 'domblklist will still show the disk attached and subsequent 'detach-disk' commands fail with 'no disk found whose source path or target
2015 Jun 30
0
qemu-img snapshots configuration
Hello. What it the difference in external snapshot configuration with and without <domainsnapshot> ? What is the difference between vda and vdb in the following example? (From https://libvirt.org/formatsnapshot.html) <domainsnapshot> ... <memory snapshot='no'/> <disks> <disk name='vda' snapshot='external'> <driver
2020 Jan 06
0
Fwd: (no subject)
Thank you so much for your informative response. The man page of virsh did not include "snapshot=no" sub-option under the --diskspec option, but it is very intuitive. Thanks developers for their excellent work! Hakan Peter Krempa <pkrempa@redhat.com>, 6 Oca 2020 Pzt, 02:57 tarihinde şunu yazdı: > On Sun, Jan 05, 2020 at 17:21:52 -0600, Eyüp Hakan Duran wrote: > > Dear