<?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: primary volume capacity and &amp;quot;df -h&amp;quot; do not agree in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382746#M6381</link>
    <description>&lt;P&gt;Agree regarding use of a different partition, but is an inherited design so have to deal with what I have (for now).   Primary is @ /opt/splunk/var/lib/splunk and secondary separate.  &lt;/P&gt;

&lt;P&gt;Very good feedback, which investigation shows this is the right track.  Checked btool as suggested.  Shows "../system/default/indexes.conf     tstatsHomePath = volume:_splunk_summaries/$_index_name/datamodel_summary" .&lt;/P&gt;

&lt;P&gt;Since there is no setting for  volume _splunk_summaries assuming at this point that it is defaulting to the primary volume.  Since summary is defaulting to the primary volume is it (_splunk_summary) size controlled by the "maxVolumeDataSizeMB" setting for primary or does it require its own setting?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:44:33 GMT</pubDate>
    <dc:creator>tlmayes</dc:creator>
    <dc:date>2020-09-29T20:44:33Z</dc:date>
    <item>
      <title>primary volume capacity and "df -h" do not agree</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382741#M6376</link>
      <description>&lt;P&gt;Primary volume set to 650GB.  MC reports that primary volume is 615/650, so all is good... But the volume consumption as reported by "df -h" reports 710GB being used, and nothing is stored in the path but the primary volume (indexes).  &lt;/P&gt;

&lt;P&gt;What am I missing?  What is using the extra 60GB that is not being recognized by Splunk? &lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 02:55:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382741#M6376</guid>
      <dc:creator>tlmayes</dc:creator>
      <dc:date>2018-08-02T02:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: primary volume capacity and "df -h" do not agree</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382742#M6377</link>
      <description>&lt;P&gt;Hey@tlmayes,&lt;/P&gt;

&lt;P&gt;Where are you running df -h exactly? Also does your splunk setup have datamodel accelerated? Can you check if the 60GB is the volume used by datamodel? &lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 09:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382742#M6377</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-08-02T09:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: primary volume capacity and "df -h" do not agree</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382743#M6378</link>
      <description>&lt;P&gt;[volume:primary]&lt;BR /&gt;
path = /opt/splunk/var/lib/splunk&lt;BR /&gt;
maxVolumeDataSizeMB = 630001 (is 64,512 bytes)&lt;/P&gt;

&lt;P&gt;/opt/splunk/var/lib]# du -cks * | sort -rn|head&lt;BR /&gt;
661052116       total&lt;BR /&gt;
661052116       splunk&lt;/P&gt;

&lt;H1&gt;df -h&lt;/H1&gt;

&lt;P&gt;Filesystem                      Size  Used Avail Use% Mounted on&lt;BR /&gt;
...............                 ....  ...    ...  ... ........&lt;BR /&gt;
/dev/mapper/vg01-opt_splunk     700G  673G   28G  97% /opt/splunk&lt;/P&gt;

&lt;P&gt;To your question about accelerated datamodels so checked indexes.conf on the SH's and sure enough it is set to the same path, but a different value (740G).  Since it is on the SH vice indexer, does it really have an effect? Built by others so am having to reverse engineer.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 13:16:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382743#M6378</guid>
      <dc:creator>tlmayes</dc:creator>
      <dc:date>2018-08-02T13:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: primary volume capacity and "df -h" do not agree</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382744#M6379</link>
      <description>&lt;P&gt;You can try doing du -ch after going to the path opt/splunk/var/lib/splunk . This will give you exact split of what index is taking how much storage and you can further check in which datamodel is taking what storage. May be this would help!!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 05:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382744#M6379</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-08-03T05:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: primary volume capacity and "df -h" do not agree</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382745#M6380</link>
      <description>&lt;P&gt;The volume you have mentioned may contain 615GB of indexes, however there are files outside the volume that could be using disk s pace in the same directory, in particular:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Indexes which have been removed from the config but remain on the filesystem&lt;/LI&gt;
