Displaying 20 results from an estimated 10000 matches similar to: "virsh attach-disk live guest problem"
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:
2012 Oct 24
3
KVM + virsh nodeinfo + CentOS 6.3
Hi,
Please let me know in case I am posting my question to the wrong forum.
I apologize if that is the case!
Here is my question:
We run CentOS 6.3 on a server with dual Xeon CPU's. Our "dual blade"
server uses this motherboard:
http://www.supermicro.com/products/motherboard/Xeon/C600/X9DRT-HF.cfm
We have two of these CPUs installed and working:
Intel(R) Xeon(R) CPU E5-2620 0 @
2013 Apr 07
0
2 Problems with attaching/detaching disks with virsh and KVM
Hi,
I am having 2 issues with disks and KVM.
ISSUE 1:
I am unable to detach a disk from a running KVM.
(root at h2)-(/tmp)# virsh dumpxml vps_99
<domain type='kvm' id='224'>
<name>vps_99</name>
<uuid>5e24e17c-f0e4-1030-ac57-0050560018a2</uuid>
<memory>524288</memory>
<currentMemory>524288</currentMemory>
2011 Nov 15
0
virsh Attach-disk function
Hello,
I have to use attach-disk function for providing additional storage to the
guest domain
but i couldn't found proper documentation anywhere which i can follow.
----
For linux (Ubuntu 11.10 server edition, 64bit) guest i tried
qemu-img create -f qcow2 disk.qcow2 size
virsh attach-disk guest_name --driver file disk.qcow2 sdc
Both of the above commands are working fine but when i try to
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:
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.
>
2016 Jan 13
0
virsh attach-device : Bus 'pci.0' does not support hotplugging.
Hi ,
Trying to attach a disk to existing VM using virsh attach-device -
XML
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none' io='native'/>
<source file='/var/lib/libvirt/images/guest.qcow2'/>
<target dev='vdc' bus='virtio'/>
</disk>
After
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
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 22
2
KVM, virsh attach-disk error
I try to add a fresh, unformatted disk partition to a KVM guest. I
follow the directions given here:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/Virtualization/index.html#proc-Virtualization-Adding_storage_devices_to_guests-Adding_physical_block_devices_to_virtualized_guests
First I check that the module acpiphp is present on the guest. It is.
On the host I write:
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
2020 Sep 03
3
Error while loading shared libraries: libsbz.so
Hi,
I have a KVM host running ubuntu 18.04 with libguestfs-tools
version 1.36.13-1ubuntu3.3 installed from the Ubuntu's repo and when I try
to use virt-cat for example on a VM it fails with:
libguestfs: error: appliance closed the connection unexpectedly.
> libguestfs: error: guestfs_launch failed.
After doing "export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1" and running the
2010 Aug 24
0
Booting CentOS 5.5 (KVM) from a second disk
Hi all!
Doing some tests with CentOS 5.5 on a KVM virtual machine, after doing
the installation, I added a second disk. But when trying to boot from
it, I get the following error:
---------------------------------------------------------------------
root (hd1,0)
Error 21: Selected disk does not exist
---------------------------------------------------------------------
The two disks are
2014 Dec 11
1
Inspect_os() error
I posted this problem on IRC yesterday. Here are some logs.
Recap on the problem:
When I do inspect_os() (from the python api) or invoke virt-inspector, I
get this error:
libguestfs: error: internal_parse_mountable: internal_parse_mountable_stub:
/dev/vg_nestedctos1/lv_root: No such file or directory
I don't have this problem when I invoke it using the OS supplied binaries
(version 1.14.8).
2011 Dec 14
1
Help loading a corrupt vdi file
Hello everyone, I have a corrupt .vdi file from a virtualbox installation (XP host, Mint 11 guest) which I recently broke. I wanted to allocate more space to it, so I ran this command:VBoxManage.exe modifyhd /path/to/YOUR_HARD_DISK.vdi --resize 17179869184
It only took a second to actually complete, so I think a header somewhere is broken.
I need to get access to some files I had on there using
2010 Aug 24
1
Booting CentOS 5.5 (KVM) from a second disk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all!
Doing some tests with CentOS 5.5 on a KVM virtual machine, after doing
the installation, I added a second disk. But when trying to boot from
it, I get the following error:
- ---------------------------------------------------------------------
root (hd1,0)
Error 21: Selected disk does not exist
-
2014 Dec 29
2
Bug#773561: Installing "xen-linux-system-amd64" on jessie fails
> On 23 Dec 2014, at 12:59, Ian Campbell <ijc at debian.org> wrote:
>
> Control: reassign -1 xen-utils-common 4.4.1-6
> Control: retitle -1 /etc/init.d/xen fails when run in a guest, causing postinst to fail.
>
> Seems like this issue is in the Xen packages not in the xen-linux-system
> metapackage, so reassigning.
>
> On Mon, 2014-12-22 at 23:01 +0100, Sydney
2014 May 22
0
Re: Live snapshots of a single block device
On 05/22/2014 04:31 PM, Andrew Martin wrote:
> Hello,
>
[Can you convince your mailer to wrap long lines?]
> I am working on a script to automatically create live snapshots of
> running VMs using qemu-kvm 1.4.0 and libvirt 1.0.2. If a VM has
Any reason you aren't upgrading to newer versions? Although these seem
sufficient for what you are trying.
> multiple disks, I'd
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
2015 Oct 01
4
kernel BUG at drivers/block/virtio_blk.c:172!
Hi,
I have a virtual machine which fails to boot linux-4.1.8 while mounting
file systems:
> * Mounting local filesystem ...
> ------------[ cut here ]------------
> kernel BUG at drivers/block/virtio_blk.c:172!
> invalid opcode: 000 [#1] SMP
> Modules linked in: pcspkr psmouse dm_log_userspace virtio_net e1000 fuse nfs lockd grace sunrpc fscache dm_snapshot dm_bufio dm_mirror