similar to: Breaking a virtlockd lock?

Displaying 20 results from an estimated 2000 matches similar to: "Breaking a virtlockd lock?"

2013 Oct 11
2
upstart script for virtlockd
Hi all, Trying to test libvirt 1.1.3 with virtlockd locking my qcow2 images on a NFS storage between two kvm hosts. ./configure ... --with-init-script=upstart Libvirtd upstart script is actually well generated but I can't see nothing about virtlockd... or am I blind ? :) Nevertheless, running virtlockd -d && service libvirtd restart works fine. Am I wrong thinking that editing
2019 Dec 28
3
Locking without virtlockd (nor sanlock)?
Hi list, I would like to ask a clarification about how locking works. My test system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64 Is was understanding that, by default, libvirt does not use any locks. From here [1]: "The out of the box configuration, however, currently uses the nop lock manager plugin". As "lock_manager" is commented in my qemu.conf file, I was
2013 Oct 21
1
Re: upstart script for virtlockd
Hi Eric, Here is my try to write a quick upstart script for virtlockd. It should be named /etc/init/virtlockd.conf, then : ln -s /lib/init/upstart-job /etc/init.d/virtlockd It seems to work for me : # virtlockd - Locking daemon for libvirt description "virtlockd" start on filesystem and runlevel [2345] stop on starting rc RUNLEVEL=[016] pre-start script test -x
2020 Jan 03
2
Re: Locking without virtlockd (nor sanlock)?
On Sat, Dec 28, 2019 at 02:36:27PM +0100, Gionatan Danti wrote: > Il 28-12-2019 01:39 Gionatan Danti ha scritto: > > Hi list, > > I would like to ask a clarification about how locking works. My test > > system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64 > > > > Is was understanding that, by default, libvirt does not use any locks. > > From here [1]:
2019 Dec 28
0
Re: Locking without virtlockd (nor sanlock)?
Il 28-12-2019 01:39 Gionatan Danti ha scritto: > Hi list, > I would like to ask a clarification about how locking works. My test > system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64 > > Is was understanding that, by default, libvirt does not use any locks. > From here [1]: "The out of the box configuration, however, currently > uses the nop lock manager
2020 Jun 08
2
Disable virtlockd
Hello! Is it possible to disable the virtlockd daemon or VM file locking? I start qemu with a -snapshot option which prevents and changes to the disk image anyways. Using <readonly /> is not supported for IDE disks. Another option would be to not require locking on the NFS share, but i have no idea how. Can someone help me with that? Regards Felix Queißner
2013 Oct 11
0
Re: upstart script for virtlockd
On 10/11/2013 03:25 AM, NEVEU Stephane wrote: > Hi all, > > Trying to test libvirt 1.1.3 with virtlockd locking my qcow2 images on a NFS storage between two kvm hosts. > ./configure ... --with-init-script=upstart > > Libvirtd upstart script is actually well generated but I can't see nothing about virtlockd... or am I blind ? :) It looks like virtlockd was added after
1999 Aug 26
1
Visual C++ fails to recognize changed file
We're having a problem that is the reverse of prblems that others have had: if we have a file open in Visual C++, and change it from another editor (either on the PC or on Unix), Visual C++ does not notice that it has been changed and ignores the file when it does a make. If the file is on a local drive, everything works fine. We're running Samba version 2.0.4b on Solaris 2.6 and Visual
2013 May 06
1
virtlockd, init script and kill signals
Hi, I've read in the documentation that virtlockd uses SIGUSR1 to dump its state and then re-execs itself. Now I tried it and this seems to fail because virtlockd is being launched without a full path (when using the init script), thus re-exec fails with the error: error : virLockDaemonPreExecRestart:1092 : Unable to restart self: No such file or directory Changing in the init script
2020 Jun 09
0
Re: Disable virtlockd
On Mon, Jun 08, 2020 at 16:26:44 +0200, Felix Queißner wrote: > Hello! Hi, > > Is it possible to disable the virtlockd daemon Yes. via the 'lock_manager' option in /etc/libvirt/qemu.conf >or VM file locking? I If you mean the image locking provided by qemu, then no, libvirt doesn't have provisions to disable it. > start qemu with a -snapshot option which prevents
2015 Feb 27
0
DriveReady error after live migration
I have three machines running libvirt under Scientific Linux (RHEL derivative) version 6. The virtual machine disk images are running SL 5 and 6, are all stored on NFS, and I can do live migrations with virsh migrate --live guestname qemu+ssh://vmhostname.math.cornell.edu/system Trouble is, within a day or two after the migration, the guest hangs up with repeated DriveReady errors and has to
2020 Jan 03
2
Re: Locking without virtlockd (nor sanlock)?
On Fri, Jan 03, 2020 at 02:56:50PM +0100, Gionatan Danti wrote: > Il 03-01-2020 11:26 Daniel P. Berrangé ha scritto: > > virtlockd also uses fcntl(), however, it doesn't have to acquire locks > > on > > the file/block device directly. It can use a look-aside file for > > locking. > > For example a path under /var/lib/libvirt/lock. This means that locks on >
2016 Mar 29
1
VM crash and lock manager
2014 Dec 08
0
libgfapi disk locking in virtlockd not working
Hello. I'm playing with libgfapi network disks, over IB and all is working fine, but not disk locking (and true rdma transport). I use virtlockd, and with fuse mount, locking works as expected. But when i converted disk definitions to libgfapi, locks are not created (but qemu starts and works fine). I used direct and indirect locking - same result : qemu working fine, no locks. my
2020 Jan 06
2
Re: Locking without virtlockd (nor sanlock)?
Il 06-01-2020 10:06 Peter Krempa ha scritto: > On Fri, Jan 03, 2020 at 14:08:03 +0000, Daniel Berrange wrote: >> As above, QEMU's locking is good enough to rely on for file based >> images. Hi Daniel, thank you for the direct confirmation. >> The flaws I mention with libvirt might actually finally be something >> we >> have fixed in 5.10.0 with QEMU 4.2.0,
2016 Mar 30
0
Re: VM crash and lock manager
[moderator note: .pngs were stripped to avoid overwhelming the mail server and list recipients with 1M of data] -------- Forwarded Message -------- Date: Wed, 30 Mar 2016 11:25:09 +0200 Message-ID: <20160330112509.Horde.0Oad-ZfkzdZnouXf-VkEmw1@webmailperso.univ-brest.fr> From: villeneu@kassis.univ-brest.fr To: Franky Van Liedekerke <liedekef@telenet.be> Cc: libvirt-users@redhat.com
2016 Mar 31
2
How is calculate the lock with lockd_manager
2015 Aug 31
2
VM locking
Dear All, I am trying to use VM (disk) locking on a two node Centos 7 KVM cluster. Unfortunately, I am not successful. Using virtlockd (https://libvirt.org/locking-lockd.html), I get each host to write the zero length file with a hashed filename to the shared folder specified. Regardless of which host I start a VM (domain) on, they do produce the identical filename per VM. What does not work,
2016 Mar 31
0
Re: How is calculate the lock with lockd_manager
On Thu, Mar 31, 2016 at 12:05:07PM +0200, villeneu@kassis.univ-brest.fr wrote: > Hello > > I use lock_manager with libvirt 1.3 and > I would like to know how is exactly calculate the hash SHA256. I would > create a table > to retreive the name with the hash in case of crash to release manualy the > lock. Do you mean in the case of a host crash, and if so what filesystem ?
2013 Oct 18
0
Re: migrate & virtlockd
Up. Any ideas ? Thank you De : NEVEU Stephane Envoyé : lundi 14 octobre 2013 10:46 À : libvirt-users@redhat.com Objet : migrate & virtlockd Hi all, I'm testing virtlockd with libvirt 1.1.3 and it seems I can't migrate my VMs from the first to my second kvm node (on a NFS storage). Virtlockd is locking my qcow2 : Error : resource busy Lockspace resource 'ea3jkj78.....' is