Skip to content
David Lehman edited this page Sep 27, 2018 · 1 revision

This project's goal is to provide a high-level role for managing storage at the OS level.

Users will be able to create full device stacks with a minimum amount of input, with the option of specifying additional settings to override various defaults.

Some examples:

---
- hosts: all
  roles:
    - name: storage
      pools:
        # Create a new volume group spanning two disks with a 100 GiB logical volume, then
        # create an XFS file system on it and mount it at '/mnt/foo' (including /etc/fstab
        # entry).
        - name: foo
          disks: ['sdd', 'sde']
          volumes:
            - name: test1
              mount_point: "/mnt/test1"
              size: "100 GiB"
      volumes:
        # Create an ext4 file system on /dev/mapper/mpathe and mount it (persistently) at
        # /mnt/bar.
        - name: bar
          mount_point: "/mnt/bar"
          disks: ["mpathe"]
          device_type: "disk"

The first target is support for file systems and mounts on unpartitioned disks and basic, linear LVM with disk or partition PVs. Next steps are described briefly in the roadmap below.

Roadmap

  • integration tests
  • docs
  • partitioning
  • luks
  • vdo
  • raid
Clone this wiki locally