Skip to content

Conversation

@fidgetingbits
Copy link
Contributor

This PR adds a simple extraArgs option for mdadm that allows you to pass something like --assume-clean during disk creation. A simple test that passes an argument is also included.

Being able to pass --assume-clean, for the sake of example, allows you to do things like more easily avoid initial resync during raid array creation, which can be multi-hour process depending on the size of the array, and otherwise a bit non-intuitive to cancel using /proc/mdstat.

@Enzime
Copy link
Member

Enzime commented Dec 9, 2025

Can you run nix fmt . on each commit?

@fidgetingbits
Copy link
Contributor Author

Done

@Enzime Enzime added this pull request to the merge queue Dec 10, 2025
@Enzime
Copy link
Member

Enzime commented Dec 10, 2025

LGTM

Thanks for the contribution :)

Merged via the queue into nix-community:master with commit d64e5cd Dec 10, 2025
2 checks passed
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.

2 participants