Categories
Linux Systems Administration

How to find an open file smb file lock in a Dell Isilon Cluster

Commands were found here: https://www.dell.com/community/Isilon/Unlock-locked-file-on-Isilon-Share-via-MMC/td-p/7094821

My first thought for finding the open lock was to just use the MMC console on windows to find it, like this:

However, it turns out that this will only show you the locks on a specific node, not the whole cluster. What you need to do is instead hop onto the isilon cli, and issues some simple commands.

From and node, you can run this command. Not the ' single quotes used with grep to properly escape the \\ characters

islcas-1# isi_for_array -s "isi smb openfiles list -a -z" | grep -i 'education\\colleg'
islcas-2: 109183488 C:\ifs\islcas\islcas_smb_az\blahblahblah
islcas-2: 109183489 C:\ifs\islcas\islcas_smb_az\blahblahblah
islcas-4: 78729851 C:\ifs\islcas\islcas_smb_az\blahblahblah
islcas-4: 78729862 C:\ifs\islcas\islcas_smb_az\blahblahblah
islcas-4: 78729859 C:\ifs\islcas\islcas_smb_az\blahblahblah
islcas-4: 78729854 C:\ifs\islcas\islcas_smb_az\blahblahblah
islcas-4: 78729839 C:\ifs\islcas\islcas_smb_az\blahblahblah
islcas-4: 78729840 C:\ifs\islcas\islcas_smb_az\blahblahblah
islcas-4: 78729846 C:\ifs\islcas\islcas_smb_az\blahblahblah

Note that the isilon node of the lock is specified. Now you’ll want to ssh to the node where the lock is and unlock the file:

islcas-1# ssh islcas-4
Password: 
Last login: Thu May 14 08:35:11 2020 from 128.221.254.1
Copyright (c) 2001-2019 Dell Inc. or its subsidiaries. All Rights Reserved.
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.

Isilon OneFS v8.2.1.0
islcas-4# isi smb openfiles close 78729839

This should help with fixing a stuck smb lock on an isilon cluster

Leave a Reply

Your email address will not be published.