Skip to content

Commit dbedc11

Browse files
committed
adding compat layer for splunkenableunifiedpartition (fix)
1 parent 7ddbc6d commit dbedc11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/splunkconf-cloud-recovery.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ exec >> /var/log/splunkconf-cloud-recovery-debug.log 2>&1
272272
# 20250609 automatically adapt values for splunkenableunifiedpartition
273273
# 20250609 adding compat layer for splunkenableunifiedpartition
274274

275-
VERSION="20250509c"
275+
VERSION="20250509d"
276276

277277
# dont break script on error as we rely on tests for this
278278
set +e
@@ -467,7 +467,7 @@ setup_disk () {
467467
# for ephemeral , we can add sparse_super with no drawback"
468468
MKOPTIONSEPHEMERAL="-O sparse_super -m 0 -T largefile4 -E lazy_itable_init"
469469
if [[ "$splunkenableunifiedpartition" == "true" ]]; then
470-
echo "Usimg unified partition mode"
470+
echo "Using unified partition mode"
471471
MOUNTPOINT="$SPLUNK_HOME"
472472
else
473473
echo "Using distinct partition mode"
@@ -594,9 +594,9 @@ setup_disk () {
594594
chown -R ${usersplunk}. /data/cold
595595
fi
596596
if [[ "$splunkenableunifiedpartition" == "true" ]]; then
597-
echo "adding compatibility layeri for unified partition"
597+
echo "adding compatibility layer for unified partition"
598598
mkdir -p /data/vol1/
599-
ln -s /opt/splunk/var/lib/splunk indexes
599+
ln -s /opt/splunk/var/lib/splunk /data/vol1/indexes
600600
fi
601601
}
602602

0 commit comments

Comments
 (0)