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

Support creation of new VGs for LVs #1

Open
jjaswanson4 opened this issue Apr 24, 2020 · 2 comments
Open

Support creation of new VGs for LVs #1

jjaswanson4 opened this issue Apr 24, 2020 · 2 comments

Comments

@jjaswanson4
Copy link
Owner

Under the logical_volumes list, I should be able to specify a volume group and have it be created if needed:
- name: cache
size: 20
path: /var/cache/pulp
volume_group: satellite

@tabowling
Copy link

Would using the Storage role from rhel-system-roles or linux-system-roles satisfy this need?
https://github.com/linux-system-roles/storage

I've created a sample here https://github.com/tabowling/ansible-schtuff/blob/master/sat-storage.yml that could be useful where the Satellite data is stored on a separate disk, such as iscsi or external USB disk. I did not include the smaller ones that could reasonably still be local such as the /var/log and /opt dirs. What do you think?

@jjaswanson4
Copy link
Owner Author

Agreed that the storage role should be used here.

The one thing I'll need to look at is how that role handles existing mountpoints. Right now the setup_storage role will expand /var, /opt, or really any existing mount point. I've had issues with that storage rule but that was probably many revisions ago.

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

No branches or pull requests

2 participants