summaryrefslogtreecommitdiff
path: root/hosts/iroha/scripts/prepare-mounts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/iroha/scripts/prepare-mounts')
-rwxr-xr-xhosts/iroha/scripts/prepare-mounts3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/iroha/scripts/prepare-mounts b/hosts/iroha/scripts/prepare-mounts
index f8cc6af..41aaed6 100755
--- a/hosts/iroha/scripts/prepare-mounts
+++ b/hosts/iroha/scripts/prepare-mounts
@@ -1,6 +1,7 @@
#! /usr/bin/env sh
doas kpartx -a /dev/iroha-vg1/iroha-store0-raid1
-doas lvscan
+# kpartx sometimes is finicky on boot.
+#doas kpartx -d /dev/iroha-vg1/iroha-store0-raid1
doas cryptsetup open /dev/mapper/iroha--vg1-iroha--store0--raid1p1 store
doas mount /dev/mapper/store /mnt/store
doas mount /dev/iroha-vg1/iroha-store1-raid1 /mnt/data