andreasscherbaum / gpdb-ansible

Ansible scripts for Greenplum Database
Apache License 2.0
8 stars 7 forks source link

Add support for disk partitioning and xfs creation #3

Open kdunn-pivotal opened 7 years ago

kdunn-pivotal commented 7 years ago

Refer to our conversation: https://pivotal.slack.com/archives/C4WUTFL30/p1504291458000484

andreasscherbaum commented 7 years ago

There is actually a Todo somewhere as a comment in my Playbook - but I'm not sure that the GPDB Playbook is the right place. This is something which needs to be done when you configure the host, or even earlier: when you setup the host. Once the partitions are created and the OS is installed, it's too late to change that.

https://github.com/andreasscherbaum/gpdb-ansible/blob/master/roles/gpdb4/tasks/redhat.yml#L184

kdunn-pivotal commented 7 years ago

Fair enough - I'm not too sure how your demarcations are drawn with this playbook, but to be clear, this is disk partitioning + xfs formatting for GPDB data disks/dirs only, not the OS itself.

andreasscherbaum commented 7 years ago

Is your use case that you have a partition for the OS, and another one for the database?