Displaying 6 results from an estimated 6 matches for "clrlk".
2018 Jan 29
0
Stale locks on shards
...neutraali.net>
> 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", 0x7f2d7c4379f0, 4096) = -1 EPERM
>> (Operation not permitted)
>
> I was expecting .kall instead of .blocked,
> did you change the cli to kind blocked?
>
Yes, I was testing this with different commands. Basicly it seems that
name of the attribute is
glus...
2018 Jan 29
2
Stale locks on shards
On 29 Jan 2018 10:50 am, "Samuli Heinonen" <samppah at neutraali.net> 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",
0x7f2d7c4379f0, 4096) = -1 EPERM (Operation not permitted)
I was expecting .kall instead of .blocked,
did you change the cli to kind blocked?
And this one in test environment (with posix locks):
lgetxattr("/tmp/g1.gHj4Bw//file38", "glusterfs.clrlk.tposix.kb...
2018 Jan 29
0
Stale locks on shards
...gt;
>> I have been testing this in test environment and with command:
>> gluster vol clear-locks g1 /.gfid/14341ccb-df7b-4f92-90d5-7814431c5a1c
>> kind all inode
>>
>
> Could you do strace of glusterd when this happens? It will have a getxattr
> with "glusterfs.clrlk" in the key. You need to execute that on the
> gfid-aux-mount
>
>
>>
>>
>>
>>> Best regards,
>>>> Samuli Heinonen
>>>>
>>>> Pranith Kumar Karampuri <mailto:pkarampu at redhat.com>
>>>>> 23 January 2018...
2018 Jan 25
2
Stale locks on shards
...e getfattr command?
>>
>
> I have been testing this in test environment and with command:
> gluster vol clear-locks g1 /.gfid/14341ccb-df7b-4f92-90d5-7814431c5a1c
> kind all inode
>
Could you do strace of glusterd when this happens? It will have a getxattr
with "glusterfs.clrlk" in the key. You need to execute that on the
gfid-aux-mount
>
>
>
>> Best regards,
>>> Samuli Heinonen
>>>
>>> Pranith Kumar Karampuri <mailto:pkarampu at redhat.com>
>>>> 23 January 2018 at 10.30
>>>>
>>>> O...
2018 Jan 25
0
Stale locks on shards
Pranith Kumar Karampuri kirjoitti 25.01.2018 07:09:
> On Thu, Jan 25, 2018 at 2:27 AM, Samuli Heinonen
> <samppah at neutraali.net> 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.
2018 Jan 25
2
Stale locks on shards
On Thu, Jan 25, 2018 at 2:27 AM, Samuli Heinonen <samppah at neutraali.net>
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, sorry, this was implemented around 7 years back and I
forgot