dcache icon indicating copy to clipboard operation
dcache copied to clipboard

NFS: format of show clients changed, unclear how to kill clients now

Open DmitryLitvintsev opened this issue 3 years ago • 3 comments

in 5.2

show clients <host> would return

131.225.67.36:876:4c696e7578204e465376342e31206d7532656770766d30332e666e616c2e676f76@6814085741044304387:v4.1
        /131.225.67.36:876 : 5e907ee100000a030000000000000001 max slot: 15/4

That number between @ and : is what is called client id it was used to kill client:

  kill client 6814085741044304387

in this case.

in 7.2:

show clients <host> returns:

[fndca3b] (NFS-enstore01@nfsDomain) enstore > show clients mu2ebuild01
    /131.225.240.47:842:Linux NFSv4.1 mu2ebuild01.fnal.gov:v4.1
        6179c019000200c30000000000000001 max slot: 15/1

So, how to extract client id to kill client?

Thanks, Dmitry

DmitryLitvintsev avatar Oct 27 '21 21:10 DmitryLitvintsev

https://github.com/dCache/release-notes/blob/master/release-notes-7.0#L1128

client kill 6179c019000200c30000000000000001

kofemann avatar Oct 28 '21 07:10 kofemann

Perhaps the output from this command could be improved (eg. in a table with headers) and/or better documented in help show clients

paulmillar avatar Oct 28 '21 12:10 paulmillar

OK, This is what I have tried yesterday in Issue #6193. Did not help either.

DmitryLitvintsev avatar Oct 28 '21 12:10 DmitryLitvintsev