Hi Henry/Archie(?),
first create a file as big as you think you will need for splunk data
dd if=/dev/zero of=/mydata/splunkfs.img bs=1M count=5000
Then format it with ext4 (sans journal, which is kind of moot in this case):
mkfs.ext4 -O ^has_journal /mydata/splunkfs.img
Add a line to /etc/fstab like this:
/mydata/splunkfs.img /opt/splunk/var/ auto loop 0 0
Stop splunk:
/opt/splunk/bin/splunk stop
Then just something like
cd /opt/splunk
mkdir vartmp
mv var/* vartmp
mount var
mv vartmp/* var
/opt/splunk/bin/splunk start
... View more