summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/storage/files
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-01-30 06:46:28 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-30 06:46:28 +0000
commit80c171e0c94e80b91e2b2405afddee6940d05d0b (patch)
tree0268910680a57aafa70ea98ce77bed12d44b1baa /deploy/adapters/ansible/roles/storage/files
parent324ce2687be55ca9e40f2999d641a5d035d4d98c (diff)
parent98d9239b769f122710f26cb0235db24fc99642e6 (diff)
Merge "FIX:storage volume invalid after reboot" into stable/brahmaputra
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