<?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: Lock errors on NAS, none on Windows Server in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209462#M11996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This fix seems to have provided solution:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/technical-article/000012722"&gt;http://support.esri.com/technical-article/000012722&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Mar 2017 18:20:49 GMT</pubDate>
    <dc:creator>LCMMMCE</dc:creator>
    <dc:date>2017-03-07T18:20:49Z</dc:date>
    <item>
      <title>Lock errors on NAS, none on Windows Server</title>
      <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209455#M11989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've run into a very frustrating and hard to pin down problem writing certain kinds of data to our NAS devvice, a &lt;/SPAN&gt;&lt;A href="http://www.qnap.com/en/index.php?lang=en&amp;amp;sn=822&amp;amp;c=351&amp;amp;sc=513&amp;amp;t=517&amp;amp;n=3425" rel="nofollow noopener noreferrer" target="_blank"&gt;QNAP TS-879U-RP&lt;/A&gt;&lt;SPAN&gt;, firmware v4.0.5. I'd be extremely grateful for any light you may be able to shed on the issue, which is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Certain operations from ArcMap always fail when the destination is on the NAS, and always succeed when the destination is a local drive or Windows Server 2003 (x64). We've replicated this from 3 different client machines (albeit all Win7x64), and from 3 different user profiles. We've disabled oplocks on the shares from the QNAP admin console, to no avail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do we troubleshoot this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application: ArcMap v10.2.1 (first noticed at 10.2. Not sure about 10.1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The operation: Feature Class To Feature Class (Conversion)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Details from Arcmap results pain:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Executing: FeatureClassToFeatureClass Z:\source\simple_box.shp Z:\out\default.gdb from_Arcmap_nas_no_oplocks # "Name "Name" true true false 60 Text 0 0 ,First,#,Z:\source\simple_box.shp,Name,-1,-1" #
&amp;nbsp;&amp;nbsp;&amp;nbsp; Start Time: Wed Feb 05 10:05:16 2014
&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR 000210: Cannot create output Z:\out\default.gdb\from_Arcmap_nas_no_oplocks
&amp;nbsp;&amp;nbsp;&amp;nbsp; Invalid function arguments
&amp;nbsp;&amp;nbsp;&amp;nbsp; Invalid function arguments
&amp;nbsp;&amp;nbsp;&amp;nbsp; Cannot acquire a lock.
&amp;nbsp;&amp;nbsp;&amp;nbsp; The table was not found. [from_Arcmap_nas_no_oplocks]
&amp;nbsp;&amp;nbsp;&amp;nbsp; Failed to execute (FeatureClassToFeatureClass).
&amp;nbsp;&amp;nbsp;&amp;nbsp; Failed at Wed Feb 05 10:05:18 2014 (Elapsed Time: 2.04 seconds)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interestingly, the same process run straight from a python command shell works (see attached). This leads me to think QNAP is treating the desktop application, ArcMap, and the sub-shell geo-processing operation as two different users/machines. Or something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've contacted Esri Tech Support, and we've gone through a few rounds on it, but essentially the response is: since the operation is fine on Windows Server and fine on the local machine, it's not their application, and thus they're not in a position to do anything about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other operations which we've had fail but are harder to narrow down into a simple recipe like the above are: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&lt;SPAN style="font-style:italic;"&gt;"Failed to past feature_class_name. Cannot acquire a schema lock because of an existing lock"&lt;/SPAN&gt; when copy pasting a feature class with a relationship class from one file gdb to another&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;SPAN style="font-style:italic;"&gt;"Could not load data from the data source. If you can correct the problem, press the refresh button to reload the data. Possible problems can include bad network connection, invalid field, etc. Cannot acquire a lock. Cannot acquire a lock."&lt;/SPAN&gt; when running Calculate Field on a shapefile&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd really like to solve this, as it's a deal breaker for the device. If we can't rely it on for our bread and butter application, out the door it goes (but I &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;like&lt;/SPAN&gt;&lt;SPAN&gt; the qnap!).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209455#M11989</guid>
      <dc:creator>mattwilkie</dc:creator>
      <dc:date>2021-12-11T10:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lock errors on NAS, none on Windows Server</title>
      <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209456#M11990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are experiencing the same issue. When using the field calculator or adding a field to an attribute table we get this message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Could not load data from the data source. If you can correct the problem, press the refresh button to reload the data. Possible problems can include bad network connection, invalid field, etc. Cannot acquire a lock. Cannot acquire a lock."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This only occurs when the file source is on our NAS server. Things stored on a local drive or our other servers work fine. This has been replicated on several of our machines, since moving to a new NAS drive a couple months ago. We did not experience this problem with our old NAS server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insight would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 20:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209456#M11990</guid>
      <dc:creator>KaiTohinaka</dc:creator>
      <dc:date>2014-06-26T20:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lock errors on NAS, none on Windows Server</title>
      <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209457#M11991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same error message for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're working a windows domain environment on a samba4 server. It seams like that the error message doesn't appear when you are working with the domain admin rights. Normal user (with full edit rights) experience the problem regular though not always. I could narrow the problem down, seems like it appears a little randomly too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Valentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 12:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209457#M11991</guid>
      <dc:creator>ValentinWittich</dc:creator>
      <dc:date>2014-10-17T12:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lock errors on NAS, none on Windows Server</title>
      <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209458#M11992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&lt;/P&gt;&lt;P&gt;Have you tried disabling oplocks from the client end (windows)?&lt;/P&gt;&lt;P&gt;&lt;A href="http://support2.microsoft.com/default.aspx?scid=kb;en-us;Q296264"&gt;Configuring opportunistic locking in Windows&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 21:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209458#M11992</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-10-17T21:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Lock errors on NAS, none on Windows Server</title>
      <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209459#M11993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't get notification of your reply. I thought this message had gone to the void; sorry for not acknowledging!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 16:13:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209459#M11993</guid>
      <dc:creator>mattwilkie</dc:creator>
      <dc:date>2014-10-21T16:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lock errors on NAS, none on Windows Server</title>
      <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209460#M11994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't test disabling oplocks from the client side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've now restored the NAS to factory defaults a couple of times, and upgraded the firmware twice. I can't replicate the issue any more, but the environment is not the same so it's not a true clean bill of health: we've pulled the unit out of production, so it's not being hit by up to 50 clients at a time. e.g. If the issue was because of load it's not being triggered any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've kept the unit out of production because the performance is markedly poorer than when we first got it, about 25%, and I've spent weeks trying to figure out what is going on without success. Time to give up and move on to my real job: GIS, not sysadmin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 16:20:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209460#M11994</guid>
      <dc:creator>mattwilkie</dc:creator>
      <dc:date>2014-10-21T16:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lock errors on NAS, none on Windows Server</title>
      <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209461#M11995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case it helps anyone else track this down, here's the test data and recipe for producing the error, when we first encountered it: &lt;A href="https://drive.google.com/file/d/0B56GxmszgM49Skg2ZkFCbzg0cDQ/view?usp=sharing" title="https://drive.google.com/file/d/0B56GxmszgM49Skg2ZkFCbzg0cDQ/view?usp=sharing"&gt;ENV.359_2014-Jan-28.zip - Google Drive&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 16:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209461#M11995</guid>
      <dc:creator>mattwilkie</dc:creator>
      <dc:date>2014-10-21T16:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lock errors on NAS, none on Windows Server</title>
      <link>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209462#M11996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This fix seems to have provided solution:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/technical-article/000012722"&gt;http://support.esri.com/technical-article/000012722&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 18:20:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lock-errors-on-nas-none-on-windows-server/m-p/209462#M11996</guid>
      <dc:creator>LCMMMCE</dc:creator>
      <dc:date>2017-03-07T18:20:49Z</dc:date>
    </item>
  </channel>
</rss>

