Dell Unity: NAS 서버는 리스 기간이 만료된 후 5분 이상 NFSv4 잠금을 유지하고 있습니다. (사용자 수정 가능)

Summary: Unity NAS 서버에서 예기치 않은 클라이언트 종료 또는 네트워크 파티션 후 NFSv4 잠금이 파일에 5분 이상 유지될 수 있습니다

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

  • 비정상 클라이언트 종료 후 영향을 받는 파일에 대한 NFS 잠금이 Unity NAS 서버에서 최대 6분 동안 관찰될 수 있습니다.
  • 다른 클라이언트는 Unity가 잠금을 해제할 때까지 파일을 잠글 수 없습니다. 
  • 이러한 잠금은 svc_lockd 명령을 실행합니다.
root@none spa:/cores/service/user# date ;svc_lockd NAS_Server list
Mon Oct 27 08:43:36 UTC 2025
NAS_Server : commands processed: 1
command(s) succeeded
output is complete


FileSystem: ufs64 rw /.etc SV20000009=536870921 expfsidstr=67fcca47-e0ae-3301-b819-0e0e84d61219  nooplock triggerlevel=0 nocepp nfsv4locking=ADVISORY renamepolicy=CIFS accesspolicy=NATIVE minactfssize=2816  NumTimesFsckHasModifiedFS=0
  inum=9465
    fldp=0x0008c74ba8 Deleg=0 Opens=1 RangeLocks: Mandatory=0 Advisory=0
  inum=9466
    fldp=0x0008c74d00 Deleg=0 Opens=1 RangeLocks: Mandatory=0 Advisory=0
  inum=9468
    fldp=0x0008c75260 Deleg=0 Opens=1 RangeLocks: Mandatory=0 Advisory=0

FileSystem: ufs64 rw /Ghost_NFS01_Official_FS SV2000000a=536870922 expfsidstr=67fccdbd-4304-dbdd-3b8f-00601696feeb  nooplock triggerlevel=512 nocepp nfsv4locking=MANDATORY renamepolicy=CIFS accesspolicy=UNIX minactfssize=2816 thinprovisioning maxsize=204544 hwm=0  NumTimesFsckHasModifiedFS=0
  inum=9465
    fldp=0x0008c753b8 Deleg=0 Opens=1 RangeLocks: Mandatory=1 Advisory=0   <<<<<<<<<<< Lock placed by client on file inode 9465

Command succeeded



root@none spa:/cores/service/user# date ;svc_lockd NAS_Server info fldp=0x0008c753b8
Mon Oct 27 08:43:46 UTC 2025
NAS_Server : commands processed: 1
command(s) succeeded
output is complete


fldp=0x0008c753b8 inum=9465 ref=1 delegp=0x0000000000 totalLocksCount=2 layoutsCount=0
 Global accessMode=[RWd], denyMode=[rwd]
 Open access=RD-WR deny=NONE [NFSv4_Linux NFSv4.2 test_client_OPEN_0x0008577fc8]

 Lock 0x00064-00064:     -SHR-MAND [credp=0x000857dfc8 NFSv4_Linux NFSv4.2 test_client_LOCK_0x000857dfc8]  <<<<<<<<<< byte-range shared mandatory lock

Cause

NFSv4 프로토콜은 서버가 클라이언트에 파일 잠금을 부여하는 동안 임대 기간을 사용합니다. 클라이언트는 잠금을 유지하기 위해 이 임대를 주기적으로 갱신해야 합니다. 

  • 클라이언트가 예기치 않게 종료되면 임대를 갱신할 수 없습니다.
  • Unity NAS 서버는 잠금 회수를 시도하기 전에 임대 기간이 만료될 때까지 기다립니다.
  • 기본적으로 Unity는 이러한 리소스를 즉시 릴리스하지 않습니다. 숨겨진 매개 변수 nfsv4.cleaningInterval는 추가 대기 기간을 정의합니다.
  • 기본값 nfsv4.cleaningInterval 값은 300초(5분)입니다.
  • 따라서 잠긴 파일은 표준 임대 기간에 5분의 정리 간격을 더한 후에만 해제되므로 총 대기 시간은 약 5-6분입니다. 

Resolution

NAS 서버가 잠금을 유지하는 시간을 줄이기 위해 nfsv4.cleaningInterval 값을 낮출 수 있습니다.

  • 의 현재 값이 얼마인지 확인합니다. nfsv4.cleaningInterval
root@none spa:/cores/service/user# svc_nas NAS_Server -param -facility nfsv4 -i cleaningInterval -v

NAS_Server :
param nfsv4.cleaningInterval added into the list of visible params

name                    = cleaningInterval
facility_name           = nfsv4
default_value           = 300
current_value           = 300
configured_value        =
param_type              = global
user_action             = none
change_effective        = immediate
range                   = (30,3600)
description             = Time interval in seconds between two successive clean up of orphan states

detailed_description
This param defines how long the server will keep client resources once the client has expired its lease. It is expressed in a count of seconds.
  • 수정 nfsv4.cleaningInterval 매개 변수를 30초와 같은 더 낮은 값으로 설정합니다. 
root@none spa:/cores/service/user# svc_nas ALL -param -facility nfsv4 -modify cleaningInterval -v 30
 
SPA : done
SPB : done
  • 값이 30초로 설정되었는지 확인합니다. 
root@none spa:/cores/service/user# svc_nas NAS_Server -param -facility nfsv4 -i cleaningInterval -v
 
NAS_Server :
param nfsv4.cleaningInterval added into the list of visible params
 
name                    = cleaningInterval
facility_name           = nfsv4
default_value           = 300
current_value           = 30
configured_value        = 30
param_type              = global
user_action             = none
change_effective        = immediate
range                   = (30,3600)
description             = Time interval in seconds between two successive clean up of orphan states
 
detailed_description
This param defines how long the server will keep client resources once the client has expired its lease. It is expressed in a count of seconds.

참고: 이는 전역 매개변수이며 Unity 시스템의 모든 NAS 서버에 영향을 줍니다. 변경 사항은 즉시 적용되며 NAS 서버 또는 SP(Storage Processor)를 재시작할 필요가 없습니다.

 

Affected Products

Dell EMC Unity
Article Properties
Article Number: 000384735
Article Type: Solution
Last Modified: 09 Nov 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.