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

[Future] Module zos_resize for zfs aggregates #304

Draft
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

richp405
Copy link
Collaborator

SUMMARY

NAZARE 3304 - adding resize command

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

First pass at an optional resize command, which uses zosadm/shrink or grow, as appropriate.
It checks free space before a shrink, for saner error messaging.

ADDITIONAL INFORMATION

example usage:
- name: Resize 500K aggregate to 400K
zos_resize:
target: TESTAG.GGS.ZFS
size: 400
register: result

- name: Response for resize
  debug:
    msg: "{{ result }}"

Added return value of mount_target, which will contain original data provided.
Added a test to check for resize-based-on-share
@ddimatos
Copy link
Collaborator

Thanks @richp405 , this is next in the list of oldest PRs but given this is a new module and not likely to have any merge issues Ill skip over this for now and circle back to it later. Im looking forward to reviewing and trying this one as its new function.

@ddimatos ddimatos marked this pull request as draft June 17, 2022 19:22
@ddimatos ddimatos added In Progress This issue is under review by a team member. Module New module,plugin, filter, etc Do not Merge When a pull request should not be merged for issue noted reasons labels Jun 17, 2022
@ddimatos ddimatos removed the In Progress This issue is under review by a team member. label Apr 15, 2023
@ddimatos ddimatos changed the title Enhancement/3304 Module zos_resize for zfs aggregates Jul 14, 2023
@ddimatos ddimatos changed the title Module zos_resize for zfs aggregates [Future] Module zos_resize for zfs aggregates Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do not Merge When a pull request should not be merged for issue noted reasons Module New module,plugin, filter, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants