Skip to content

Instantly share code, notes, and snippets.

@markuman
Created July 24, 2019 12:20
Show Gist options
  • Save markuman/78cda716d751c4c600a152cb927de397 to your computer and use it in GitHub Desktop.
Save markuman/78cda716d751c4c600a152cb927de397 to your computer and use it in GitHub Desktop.
- name: create gluster volume
gluster_volume:
state: present
name: gfs
bricks: /mnt/gfs
force: yes
replicas: 3
cluster: "{{ hostvars['localhost']['private_ips'] }}"
options: {
performance.cache-size: 128MB,
performance.cache-max-file-size: 1MB,
quick-read: "on",
# cluster.lookup-optimize: "on",
# server.event-threads: "4",
# client.event-threads: "4",
# cluster.min-free-disk: "10%",
# performance.io-cache: "on",
write-behind: "off",
# performance.client-io-threads: "on",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment