teemtee / tmt

Test Management Tool
MIT License
84 stars 125 forks source link

HW requirements - disk partitions #1243

Open kokesak opened 2 years ago

kokesak commented 2 years ago

In convert2rhel and in leapp we have some old beaker tests that specifies the partitions that has to be created on the machine before running the tests.

We would like to specify the size of the partition, it's name, and the type whether it use regular standard partitioning or the LVM file system.

Example of the needed specification can be found here.

Perhaps, extending the functionality of the multiple disks intrudced in #893 can be used?

---

disk:
  - space: ">= 20 GB"
  - partition:
      name: "/var"
      size: "10 GB"
      type: "LVM"
  - partition:
      - name: "/var/log"
      - size: "5 GB"
      - type: "LVM"

Also there is a specific case, where we want to test a monolithic root partition. Everything is stored inside the root / partition and no swap is created.

thrix commented 1 year ago

Other proposal: https://github.com/teemtee/tmt/issues/2402