diff options
Diffstat (limited to 'hosts/iroha/scripts/prepare-mounts')
| -rwxr-xr-x | hosts/iroha/scripts/prepare-mounts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/iroha/scripts/prepare-mounts b/hosts/iroha/scripts/prepare-mounts new file mode 100755 index 0000000..0c7ceb4 --- /dev/null +++ b/hosts/iroha/scripts/prepare-mounts @@ -0,0 +1,5 @@ +#! /usr/bin/env sh + +sudo kpartx -a /dev/iroha-vg1/iroha-store0-raid1 +sudo cryptsetup open /dev/mapper/iroha--vg1-iroha--store0--raid1p1 store +sudo mount /dev/mapper/store /mnt/store |