btrfs filesystems cannot be specifed with multiple devices
Open
Nobody has claimed this yet.
kind/enhancement
spec change
- Dominant language
- Go
- Stars
- 974
- Forks
- 296
- Avg merge
- 6d 14h
- Merged PRs (30d)
- 9
Description
Feature Request
Support multiple devices for btrfs filesystems in *.ign configuration.
Environment
Bare metal, PXE boot.
Desired Feature
Essentially to have this configuration supported:
storage:
disks:
- device: /dev/sda
wipe_table: false
partitions:
- label: srva
number: 1
start: 0
size: 0
- device: /dev/sdb
wipe_table: false
partitions:
- label: srvb
number: 1
start: 0
size: 0
filesystems:
- name: srv
mount:
device: [ /dev/sda1, /dev/sdb1 ]
format: btrfs
wipe_filesystem: false
label: SRV
Other Information
This works perfectly now, but with only single device support.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Go code that parses and provisions filesystem entries from *.ign configurations, then trace how the single-device mount configuration is handled. Use the requested configuration as the acceptance case and verify that a btrfs filesystem can be created and mounted across both listed devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100