<?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: Data store connection issue when hard drive full in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351752#M14262</link>
    <description>&lt;H4&gt;&lt;A href="https://enterprise.arcgis.com/en/data-store/latest/install/windows/data-store-utility-reference.htm" target="_blank" rel="noopener"&gt;ArcGIS Data Store utility reference—ArcGIS Enterprise | Documentation for ArcGIS Enterprise&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Change the read-only threshold for the relational data store&lt;/H4&gt;&lt;P&gt;By default, the relational data store is placed in read-only mode when free disk space drops to 1,024 MB. In the following example, there are other apps writing to the machine, so the administrator configures the relational data store to be placed in read-only mode sooner: when free disk space on the machine drops to 4,000 MB:&lt;/P&gt;&lt;PRE&gt;changedbproperties --store relational --disk-threshold-readonly 4000

You are changing the following database properties:
         ...disk space threshold to change relational data store into READONLY mode to 4000MB)

Changing database configurations could cause the database to restart. Please do not interrupt the process once it has started.

Do you want to continue (Yes or No)?Yes&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;STRONG&gt;describedatastore&lt;/STRONG&gt; command will show if the database is in read-only mode.&lt;/P&gt;&lt;H2&gt;changedatastoremode&lt;/H2&gt;&lt;P&gt;This utility is used with relational and spatiotemporal big data stores.&lt;/P&gt;&lt;P&gt;The changedatastoremode utility allows you to place a relational data store in read-only mode while you perform maintenance on the data store. For example, if you need to perform a maintenance task that will cause the data store to restart, such as changing the backup location from one drive to another drive or changing database properties, you can place the relational data store in read-only mode so no users are in the process of publishing or editing data when the data store restarts.&lt;/P&gt;&lt;P&gt;The changedatastoremode utility is also used to place the relational data store back in a read-write mode after you finish maintenance or after you add enough disk space to the primary data store machine to allow the data store to function properly in read-write mode.&lt;/P&gt;&lt;P&gt;You must run the changedatastoremode utility on the primary relational data store machine, not the standby machine.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H5&gt;Note:&lt;/H5&gt;&lt;P&gt;If&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Data Store&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;places your relational data store in read-only mode due to insufficient disk space, automatic backups are also disabled to avoid filling the disk further. Therefore, you must reset your automatic backup schedule using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://enterprise.arcgis.com/en/data-store/11.2/install/windows/data-store-utility-reference.htm#ESRI_SECTION1_2F9F67BEEF7E48E1A4B1CF8BA373AC76" target="_blank" rel="noopener"&gt;updatebackupschedule&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;utility after you place the relational data store back in read-write mode.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;When your spatiotemporal big data store gets close to running out of disk space,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Data Store&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;places it in read-only mode to avoid data corruption. You can use the changedatastoremode utility to return a spatiotemporal big data store to read-write mode after you have added sufficient disk space to the spatiotemporal big data store machines.&lt;/P&gt;&lt;H3&gt;Syntax&lt;/H3&gt;&lt;P&gt;&lt;SPAN class=""&gt;changedatastoremode {readonly | readwrite} [--prompt {yes | no}] --store {relational | spatiotemporal}&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;Examples&lt;/H3&gt;&lt;P&gt;In this example, the relational data store is placed back in read-write mode, meaning clients can resume such activities as publishing hosted feature layers to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Enterprise&lt;/SPAN&gt;, editing data through a hosted feature layer, or adding CSV files to a map viewer.&lt;/P&gt;&lt;PRE&gt;changedatastoremode readwrite --store relational --prompt no&lt;/PRE&gt;&lt;P&gt;To place a spatiotemporal big data store in read-write mode, specify&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;spatiotemporal&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;--store&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option as shown in the following example:&lt;/P&gt;&lt;PRE&gt;changedatastoremode readwrite --prompt no --store spatiotemporal&lt;/PRE&gt;</description>
    <pubDate>Mon, 20 Nov 2023 23:20:42 GMT</pubDate>
    <dc:creator>MarceloMarques</dc:creator>
    <dc:date>2023-11-20T23:20:42Z</dc:date>
    <item>
      <title>Data store connection issue when hard drive full</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351749#M14260</link>
      <description>&lt;P&gt;Hello.&amp;nbsp; Our data store server filled up the hard drive with all the backups.&amp;nbsp; We have deleted most of the backups to free up space but now we are having issues with our hosted feature layers.&amp;nbsp; We can't create new records in anything. We can't edit any hosted feature layers.&amp;nbsp; Workforce isn't working since we can't update any work orders or create new ones.&amp;nbsp; I have rebooted everything.&amp;nbsp; I re-ran the ArcGIS Server configuration wizard to no avail.&amp;nbsp; Does anyone know how to fix this? We are running version 10.9.1 of enterprise in a federated environment.&lt;/P&gt;&lt;P&gt;I have ticket into ESRI but the tech keeps asking me about my ODBC 17 driver version.&amp;nbsp; It's Portal, no driver is used.&amp;nbsp; Losing faith in ESRI support so wanted to see if my fellow GIS peers had any ideas.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 23:01:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351749#M14260</guid>
      <dc:creator>ahagopian_coj</dc:creator>
      <dc:date>2023-11-20T23:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data store connection issue when hard drive full</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351752#M14262</link>
      <description>&lt;H4&gt;&lt;A href="https://enterprise.arcgis.com/en/data-store/latest/install/windows/data-store-utility-reference.htm" target="_blank" rel="noopener"&gt;ArcGIS Data Store utility reference—ArcGIS Enterprise | Documentation for ArcGIS Enterprise&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Change the read-only threshold for the relational data store&lt;/H4&gt;&lt;P&gt;By default, the relational data store is placed in read-only mode when free disk space drops to 1,024 MB. In the following example, there are other apps writing to the machine, so the administrator configures the relational data store to be placed in read-only mode sooner: when free disk space on the machine drops to 4,000 MB:&lt;/P&gt;&lt;PRE&gt;changedbproperties --store relational --disk-threshold-readonly 4000

