create 100GB swift storage in vg_server
This commit is contained in:
parent
f153d2725a
commit
49d8c3d27e
2 changed files with 5 additions and 1 deletions
|
@ -368,7 +368,7 @@ CONFIG_SWIFT_KS_PW={{ SWIFT_PASS }}
|
|||
# on 127.0.0.1 as a swift storage device(packstack does not create the
|
||||
# filesystem, you must do this first), if /dev is omitted Packstack
|
||||
# will create a loopback device for a test setup
|
||||
CONFIG_SWIFT_STORAGES=
|
||||
CONFIG_SWIFT_STORAGES=127.0.0.1/vg_server/swift_store
|
||||
|
||||
# Number of swift storage zones, this number MUST be no bigger than
|
||||
# the number of storage devices configured
|
||||
|
|
|
@ -59,6 +59,10 @@
|
|||
ignore_errors: yes
|
||||
|
||||
- lvg: vg=cinder-volumes pvs=/dev/md127 pesize=32 vg_options=""
|
||||
- name: Create logical volume for Swift
|
||||
lvol: vg=swift_store lv=vg_server size=100g
|
||||
- name: Create FS on Swift storage
|
||||
filesystem: fstype=ext4 dev=/dev/vg_server/swift_store
|
||||
|
||||
- template: src={{ files }}/fedora-cloud/hosts dest=/etc/hosts owner=root mode=0644
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue