summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/storage/files
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-01-29 01:00:49 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-29 01:00:49 +0000
commite1df6835eb002e85cf604255d09c040c5628a6df (patch)
treebfc4ae58f6012a0154463ff773bfe8fd8b51d14d /deploy/adapters/ansible/roles/storage/files
parent2bcd8434ac8bf980e50064500ac168cba8427b0e (diff)
parentd3ba758592ea7aa07931667fb265b574de0dfb80 (diff)
Merge "FIX:storage volume invalid after reboot"
Diffstat (limited to 'deploy/adapters/ansible/roles/storage/files')
-rwxr-xr-xdeploy/adapters/ansible/roles/storage/files/storage3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/storage/files/storage b/deploy/adapters/ansible/roles/storage/files/storage
new file mode 100755
index 00000000..9ef9a65b
--- /dev/null
+++ b/deploy/adapters/ansible/roles/storage/files/storage
@@ -0,0 +1,3 @@
+#! /bin/bash
+loop_dev=`sh /opt/setup_storage/losetup.sh`
+vgcreate --force storage-volumes $loop_dev