Re: [Gluster-users] Stale locks on shards

2018-01-29 Thread Pranith Kumar Karampuri
On Mon, Jan 29, 2018 at 1:26 PM, Samuli Heinonen wrote: > Pranith Kumar Karampuri kirjoitti 29.01.2018 07:32: > >> On 29 Jan 2018 10:50 am, "Samuli Heinonen" >> wrote: >> >> Hi! >>> >>> Yes, thank you for asking. I found out this line in the

Re: [Gluster-users] Stale locks on shards

2018-01-28 Thread Samuli Heinonen
Pranith Kumar Karampuri kirjoitti 29.01.2018 07:32: On 29 Jan 2018 10:50 am, "Samuli Heinonen" wrote: Hi! Yes, thank you for asking. I found out this line in the production environment:

Re: [Gluster-users] Stale locks on shards

2018-01-28 Thread Pranith Kumar Karampuri
On 29 Jan 2018 10:50 am, "Samuli Heinonen" wrote: Hi! Yes, thank you for asking. I found out this line in the production environment: lgetxattr("/tmp/zone2-ssd1-vmstor1.s6jvPu//.shard/f349ffbd- a423-4fb2-b83c-2d1d5e78e1fb.32", "glusterfs.clrlk.tinode.kblocked",

Re: [Gluster-users] Stale locks on shards

2018-01-28 Thread Samuli Heinonen
Hi! Yes, thank you for asking. I found out this line in the production environment: lgetxattr("/tmp/zone2-ssd1-vmstor1.s6jvPu//.shard/f349ffbd-a423-4fb2-b83c-2d1d5e78e1fb.32", "glusterfs.clrlk.tinode.kblocked", 0x7f2d7c4379f0, 4096) = -1 EPERM (Operation not permitted) And this one in test

Re: [Gluster-users] Stale locks on shards

2018-01-28 Thread Pranith Kumar Karampuri
Hi, Did you find the command from strace? On 25 Jan 2018 1:52 pm, "Pranith Kumar Karampuri" wrote: > > > On Thu, Jan 25, 2018 at 1:49 PM, Samuli Heinonen > wrote: > >> Pranith Kumar Karampuri kirjoitti 25.01.2018 07:09: >> >>> On Thu, Jan 25,

Re: [Gluster-users] Stale locks on shards

2018-01-25 Thread Pranith Kumar Karampuri
On Thu, Jan 25, 2018 at 1:49 PM, Samuli Heinonen wrote: > Pranith Kumar Karampuri kirjoitti 25.01.2018 07:09: > >> On Thu, Jan 25, 2018 at 2:27 AM, Samuli Heinonen >> wrote: >> >> Hi! >>> >>> Thank you very much for your help so far. Could you

Re: [Gluster-users] Stale locks on shards

2018-01-25 Thread Samuli Heinonen
Pranith Kumar Karampuri kirjoitti 25.01.2018 07:09: On Thu, Jan 25, 2018 at 2:27 AM, Samuli Heinonen wrote: Hi! Thank you very much for your help so far. Could you please tell an example command how to use aux-gid-mount to remove locks? "gluster vol clear-locks" seems

Re: [Gluster-users] Stale locks on shards

2018-01-24 Thread Pranith Kumar Karampuri
On Thu, Jan 25, 2018 at 2:27 AM, Samuli Heinonen wrote: > Hi! > > Thank you very much for your help so far. Could you please tell an example > command how to use aux-gid-mount to remove locks? "gluster vol clear-locks" > seems to mount volume by itself. > You are correct,

Re: [Gluster-users] Stale locks on shards

2018-01-24 Thread Samuli Heinonen
Hi! Thank you very much for your help so far. Could you please tell an example command how to use aux-gid-mount to remove locks? "gluster vol clear-locks" seems to mount volume by itself. Best regards, Samuli Heinonen Pranith Kumar Karampuri 23 January 2018 at

Re: [Gluster-users] Stale locks on shards

2018-01-23 Thread Pranith Kumar Karampuri
On Tue, Jan 23, 2018 at 1:38 PM, Samuli Heinonen wrote: > Pranith Kumar Karampuri kirjoitti 23.01.2018 09:34: > >> On Mon, Jan 22, 2018 at 12:33 AM, Samuli Heinonen >> wrote: >> >> Hi again, >>> >>> here is more information regarding issue described

Re: [Gluster-users] Stale locks on shards

2018-01-23 Thread Samuli Heinonen
Pranith Kumar Karampuri kirjoitti 23.01.2018 09:34: On Mon, Jan 22, 2018 at 12:33 AM, Samuli Heinonen wrote: Hi again, here is more information regarding issue described earlier It looks like self healing is stuck. According to "heal statistics" crawl began at Sat Jan

Re: [Gluster-users] Stale locks on shards

2018-01-22 Thread Pranith Kumar Karampuri
On Tue, Jan 23, 2018 at 1:04 PM, Pranith Kumar Karampuri < pkara...@redhat.com> wrote: > > > On Mon, Jan 22, 2018 at 12:33 AM, Samuli Heinonen > wrote: > >> Hi again, >> >> here is more information regarding issue described earlier >> >> It looks like self healing is

Re: [Gluster-users] Stale locks on shards

2018-01-22 Thread Krutika Dhananjay
On Mon, Jan 22, 2018 at 12:33 AM, Samuli Heinonen wrote: > Hi again, > > here is more information regarding issue described earlier > > It looks like self healing is stuck. According to "heal statistics" crawl > began at Sat Jan 20 12:56:19 2018 and it's still going on

Re: [Gluster-users] Stale locks on shards

2018-01-21 Thread Samuli Heinonen
Hi again, here is more information regarding issue described earlier It looks like self healing is stuck. According to "heal statistics" crawl began at Sat Jan 20 12:56:19 2018 and it's still going on (It's around Sun Jan 21 20:30 when writing this). However glustershd.log says that last

[Gluster-users] Stale locks on shards

2018-01-20 Thread Samuli Heinonen
Hi all! One hypervisor on our virtualization environment crashed and now some of the VM images cannot be accessed. After investigation we found out that there was lots of images that still had active lock on crashed hypervisor. We were able to remove locks from "regular files", but it