- "0 50"
- "50 100"
+A dictionary of volume groups you want created. ``pvs`` should be a comma-delimited list. Example::
+
+ volume_groups:
+ vg_nvme:
+ pvs: "/dev/nvme0n1"
+ vg_hdd:
+ pvs: "/dev/sdb,/dev/sdc"
+
+A dictionary of logical volumes you want created. See Ansible's docs_ on available sizing options. The ``vg`` value is the volume group you want the logical volume created on. Define ``scratch_dev`` if you want it added to ``/scratch_devices`` on the testnode::
+
+ logical_volumes:
+ lv_1:
+ vg: vg_nvme
+ size: "25%VG"
+ scratch_dev: true
+ lv_2:
+ vg: vg_nvme
+ size: "75%VG"
+ scratch_dev: true
+ lv_foo:
+ vg: vg_hdd
+ size: "100%VG"
+
Tags
++++
Check and set proper fqdn. See, ``roles/testnode/tasks/set_hostname.yml``.
kernel_logging
- Runs a script that enabled kernel logging to the console on ubuntu.
+ Runs a script that enabled kernel logging to the console on ubuntu.
+
+lvm
+ Configures logical volumes if dicts are defined in the secrets repo.
nfs
Install and start nfs.
Manages the ``teuthology_user`` and ``xfstests_user``.
zap
- Zap (``sgdizk -Z``) all non-root drives
+ Zap (``sgdizk -Z``) all non-root drives and **all** logical volumes and volume groups
Dependencies
++++++++++++
.. _ceph-qa-chef: https://github.com/ceph/ceph-qa-chef
.. _teuthology: https://github.com/ceph/teuthology
.. _ceph-qa-suite: https://github.com/ceph/ceph-qa-suite
+.. _docs: https://docs.ansible.com/ansible/latest/lvol_module.html