<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Who has a file locked? in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24264#M6223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the console: useradmin help domainuser&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you would do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;useradmin domainuser add &amp;lt;domain&amp;gt;\&amp;lt;user&amp;gt; -g Administrators&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...to add your ad account as a local admin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using vfilers you'll need to do the same on each of them, eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vfiler run &amp;lt;vffiler_name&amp;gt; useradmin domainuser add &amp;lt;domain&amp;gt;\&amp;lt;user&amp;gt; -g Administrators&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you are an administrator, you can manage CIFS shares/locked files/etc via the MMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more details they can be found by reading the CIFS sections in the 'File Access and Protocol Management Guide' which can be downloaded from support.netapp.com.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 13:40:30 GMT</pubDate>
    <dc:creator>GARDINEC_EBRD</dc:creator>
    <dc:date>2013-02-25T13:40:30Z</dc:date>
    <item>
      <title>Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24246#M6219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Users have been complaining from time to time about files being locked. They can't edit, delete or rename them. They are accessing them from a windows PC via share. So &lt;A&gt;\\nafs1\departments\marketing\file1.doc&lt;/A&gt; for example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw online how you can connect to the system via MMC but I can't see any storage, shares, etc. Perhaps because it's using my AD credentials instead of root? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I also saw online how I could run the following command and find out who had a lock on it. But I'm not seeing from the output how to determine that. The user has rebooted their machine and immediately browsed to the share and cannot do anyting to the file. She thinks perhaps our backup software has it locked? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I ran this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;lock status -f "/vol/departments/marketing/file1.doc" -p cifs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And got this back:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;========037903a5:015b50bc&lt;/P&gt;&lt;P&gt;CIFS path=\departments\marketing\file1.doc(/vol/departments/marketing/file1.doc) host=xxx.xxx.xxx.xxx(pc-name) owner=smithj state=GRANTED mode=Read-denyW oplock=None&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If I run this, I can then break the lock and proceed as planned:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;lock break -f "/vol/departments/marketing/file1.doc" -p cifs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. Who has the file locked?&lt;BR /&gt;2. How is it possible it's locked when she's the only one using it?&lt;/P&gt;&lt;P&gt;3. How can a user fix this on the fly or we prevent it from continually happening?&lt;/P&gt;&lt;P&gt;4. Why can't I do this via MMC? The exact error I get is &lt;EM&gt;"you do not have permissions to see the list of shares for Windows clients"&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:09:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24246#M6219</guid>
      <dc:creator>DITGUY2012</dc:creator>
      <dc:date>2025-06-05T06:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24251#M6220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is similar to what we are facing...intrested to see the responses....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 07:12:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24251#M6220</guid>
      <dc:creator>VIJAYNUKALA</dc:creator>
      <dc:date>2013-02-25T07:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24255#M6221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're seeing similar issues, but still trying to narrow it down also.&amp;nbsp; Will keep an eye on this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the MMC, you need to have an AD account which has admin rights on the storage controller.&amp;nbsp; Start mmc.exe on your Windows PC/Server logged in as that user (or Shift-Right-Click and open as that user), then add the 'Shared Folders' snap-in and point it at the controller name.&amp;nbsp; You should them be able to view/edit/manage shares, etc and also view Open Files.&amp;nbsp; It's not uncommon to have to unlock files (eg when a user has left a file open on their laptop, etc).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 11:17:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24255#M6221</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2013-02-25T11:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24259#M6222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still nothing unfortunately. surprised no one from Netapp has chimed in. used to better forum participation by vendors. I don't see how to add my ad username in the configuration. only local user accounts. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:29:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24259#M6222</guid>
      <dc:creator>DITGUY2012</dc:creator>
      <dc:date>2013-02-25T13:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24264#M6223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the console: useradmin help domainuser&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you would do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;useradmin domainuser add &amp;lt;domain&amp;gt;\&amp;lt;user&amp;gt; -g Administrators&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...to add your ad account as a local admin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using vfilers you'll need to do the same on each of them, eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vfiler run &amp;lt;vffiler_name&amp;gt; useradmin domainuser add &amp;lt;domain&amp;gt;\&amp;lt;user&amp;gt; -g Administrators&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you are an administrator, you can manage CIFS shares/locked files/etc via the MMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more details they can be found by reading the CIFS sections in the 'File Access and Protocol Management Guide' which can be downloaded from support.netapp.com.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:40:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24264#M6223</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2013-02-25T13:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24268#M6224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So there’s no other AD partnership settings that need to take place? How do I verify if I’m using vfilers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:52:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24268#M6224</guid>
      <dc:creator>DITGUY2012</dc:creator>
      <dc:date>2013-02-25T13:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24273#M6225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm presuming you're filer is connected to an AD domain, right?&amp;nbsp; Command Line: cifs domaininfo&lt;/P&gt;&lt;P&gt;If so, you add your domain user to the local Administrators group using the above commands (it's no different than doing the same on a Windows box).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd encourage you to read the admin guide mentioned above to familiarise yourself with CIFS administration on NetApp systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the issue is just locked user files, you can use the MMC on a Windows box to manage the controller and unlock files, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the issue is with files incorrectly/intermittently denying access to user requests due to some other issue, I'd be interested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 14:35:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24273#M6225</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2013-02-25T14:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24277#M6226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gardinec_Ebrd. That worked perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 13:33:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24277#M6226</guid>
      <dc:creator>DITGUY2012</dc:creator>
      <dc:date>2013-02-26T13:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Who has a file locked?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24281#M6227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’d be interested too in below issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;“If the issue is with files incorrectly/intermittently denying access to user requests due to some other issue, I'd be interested”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;TPS – Informatica – Admin Team&lt;/P&gt;&lt;P&gt;Informatica sharepoint site: http://sharepoint/sites/TPS/Informatica/Forms/AllItems.aspx&lt;/P&gt;&lt;P&gt;Informatica Sharepoint wiki: http://sharepoint/sites/TPS/Informatica%20wiki/Home.aspx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VOIP: 040-67480303&lt;/P&gt;&lt;P&gt;Mobile: 7893623453&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 13:56:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Who-has-a-file-locked/m-p/24281#M6227</guid>
      <dc:creator>VIJAYNUKALA</dc:creator>
      <dc:date>2013-02-26T13:56:27Z</dc:date>
    </item>
  </channel>
</rss>

