Displaying 10 results from an estimated 10 matches for "orig_disk".
2011 Mar 15
1
rsync walks through excluded directories...
...les to send" wich is actually the behaviour I
expect.
But it seems that rsync actually descend through all section of the
hierarchy of some folders I excluded.
The command I used :
$ rsync -aH --del --ignore-errors --filter="- /lost+found/*" --filter="-
/.snapshot/*" /data/orig_disks/vol-opt/ /data/bckp_disks/vol-opt/
The problem :
$ lsof | grep rsync | grep snapshot
rsync 1599 root 3r DIR 0,25 12288
12117707 /data/orig_disks/vol-opt/opt/.snapshot/some/directory/somefile
rsync does not transfer files from this directory as expected, but it...
2018 Mar 02
2
Re: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
...virQEMUDriverPtr driver,
> bool force)
> {
> + virQEMUDriverConfigPtr cfg = virQEMUDriverGetConfig(driver);
> + qemuDomainObjPrivatePtr priv = vm->privateData;
> virDomainDiskDefPtr disk = dev->data.disk;
> virDomainDiskDefPtr orig_disk = NULL;
> virDomainDeviceDef oldDev = { .type = dev->type };
> @@ -7850,6 +7852,9 @@ qemuDomainChangeDiskLive(virDomainObjPtr vm,
> if (virDomainDiskTranslateSourcePool(disk) < 0)
> goto cleanup;
>
> + if (qemuDomainPrepareDiskSource(disk, priv, cfg)...
2017 Oct 02
1
relaunching libguestfs with the same overlay
...and thrown away
when the handle is closed:
https://github.com/libguestfs/libguestfs/blob/master/lib/drives.c#L68
https://github.com/libguestfs/libguestfs/blob/master/lib/launch-direct.c#L78
However you can simply create your own overlay and use that. Run
something like:
qemu-img create -b orig_disk -f qcow2 my_overlay
and change the guestfs_add_drive_opts call to use ?my_overlay? and
don't use the readonly flag.
> I'm talking about read-only mode so the real disks are not touched.
The above won't touch the original disk, as long as you do _not_ run
any commands such as ?qemu...
2018 Mar 05
2
Re: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
...bool force)
> >> {
> >> + virQEMUDriverConfigPtr cfg = virQEMUDriverGetConfig(driver);
> >> + qemuDomainObjPrivatePtr priv = vm->privateData;
> >> virDomainDiskDefPtr disk = dev->data.disk;
> >> virDomainDiskDefPtr orig_disk = NULL;
> >> virDomainDeviceDef oldDev = { .type = dev->type };
> >> @@ -7850,6 +7852,9 @@ qemuDomainChangeDiskLive(virDomainObjPtr vm,
> >> if (virDomainDiskTranslateSourcePool(disk) < 0)
> >> goto cleanup;
> >>
> >>...
2018 Feb 27
2
Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
Hello Everyone,
My pc run in CentOS 7.4 and install libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph
10.2.10 ALL-in-One.
I use python-sdk with libvirt and run [self.domain.updateDeviceFlags(xml,
libvirt.VIR_DOMAIN_AFFECT_LIVE)] on CDROM (I want to change media path).
However, I enable libvirt debug log , the log as below:
"2018-02-26 13:09:13.638+0000: 50524: debug :
2018 Feb 02
1
failed to update cdrom device with rbd disk
...u, while I'm using an
authentication ceph, it should use auth_support=cephx instead.
I also tried to boot the VM with rbd iso and then update-device to another
rbd iso, but got no luck with the same error.
I have succeeded to update-device with libvirt-1.3.3,
I noticed that it depends on the orig_disk->privData->secinfo, and in my
environment it will be null which leads to the auth_support=none.
So I'm wondering if this is a bug or I did something wrong with my
configuration. Thanks in advance,
Best Regards,
Chao
2018 Feb 27
0
Re: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
...bjPtr vm,
virQEMUDriverPtr driver,
bool force)
{
+ virQEMUDriverConfigPtr cfg = virQEMUDriverGetConfig(driver);
+ qemuDomainObjPrivatePtr priv = vm->privateData;
virDomainDiskDefPtr disk = dev->data.disk;
virDomainDiskDefPtr orig_disk = NULL;
virDomainDeviceDef oldDev = { .type = dev->type };
@@ -7850,6 +7852,9 @@ qemuDomainChangeDiskLive(virDomainObjPtr vm,
if (virDomainDiskTranslateSourcePool(disk) < 0)
goto cleanup;
+ if (qemuDomainPrepareDiskSource(disk, priv, cfg) < 0)
+ goto cleanup;...
2018 Mar 02
0
Re: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
...river,
>> bool force)
>> {
>> + virQEMUDriverConfigPtr cfg = virQEMUDriverGetConfig(driver);
>> + qemuDomainObjPrivatePtr priv = vm->privateData;
>> virDomainDiskDefPtr disk = dev->data.disk;
>> virDomainDiskDefPtr orig_disk = NULL;
>> virDomainDeviceDef oldDev = { .type = dev->type };
>> @@ -7850,6 +7852,9 @@ qemuDomainChangeDiskLive(virDomainObjPtr vm,
>> if (virDomainDiskTranslateSourcePool(disk) < 0)
>> goto cleanup;
>>
>> + if (qemuDomainPrepareDisk...
2018 Feb 27
1
Reply: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
...bjPtr vm,
virQEMUDriverPtr driver,
bool force)
{
+ virQEMUDriverConfigPtr cfg = virQEMUDriverGetConfig(driver);
+ qemuDomainObjPrivatePtr priv = vm->privateData;
virDomainDiskDefPtr disk = dev->data.disk;
virDomainDiskDefPtr orig_disk = NULL;
virDomainDeviceDef oldDev = { .type = dev->type }; @@ -7850,6 +7852,9
@@ qemuDomainChangeDiskLive(virDomainObjPtr vm,
if (virDomainDiskTranslateSourcePool(disk) < 0)
goto cleanup;
+ if (qemuDomainPrepareDiskSource(disk, priv, cfg) < 0)
+ goto cleanup;...
2018 Mar 05
0
Re: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
...bool force)
>>>> {
>>>> + virQEMUDriverConfigPtr cfg = virQEMUDriverGetConfig(driver);
>>>> + qemuDomainObjPrivatePtr priv = vm->privateData;
>>>> virDomainDiskDefPtr disk = dev->data.disk;
>>>> virDomainDiskDefPtr orig_disk = NULL;
>>>> virDomainDeviceDef oldDev = { .type = dev->type };
>>>> @@ -7850,6 +7852,9 @@ qemuDomainChangeDiskLive(virDomainObjPtr vm,
>>>> if (virDomainDiskTranslateSourcePool(disk) < 0)
>>>> goto cleanup;
>>>>...