You are changing the following database properties:
         ...disk space threshold to change relational data store into READONLY mode to 4000MB)

Changing database configurations could cause the database to restart. Please do not interrupt the process once it has started.

Do you want to continue (Yes or No)?Yes&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;STRONG&gt;describedatastore&lt;/STRONG&gt; command will show if the database is in read-only mode.&lt;/P&gt;&lt;H2&gt;changedatastoremode&lt;/H2&gt;&lt;P&gt;This utility is used with relational and spatiotemporal big data stores.&lt;/P&gt;&lt;P&gt;The changedatastoremode utility allows you to place a relational data store in read-only mode while you perform maintenance on the data store. For example, if you need to perform a maintenance task that will cause the data store to restart, such as changing the backup location from one drive to another drive or changing database properties, you can place the relational data store in read-only mode so no users are in the process of publishing or editing data when the data store restarts.&lt;/P&gt;&lt;P&gt;The changedatastoremode utility is also used to place the relational data store back in a read-write mode after you finish maintenance or after you add enough disk space to the primary data store machine to allow the data store to function properly in read-write mode.&lt;/P&gt;&lt;P&gt;You must run the changedatastoremode utility on the primary relational data store machine, not the standby machine.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H5&gt;Note:&lt;/H5&gt;&lt;P&gt;If&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Data Store&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;places your relational data store in read-only mode due to insufficient disk space, automatic backups are also disabled to avoid filling the disk further. Therefore, you must reset your automatic backup schedule using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://enterprise.arcgis.com/en/data-store/11.2/install/windows/data-store-utility-reference.htm#ESRI_SECTION1_2F9F67BEEF7E48E1A4B1CF8BA373AC76" target="_blank" rel="noopener"&gt;updatebackupschedule&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;utility after you place the relational data store back in read-write mode.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;When your spatiotemporal big data store gets close to running out of disk space,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Data Store&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;places it in read-only mode to avoid data corruption. You can use the changedatastoremode utility to return a spatiotemporal big data store to read-write mode after you have added sufficient disk space to the spatiotemporal big data store machines.&lt;/P&gt;&lt;H3&gt;Syntax&lt;/H3&gt;&lt;P&gt;&lt;SPAN class=""&gt;changedatastoremode {readonly | readwrite} [--prompt {yes | no}] --store {relational | spatiotemporal}&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;Examples&lt;/H3&gt;&lt;P&gt;In this example, the relational data store is placed back in read-write mode, meaning clients can resume such activities as publishing hosted feature layers to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Enterprise&lt;/SPAN&gt;, editing data through a hosted feature layer, or adding CSV files to a map viewer.&lt;/P&gt;&lt;PRE&gt;changedatastoremode readwrite --store relational --prompt no&lt;/PRE&gt;&lt;P&gt;To place a spatiotemporal big data store in read-write mode, specify&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;spatiotemporal&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;--store&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option as shown in the following example:&lt;/P&gt;&lt;PRE&gt;changedatastoremode readwrite --prompt no --store spatiotemporal&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Nov 2023 23:20:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351752#M14262</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-11-20T23:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data store connection issue when hard drive full</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351754#M14263</link>
      <description>&lt;P&gt;Thank you so much for your reply!!!&amp;nbsp; So the datastore put itself into read only mode when the hard drive had no space left?&amp;nbsp; How do I get it out of read only mode?&amp;nbsp; Restarting the data store server didn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 23:23:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351754#M14263</guid>
      <dc:creator>ahagopian_coj</dc:creator>
      <dc:date>2023-11-20T23:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data store connection issue when hard drive full</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351755#M14264</link>
      <description>&lt;PRE&gt;changedatastoremode readwrite --store relational --prompt no&lt;/PRE&gt;&lt;PRE&gt;describedatastore

