<?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: webgisdr Failed to export site - &amp;quot;A device attached to the system is not functioning&amp;quot; in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080836#M30741</link>
    <description>&lt;P&gt;You can share a drive on the portal server with the others.&amp;nbsp; Just adjust the sharing properties and make sure your firewall rules allow.&amp;nbsp; My webgisdr creates the backup on the portal VM and then when the backup is complete a script moves it.&amp;nbsp; This method is much quicker and reduces the chance of network issues causing a failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 14:16:08 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-07-20T14:16:08Z</dc:date>
    <item>
      <title>webgisdr Failed to export site - "A device attached to the system is not functioning"</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1079632#M30726</link>
      <description>&lt;P&gt;We have WEBGISDR scheduled to run daily for our QA Portal environment. This is a high-availability multi-machine deployment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The backup has been running without errors for months, but starting three days ago it began failing. Below is the full log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;2021-07-16 04:00:53 INFO  [main] com.esri.arcgis.webgis.client.WebGISDR - Starting the WebGIS DR utility.
2021-07-16 04:00:55 INFO  [main] com.esri.arcgis.webgis.storageservice.file.FileStorageService - Initializing File Storage Service with Base Directory: \\&amp;lt;network share path&amp;gt;\backup_location
2021-07-16 04:01:09 INFO  [pool-2-thread-3] com.esri.arcgis.webgis.component.service.impl.ServerDRService - The following ArcGIS Server has been backed up successfully: 
Url: https://gis.domain.com/raster.
2021-07-16 04:01:10 INFO  [pool-2-thread-7] com.esri.arcgis.webgis.component.service.impl.ServerDRService - The following ArcGIS Server has been backed up successfully: 
Url: https://gis.domain.com/geoevent.
2021-07-16 04:01:10 INFO  [pool-2-thread-4] com.esri.arcgis.webgis.component.service.impl.ServerDRService - The following ArcGIS Server has been backed up successfully: 
Url: https://gis.domain.com/image.
2021-07-16 04:01:11 INFO  [pool-2-thread-8] com.esri.arcgis.webgis.component.service.impl.ServerDRService - The following ArcGIS Server has been backed up successfully: 
Url: https://gis.domain.com/geoanalytics.
2021-07-16 04:01:21 INFO  [pool-2-thread-5] com.esri.arcgis.webgis.component.service.impl.ServerDRService - The following ArcGIS Server has been backed up successfully: 
Url: https://gis.domain.com/server.
2021-07-16 04:01:25 INFO  [pool-2-thread-1] com.esri.arcgis.webgis.component.service.impl.DataStoreDRService - The following Relational ArcGIS Data Store has been backed up successfully: 
Url: https://&amp;lt;datastore-internal-url&amp;gt;:2443/arcgis.
2021-07-16 04:01:27 INFO  [main] com.esri.arcgis.webgis.util.WebGISUtil - The backup of ArcGIS Data Store has completed in 00hr:00min:19sec.
2021-07-16 04:02:27 ERROR [pool-2-thread-6] com.esri.arcgis.webgis.component.service.impl.ServerDRService - Failed to back up the ArcGIS Server: 
Url: https://gis.domain.com/gis.
2021-07-16 04:02:27 ERROR [pool-2-thread-6] com.esri.arcgis.webgis.component.service.impl.ServerDRService - {"code":500,"messages":["Export operation failed. \\\\&amp;lt;network share path&amp;gt;\\sharedlocation\\WebGISSite1626422455003\\server\\7lf9iaqk5p2rn1nt (A device attached to the system is not functioning)"],"status":"error"}
2021-07-16 04:02:32 INFO  [main] com.esri.arcgis.webgis.util.WebGISUtil - The backup of ArcGIS Server has taken 00hr:01min:24sec.
2021-07-16 04:10:10 ERROR [pool-2-thread-2] com.esri.arcgis.webgis.component.service.impl.PortalDRService - Failed to back up the Portal for ArcGIS: 
Url: https://gis.domain.com/portal.
2021-07-16 04:10:10 ERROR [pool-2-thread-2] com.esri.arcgis.webgis.component.service.impl.PortalDRService - {"error":{"code":500,"details":null,"message":"Failed to export site. \\\\&amp;lt;network share path&amp;gt;\\sharedlocation\\WebGISSite1626422455003\\portal (A device attached to the system is not functioning)"}}
2021-07-16 04:10:10 INFO  [main] com.esri.arcgis.webgis.util.WebGISUtil - The backup of Portal for ArcGIS has taken 00hr:09min:02sec.
2021-07-16 04:10:10 INFO  [main] com.esri.arcgis.webgis.service.impl.WebGISDRFrontController - Deleting the temp directory \\&amp;lt;network share path&amp;gt;\sharedlocation\WebGISSite1626422455003.
2021-07-16 04:10:10 INFO  [main] com.esri.arcgis.webgis.util.WebGISUtil - The backup of Web GIS components has completed in 00hr:09min:15sec.
2021-07-16 04:10:10 INFO  [main] com.esri.arcgis.webgis.client.WebGISDR - Stopping the WebGIS DR utility.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does the error "A device attached to the system is not functioning" mean?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 13:12:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1079632#M30726</guid>
      <dc:creator>JamesGough</dc:creator>
      <dc:date>2021-07-16T13:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: webgisdr Failed to export site - "A device attached to the system is not functioning"</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1079805#M30731</link>
      <description>&lt;P&gt;I would highly recommend completing the backup on the portal server locally and then moving to a file share.&amp;nbsp; This really reduces the backup time and sidesteps and communication or network issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 18:50:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1079805#M30731</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-07-16T18:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: webgisdr Failed to export site - "A device attached to the system is not functioning"</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080705#M30738</link>
      <description>&lt;P&gt;The log says it took 1 min 24 sec to run the serversite export on the "gis" server site, and then failed when webgisdr tried to compress/copy the output file to the "shared_location".&lt;/P&gt;&lt;P&gt;In parallel, the portal backup process ran for 9 min 2 sec and then failed when webgisdr tried to compress/copy the output file to a different folder in the same "shared_location".&lt;/P&gt;&lt;P&gt;Possible reasons:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;the fileserver hosting the "shared_location" ran out of disk space.&lt;UL&gt;&lt;LI&gt;as webgisdr deletes all the temp output when it fails - it can be hard to see this when looking at the file server after the event.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;the service account running portal and "gis" server for some reason no longer has read/write access to the shared_location&lt;UL&gt;&lt;LI&gt;are all your machines using the same domain service account? or do they each run a local service account?&lt;/LI&gt;&lt;LI&gt;as you say the process has been running successfully in the past, it would only be an issue if file share permissions have been changed&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;the file server has some hardware issue - bad sectors or a faulty USB connection&lt;UL&gt;&lt;LI&gt;but if you are seeing the error appear in the webgisdr log at the same place each day, it seems unlikely to be an intermittent hardware problem&lt;/LI&gt;&lt;LI&gt;you may wish check this site for some ideas (I just googled this up)&lt;BR /&gt;&amp;nbsp;&lt;A href="https://www.diskgenius.com/how-to/device-attached-to-the-system-is-not-functioning.php" target="_blank"&gt;https://www.diskgenius.com/how-to/device-attached-to-the-system-is-not-functioning.php&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 06:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080705#M30738</guid>
      <dc:creator>DavidHoy</dc:creator>
      <dc:date>2021-07-20T06:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: webgisdr Failed to export site - "A device attached to the system is not functioning"</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080834#M30740</link>
      <description>&lt;P&gt;Doesn't the shared location have to be a network share that all of the servers in the deployment can write to?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080834#M30740</guid>
      <dc:creator>JamesGough</dc:creator>
      <dc:date>2021-07-20T14:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: webgisdr Failed to export site - "A device attached to the system is not functioning"</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080836#M30741</link>
      <description>&lt;P&gt;You can share a drive on the portal server with the others.&amp;nbsp; Just adjust the sharing properties and make sure your firewall rules allow.&amp;nbsp; My webgisdr creates the backup on the portal VM and then when the backup is complete a script moves it.&amp;nbsp; This method is much quicker and reduces the chance of network issues causing a failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080836#M30741</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-07-20T14:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: webgisdr Failed to export site - "A device attached to the system is not functioning"</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080848#M30742</link>
      <description>&lt;P&gt;I'll give that a try. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1080848#M30742</guid>
      <dc:creator>JamesGough</dc:creator>
      <dc:date>2021-07-20T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: webgisdr Failed to export site - "A device attached to the system is not functioning"</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1081115#M30748</link>
      <description>&lt;P&gt;I agree with jsthusker that using a local share for shared_location and backup_location on the Portal Server where you are running webgisdr is a smart move. Hopefully, you have enough available space.&lt;BR /&gt;It will run faster - chiefly because the compress step is slow across a network.&amp;nbsp; At 10.9.1 the compress library has been changed and is much much faster.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 22:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webgisdr-failed-to-export-site-quot-a-device/m-p/1081115#M30748</guid>
      <dc:creator>DavidHoy</dc:creator>
      <dc:date>2021-07-20T22:46:45Z</dc:date>
    </item>
  </channel>
</rss>