&lt;LI&gt;Data model acceleration summaries&lt;/LI&gt;
&lt;LI&gt;Other directories within that subsection of disk which are not indexes or data model summaries&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I would normally use a different disk location for indexer data to make this easier.&lt;BR /&gt;
For the data model summaries run:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk btool indexes list --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Looks for the tstatsHomePath, I suspect it will be the default volume of _splunk_summaries  which has a location on Linux of /opt/splunk/var/lib/splunk/... (or $SPLUNK_DB/...)&lt;BR /&gt;
Then under that directory per-index you will find the datamodel_summary directories &lt;/P&gt;

&lt;P&gt;Since the _splunk_summaries is it's own volume (default volume for data models) it can also use that same section of disk&lt;/P&gt;

&lt;P&gt;Also FYI data model summaries are stored on the indexing tier, data models are configured at the search head tier&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:47:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382745#M6380</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-09-29T20:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: primary volume capacity and "df -h" do not agree</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382746#M6381</link>
      <description>&lt;P&gt;Agree regarding use of a different partition, but is an inherited design so have to deal with what I have (for now).   Primary is @ /opt/splunk/var/lib/splunk and secondary separate.  &lt;/P&gt;

&lt;P&gt;Very good feedback, which investigation shows this is the right track.  Checked btool as suggested.  Shows "../system/default/indexes.conf     tstatsHomePath = volume:_splunk_summaries/$_index_name/datamodel_summary" .&lt;/P&gt;

&lt;P&gt;Since there is no setting for  volume _splunk_summaries assuming at this point that it is defaulting to the primary volume.  Since summary is defaulting to the primary volume is it (_splunk_summary) size controlled by the "maxVolumeDataSizeMB" setting for primary or does it require its own setting?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:44:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382746#M6381</guid>
      <dc:creator>tlmayes</dc:creator>
      <dc:date>2020-09-29T20:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: primary volume capacity and "df -h" do not agree</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382747#M6382</link>
      <description>&lt;P&gt;According to the indexes.conf file:&lt;BR /&gt;
    tstatsHomePath = &lt;PATH on="" index="" server=""&gt;&lt;BR /&gt;
    * Required.&lt;BR /&gt;
    * Location where datamodel acceleration TSIDX data for this index should be&lt;BR /&gt;
      stored&lt;BR /&gt;
    * MUST be defined in terms of a volume definition (see volume section below)&lt;BR /&gt;
    * Must restart splunkd after changing this parameter; index reload will not&lt;BR /&gt;
      suffice.&lt;BR /&gt;
    * CAUTION: Path must be writable.&lt;BR /&gt;
    * Defaults to volume:_splunk_summaries/$_index_name/datamodel_summary,&lt;BR /&gt;
      where $_index_name is runtime-expanded to the name of the index&lt;/PATH&gt;&lt;/P&gt;

&lt;P&gt;On my system I see:&lt;BR /&gt;
    [volume:_splunk_summaries]&lt;BR /&gt;
    path = $SPLUNK_DB&lt;/P&gt;

&lt;P&gt;In my quick test it defaults to 500000MB, and you can change it by explicitly setting the maxTotalDataSizeMB if you wish, however you might want to read &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Acceleratedatamodels#Configure_size-based_retention_for_data_model_acceleration_summaries" target="_blank"&gt;Configure size based retention for data models&lt;/A&gt; and possibly the conf presentation &lt;A href="https://conf.splunk.com/files/2016/slides/replication-of-summary-data-in-indexer-cluster.pdf" target="_blank"&gt;replication of summary replication data in a cluster&lt;/A&gt;, it describes what happens if a data model summary gets trimmed due to size&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/primary-volume-capacity-and-quot-df-h-quot-do-not-agree/m-p/382747#M6382</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-09-29T20:48:38Z</dc:date>
    </item>
  </channel>
</rss>