Available ArcGIS Data Stores
==============================================================
Relational Data Store
Tile Cache Data Store
Spatiotemporal Big Data Store
Graph Store
Object Store

General Information of ArcGIS Data Store on machine.domain.com
==============================================================
ArcGIS Data Store release....11.2.0.1234
Staging location.............C:\arcgisdatastore\staging
Log location.................C:\arcgisdatastore\logs
Free disk space..............174.00GB
Threshold for READONLY mode..2048MB

Information for &lt;STRONG&gt;relational data store&lt;/STRONG&gt; ds_sthiu0_5T
==============================================================
Backup location...........\\nwshare\dsbackups
Is backup folder shared...true
Backup schedule...........{"schedule-starttime":"00:00:00","schedule-frequency":"Every 7 DAYS"}
Days backup retained......31
&lt;STRONG&gt;Data store status.........Started&lt;/STRONG&gt;
SSL enabled...............true
Last failover.............20150130190334005
Member machines...........MACHINE1.DOMAIN.COM, MACHINE4.DOMAIN.COM
Maximum connections.......150
Owning system URL.........https://gisserver_webadaptor.domain.com/server
Portal for ArcGIS URL.....https://portal_webadaptor.domain.com/portal
Number of connections.....8 connection(s) to managed database
&lt;STRONG&gt;Data Store mode.....................READWRITE&lt;/STRONG&gt;
Is Point-in-time recovery enabled...No
Query optimizer enabled.............Yes

Information for &lt;STRONG&gt;tile cache&lt;/STRONG&gt; data store ds_wztxj7um
==============================================================
Data location...................C:\arcgisdatastore\nosqldata
&lt;STRONG&gt;Data store status...............Started&lt;/STRONG&gt;
Backup location.................\\mybackups\scenebackup
Backup schedule.................{schedule-frequency":"Every 1 DAYS"}
Is backup folder shared.........true
Mode............................cluster
Member tile cache machines......MACHINE1.DOMAIN.COM, MACHINE2.DOMAIN.COM, MACHINE3.DOMAIN.COM
Registered tile cache machines..MACHINE1.DOMAIN.COM, MACHINE2.DOMAIN.COM, MACHINE3.DOMAIN.COM
Owning system URL...............https://gisserver_webadaptor.domain.com/server
Portal for ArcGIS URL...........https://portal_webadaptor.domain.com/portal

Information for &lt;STRONG&gt;spatiotemporal data store&lt;/STRONG&gt; ds_qpko99Cl
==============================================================
Backup location.....................\\nwshare2\sbds_bu
Max rebalance off time..............60 minutes
Automatic rebalance ................On
Machines in spatiotemporal cluster..MACHINE1.DOMAIN.COM, MACHINE2.DOMAIN.COM, MACHINE3.DOMAIN.COM
Current coordinator in cluster......MACHINE1.DOMAIN.COM
Registered spatiotemporal machines..MACHINE1.DOMAIN.COM, MACHINE2.DOMAIN.COM, MACHINE3.DOMAIN.COM
Owning system URL...................https://gisserver_webadaptor.domain.com/server
Portal for ArcGIS URL...............https://portal_webadaptor.domain.com/portal
&lt;STRONG&gt;Data Store mode.....................READWRITE&lt;/STRONG&gt;

Information for &lt;STRONG&gt;graph store&lt;/STRONG&gt; x2b7s0n
==============================================================
Deployment mode..................primaryStandby
Access endpoint..................MACHINE1:9829
Backup location..................\\nwshare3\graphbu
Registered graph store machines..MACHINE1.DOMAIN.COM
Owning system URL................https://gisserver_webadaptor.domain.com/server
Portal for ArcGIS URL............https://portal_webadaptor.domain.com/portal

Information for &lt;STRONG&gt;object store&lt;/STRONG&gt; w1tiknx
==============================================================
Deployment mode...................singleInstance
Access endpoint...................MACHINE1:9900
Backup location...................\\nwshare4\myfiles\ods_bu
Registered object store machines..MACHINE1.DOMAIN.COM
Owning system URL.................https://gisserver.domain.com:6443/server/admin
Portal for ArcGIS URL.............https://portal_webadaptor.domain.com/portal&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 23:28:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351755#M14264</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-11-20T23:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data store connection issue when hard drive full</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351765#M14265</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; That worked perfectly!&amp;nbsp; You are a life saver!&amp;nbsp; Or at least my database saver!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 00:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351765#M14265</guid>
      <dc:creator>ahagopian_coj</dc:creator>
      <dc:date>2023-11-21T00:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data store connection issue when hard drive full</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351768#M14266</link>
      <description>&lt;P&gt;You are welcome!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 00:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/data-store-connection-issue-when-hard-drive-full/m-p/1351768#M14266</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-11-21T00:16:14Z</dc:date>
    </item>
  </channel>
</rss>

