Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testnode: Basic filesystem and mountpoint support #592

Merged
merged 1 commit into from Dec 1, 2020
Merged

Conversation

djgalloway
Copy link
Contributor

Fixes: https://tracker.ceph.com/issues/6373

This will really only be useful is drives_to_partition or logical_volumes gets overridden in ansible.cephlab overrides in teuthology yaml. e.g.,

overrides:
  ansible.cephlab:
    vars:
      drives_to_partition:
        nvme0n1:
          device: "/dev/nvme0n1"
          unit: "GB"
          sizes:
            - "0 80"
            - "80 160"
            - "160 240"
            - "240 320"
            - "320 340"
            - "340 400"
          scratch_devs:
            - p1
            - p2
            - p3
            - p4
      filesystems:
        nvme0n1p6:
          device: "/dev/nvme0n1p6"
          fstype: xfs
          mountpoint: "/var/cache/fscache"

Signed-off-by: David Galloway dgallowa@redhat.com

Fixes: https://tracker.ceph.com/issues/6373

This will really only be useful is `drives_to_partition` or `logical_volumes` gets overridden in ansible.cephlab overrides in teuthology yaml.  e.g.,

```
overrides:
  ansible.cephlab:
    vars:
      drives_to_partition:
        nvme0n1:
          device: "/dev/nvme0n1"
          unit: "GB"
          sizes:
            - "0 80"
            - "80 160"
            - "160 240"
            - "240 320"
            - "320 340"
            - "340 400"
          scratch_devs:
            - p1
            - p2
            - p3
            - p4
      filesystems:
        nvme0n1p6:
          device: "/dev/nvme0n1p6"
          fstype: xfs
          mountpoint: "/var/cache/fscache"
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
@akraitman akraitman merged commit 0c88bb8 into master Dec 1, 2020
@akraitman akraitman deleted the wip-fs branch December 1, 2020 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants