Raj_la
2 Iron

ISILON SMB - file in Use error

Jump to solution

Hello,

we seen his weird message couple of times but every time i thought some other user really open this file but this time this is a new share is used by 2 people

and no one using it right now but when we try to open the excel its giving the below error [ screen shot attached ] . is there any bug ? also is there any cmd to find the active session of SMB share / open files and kill those through CLI ?

anyone have this issue before ? we are at 7.0.1.4

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
dynamox
6 Gallium

Re: ISILON SMB - file in Use error

Jump to solution

run it against the whole cluster

isi_for_array  "isi smb openfiles list" | grep -i filename

27 Replies

Re: ISILON SMB - file in Use error

Jump to solution
0 Kudos
dynamox
6 Gallium

Re: ISILON SMB - file in Use error

Jump to solution

users behind firewall ? As far as disconnecting users from a file:

isi smb file list

and

isi smb file close --file-id #

0 Kudos
Raj_la
2 Iron

Re: ISILON SMB - file in Use error

Jump to solution

i couldn't notice any active users/openfiles but still its giving us an error to open one excel file.

nas4# isi smb sessions list

Computer User

-------------

-------------

Total: 0

nas4# isi smb openfiles list

ID Path

-------

-------

Total: 0

0 Kudos
dynamox
6 Gallium

Re: ISILON SMB - file in Use error

Jump to solution

run it against the whole cluster

isi_for_array  "isi smb openfiles list" | grep -i filename

Raj_la
2 Iron

Re: ISILON SMB - file in Use error

Jump to solution

Oh got this ...

nas4# isi_for_array isi smb openfiles list | grep -i prodfile

uspnas4: 7932  C:\onefs\ifs\xxx\prodfile

how to kill this ? below doesn't work so i have to use isi_for_xxx  or how should i know on which node the file is open in above  cmd that way i login to that node and kill it

isi smb file close --file-id 7932

0 Kudos
Raj_la
2 Iron

Re: ISILON SMB - file in Use error

Jump to solution

i logged into that specific node and killed the open session.. Question how to find under which user this file is in locked state but still this is a misleading message bec no one else opened that file while its in lock state

isi smb openfiles close 7932

0 Kudos
dynamox
6 Gallium

Re: ISILON SMB - file in Use error

Jump to solution

next time try this:  isi_for_array "isi smb file list" | grep -A1 filename

this should display username as well.

Raj_la
2 Iron

Re: ISILON SMB - file in Use error

Jump to solution

when i use the quotes for "isi smb file list" its giving me bad command error

nas4# isi_for_array "isi smb file list" | grep -A1 prodfile

nas4: bad subcommand file

nas4# isi_for_array "isi smb file list"

nas4: bad subcommand file

nas4: bad subcommand file

nas4: bad subcommand file

0 Kudos
Patrick_Kane
1 Nickel

Re: ISILON SMB - file in Use error

Jump to solution

I believe the syntax is either:

  1. isi smb openfiles or # isi smb session

Isilon OneFS v7.0.1.4

haisilon-1# isi smb openfiles

log-level openfiles sessions settings shares

  1. isi smb sessions list --

--format -- Display smb sessions in the given format

--limit -- Number of smb sessions to display.

--no-footer -- Do not display table summary footer information.

--no-header -- Do not display headers in CSV or table formats.

--verbose -- Display more detailed information.