Displaying 20 results from an estimated 800 matches similar to: "Detach disk from VM - virsh (working) vs. PHP (not working)"
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 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:
>
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 Jan 05
3
(no subject)
Dear all,
Please let me start by indicating that I am not from a technical
background, so please be gentle and patient with me.
I am trying to get a snapshot from my virtual machines (vm) and the
following
command works for all of them bar one:
# virsh snapshot-create-as --quiesce --no-metadata --domain myvm myvm-state
--diskspec vda,file=overlay.qcow2 --disk-only --atomic
The only exception is
2006 Apr 07
2
vdb and vif connection errors
I hate intermittent problems ...
Most of the time, my domUs launch just fine. But, occasionally I get a
failure to connect a vdb or vif and the domU fails to completely launch
("xm list" shows it is present but no console activity either through
"xm create -c" or through "xm console"). The log shows a stack trace
in DevController.py in the area of waiting for
2006 Apr 07
2
vdb and vif connection errors
I hate intermittent problems ...
Most of the time, my domUs launch just fine. But, occasionally I get a
failure to connect a vdb or vif and the domU fails to completely launch
("xm list" shows it is present but no console activity either through
"xm create -c" or through "xm console"). The log shows a stack trace
in DevController.py in the area of waiting for
2014 May 22
2
Live snapshots of a single block device
Hello,
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 multiple disks, I'd like to back them up individually with separate calls to snapshot-create-as, so I can more easily manage the disk images. The code I have now is essentially as follows:
virsh snapshot-create-as --domain "vmname" --name
2017 Aug 29
1
BUG: HMTL-based help.search() on vignettes may generate error (with PATCH)
REPRODUCIBLE EXAMPLE:
With the R.rsp package installed, the following search, which gives a hit:
options(help_type = "html")
help.search("rsp")
generates:
Error in if (nchar(Outfile)) Outfile else File :
argument is not interpretable as logical
in the browser (e.g. http://127.0.0.1:30410/doc/html/Search?results=1).
Another example is
2013 Apr 08
1
How to device port on the controller
Hi,
I am adding a disk to my KVM virtual server, but for some reason it refuses
to honor the <address>
I have tried the following 3:
<disk type='block' device='disk'>
<driver name='phy' type='raw'/>
<source dev='/dev/nbd2'/>
<target dev='vdb' bus='virtio'/>
2012 Oct 25
46
[RFC] New attempt to a better "btrfs fi df"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
this is a new attempt to improve the output of the command "btrfs fi df".
The previous attempt received a good reception. However there was no a
general consensus about the wording.
Moreover I still didn''t understand how btrfs was using the disks.
A my first attempt was to develop a new command which shows how the
disks
2016 Apr 13
2
mount bind problem
On 04/13/2016 12:02 AM, ???? wrote:
> In /etc/rc.d/rc.sysinit,
> there's "mount -a -n -t nonfs,nfs4,smbfs,ncpfs,cifs,gfs,gfs2i,glusterfs -O
> no_netdev".
>
>
> I have other same type servers. And on other servers with same /etc/fstsb,
> file system is correct.
> There's no difference between normal server's rc.sysinit and this problem
> server's
2017 Mar 01
2
[systemd-devel] udev virtio by-path naming
On Wed, Mar 01, 2017 at 07:28:46PM +0100, Viktor Mihajlovski wrote:
> On 01.03.2017 16:58, Daniel P. Berrange wrote:
> > given a basic Fedora 25 guest, with a virtio-mmio disk added as per the
> > guide above...
> >
> > looking at device '/devices/platform/a003e00.virtio_mmio/virtio3/block/vda':
> > KERNEL=="vda"
> >
2017 Mar 01
2
[systemd-devel] udev virtio by-path naming
On Wed, Mar 01, 2017 at 07:28:46PM +0100, Viktor Mihajlovski wrote:
> On 01.03.2017 16:58, Daniel P. Berrange wrote:
> > given a basic Fedora 25 guest, with a virtio-mmio disk added as per the
> > guide above...
> >
> > looking at device '/devices/platform/a003e00.virtio_mmio/virtio3/block/vda':
> > KERNEL=="vda"
> >
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>
2015 Aug 05
2
CentOS 5 grub boot problem
I never thought I'd say this, but I think it's easier to do this with
GRUB 2. Anyway I did an installation to raid1's in CentOS 6's
installer, which still uses GRUB legacy. I tested removing each of the
two devices and it still boots. These are the commands in its log:
: Running... ['/sbin/grub-install', '--just-copy']
: Running... ['/sbin/grub',
2011 Jan 12
1
Filesystem creation in "degraded mode"
I''ve had a go at determining exactly what happens when you create a
filesystem without enough devices to meet the requested replication
strategy:
# mkfs.btrfs -m raid1 -d raid1 /dev/vdb
# mount /dev/vdb /mnt
# btrfs fi df /mnt
Data: total=8.00MB, used=0.00
System, DUP: total=8.00MB, used=4.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=153.56MB, used=24.00KB
Metadata:
2006 Nov 17
3
Bug#399073: xen-hypervisor-3.0.3-1-i386: dom0 crashes with a domU that define more than 6 vdb
Package: xen-hypervisor-3.0.3-1-i386
Version: 3.0.3-0-2
Severity: important
When I try to start a domU with more than 6 vdb it crash.
The first time the vm does not launch and aparently wait for the loop
device creation (some scripts/block add, udev --daemon and sleep 1 process running). And nothing happen until I Ctrl+C the xm create.
My loop module is loaded with 64 loops.
After this first
2018 Mar 20
2
About libvirt domain snapshot problem(for single disk snapshot)
Hi, dear friend.
My guest has two disks, vda and vdb. both are qcow2 local file.
When guest running state.
I want to take the vda snapshot of guest(just vda, no include vdb). but I met libvirt do snapshot for all disks of guest.
About methods for follow:
1、
``` bash
virsh
snapshot-create-as 8x0lbzvS --name sys_disk3 --disk-only --diskspec "vda,snapshot=external"
```
``` result
2013 Dec 02
2
correct way to hot-add cdrom ?
Good day to all. i have problems with cdrom hot adding code. currently i
using virDomainAttachDevice with type=file, device=cdrom, dev=hdc, this
code works for machine with one ide hdd and one ide cdrom, but this not
work for machine with only one ide hdd, and i looking for solution to
hot add cdrom to machine independent of existing devices or i need way
to determinate which target device
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.
>