Raj_la

updated

13 years ago

R

Raj_la

1 Rookie

•

115 Posts

0

26748

May 21st, 2013 15:00

ISILON SMB - file in Use error

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

1 Attachment

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    6915

    1

    Posted May 21st, 2013 16:00

    run it against the whole cluster

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

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    6915

    0

    Posted May 21st, 2013 15:00

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

    isi smb file list

    and

    isi smb file close --file-id #

  • cincystorage

    2 Intern

    •

    467 Posts

    6915

    0

    Posted May 21st, 2013 15:00

  • Raj_la

    1 Rookie

    •

    115 Posts

    6915

    0

    Posted May 21st, 2013 16:00

    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

  • Raj_la

    1 Rookie

    •

    115 Posts

    6915

    0

    Posted May 21st, 2013 16:00

    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

  • Raj_la

    1 Rookie

    •

    115 Posts

    6915

    0

    Posted May 21st, 2013 16:00

    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

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    6915

    1

    Posted May 21st, 2013 17:00

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

    this should display username as well.

  • Raj_la

    1 Rookie

    •

    115 Posts

    6918

    0

    Posted May 22nd, 2013 10:00

    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

  • Patrick_Kane

    1 Rookie

    •

    34 Posts

    6918

    1

    Posted May 22nd, 2013 11:00

    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.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1902

    0

    Posted May 22nd, 2013 12:00

    i am on 6.5.5.12 so the syntax probably changed in 7.x