openstack-ansible-ops/doc/source/swift_storage_mount_drives.rst
SirishaGuduru 4e13bb102b Playbook to mount drives in swift object nodes
Currently in any of the release of openstack-ansible
there is no role to mount the drives in swift object
server nodes. This can now be a part of
openstack-ansible-ops as this is all operational stuff.

If the user knows the type of the file system that is
going to be used, we can mount the drives as well using
the playbook without manual intervention.

Doc is also modified according to the playbook.

Modified the lines according to the comments given.

Change-Id: I991ee4891253d2f99703c80e350df21c43db01e8
Closes-Bug: #1535536
2016-08-02 10:33:21 +05:30

1017 B

OpenStack-Ansible Swift Mount drives in storage nodes Documentation

Playbook under the folder

ansible_tools/playbooks/swift_storage_mount_drives.yml

This playbook mainly helps to mount the drives in swift object nodes, if not prior mounted and formatted.

The steps it performs are:
  • Format the disks mentioned in swift configuration file in openstack-ansible to the filesystem mentioned in the playbook (editable by the end-user in playbook).
  • Mount the drives to the the device-path(mentioned in the playbook and is editable) like /dev/sdb or /opt/sdb or /openstack/sdb.

This removes the manual effort of mounting and makes the swift users life easier by mounting the devices.

How to run the playbook

ansible-playbook ansible_tools/playbooks/swift_storage_mount_drives.yml

This will mount all the drives in the swift object nodes