Skip to content

Conversation

@mmusenbr
Copy link

logical_volume: Add option use_dm_devicepath to use /dev/mapper/$vg-$lv instead of /dev/$vg/$lv

Summary

We have the requirement to use /dev/mapper entries in /etc/fstab, currently when using the lvm::logical_volume entries will always be /dev/$vg/$lv.
To allow creation of entries with the /dev/mapper entries, an additional option use_dm_devicepath is introduced. The default value is set to keep the previous/default behavior.

From previous PRs (!124, !153, !199) it seems other have (or had) the requirement too, but it the PRs where never finalized from the PR openers.

Related Issues

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@mmusenbr mmusenbr requested review from a team and bastelfreak as code owners February 19, 2025 15:01
@CLAassistant
Copy link

CLAassistant commented Feb 19, 2025

CLA assistant check
All committers have signed the CLA.

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