<?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: Migrating splunk folder to another LVM file system in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434654#M95486</link>
    <description>&lt;P&gt;This is what I followed to get this migrated.&lt;/P&gt;

&lt;P&gt;Stop the splunk : service splunk stop&lt;BR /&gt;
Run the below command : rsync -av /opt/splunk/var/lib/ /splunk_data_vol/ &lt;BR /&gt;
Take a backup of /opt/splunk/etc/splunk-launch.conf&lt;BR /&gt;
Override the new $SPLUNK_DB path /splunk_data_vol/splunk under /opt/splunk/etc/splunk-launch.conf&lt;BR /&gt;
Start the splunk : service splunk start&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:15:04 GMT</pubDate>
    <dc:creator>chandu245</dc:creator>
    <dc:date>2020-09-30T00:15:04Z</dc:date>
    <item>
      <title>Migrating splunk folder to another LVM file system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434651#M95483</link>
      <description>&lt;P&gt;I am in need of migrating the splunk folder(/opt/splunk/var/lib/splunk) to another LVM as the current file system is getting filled up.  This folder has db and some other files.&lt;BR /&gt;
Any suggestions or steps? &lt;/P&gt;

&lt;P&gt;Found this but steps are not refined - &lt;A href="https://answers.splunk.com/answers/3390/how-do-i-move-all-log-data-to-another-filesystem.html"&gt;https://answers.splunk.com/answers/3390/how-do-i-move-all-log-data-to-another-filesystem.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 07:35:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434651#M95483</guid>
      <dc:creator>chandu245</dc:creator>
      <dc:date>2019-03-08T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating splunk folder to another LVM file system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434652#M95484</link>
      <description>&lt;P&gt;The answer from that other post is quite concise, and describes the steps to take if you're going to use a mount to present the new volume.&lt;/P&gt;

&lt;P&gt;If you want to move the data to a different path:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Stop Splunk
Copy the contents of $SPLUNK_HOME/var/lib/splunk to your new location.
(You can use @dwaddle's suggested approach of using tar, or cp/rsync or anything else which robustly copies the data, but pay attention to permissions)
Update the path in your indexes.conf to reflect the new data locations.
Start Splunk 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434652#M95484</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-08T10:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating splunk folder to another LVM file system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434653#M95485</link>
      <description>&lt;P&gt;@nickhillscpl  Thanks! Will try this and update over here.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:10:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434653#M95485</guid>
      <dc:creator>chandu245</dc:creator>
      <dc:date>2019-03-08T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating splunk folder to another LVM file system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434654#M95486</link>
      <description>&lt;P&gt;This is what I followed to get this migrated.&lt;/P&gt;

&lt;P&gt;Stop the splunk : service splunk stop&lt;BR /&gt;
Run the below command : rsync -av /opt/splunk/var/lib/ /splunk_data_vol/ &lt;BR /&gt;
Take a backup of /opt/splunk/etc/splunk-launch.conf&lt;BR /&gt;
Override the new $SPLUNK_DB path /splunk_data_vol/splunk under /opt/splunk/etc/splunk-launch.conf&lt;BR /&gt;
Start the splunk : service splunk start&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:15:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Migrating-splunk-folder-to-another-LVM-file-system/m-p/434654#M95486</guid>
      <dc:creator>chandu245</dc:creator>
      <dc:date>2020-09-30T00:15:04Z</dc:date>
    </item>
  </channel>
</rss>

