Unable Delete File from Nutanix AFS share | Nutanix Community
Skip to main content

I am unable to delete a Citrix user profile which is hosted in Nutanix AFS share…

Getting error as already in use by another program

You might try to track down who or what it’s locked by showing (filtering as needed) all SMB connections (NOTE that some of these are Files version 3.6 or later specific see the KBs for details.)

FSVM:$ afs smb.conn active=true verbose=true

FSVM: $ afs smb.conn active=true verbose=true | grep "10.1.2.3"

(replace sample IP address w client IPs that you may know)

 

Check out these two KBs for details:

“Nutanix Files - A160039 - FileServerVmMaxConnectionsNotification” Article #000007371 

“Nutanix Files - Identify and Close Open SMB sessions” Article #000007491


Thanks David for your quick response.

Let me try the options suggested by you.


I’ve had same issue and followed listed articles recommended. The only fix in my case was to reboot the FSVM containing the locked file.

It’s been suggested to upgrade to the next update or the latest release of files by support.


We had finally logged the case with Nutanix and the support engineer was able to fix the issue