Open flynn1973 opened 1 week ago
In my opinion expecting the alt_disk module to unmirror and then use the previous mirror disk as an alt_clone is a bit much & could lead to unintentionally risking system availibility if an incorrect hdisk entry is passed. If you wish to unmirror the VG, you should use the lvg module:
- name: Removing hdisk1 from rootvg
ibm.power_aix.lvg:
state: absent
vg_name: rootvg
pvs: hdisk1
After that (if successful) invoke the alt_disk module
I agree with @Rich-J-AIX It's better to have a separate task for accomplishing the unmirroring part rather than unmirroring through alt_disk module itself. @flynn1973 Can you please check if it works for you like this ?
yeah..wll check it out and report back...
Describe the bug
alt disk copy with a mirrorred rootvg fails.
To Reproduce Steps to reproduce the behavior:
run this play on an lpar with mirrored rootvg
Expected behavior
i expect the rootvg gets automatically unmirrored and prepared in any possible way (chpv -c and so on), otherwise this function is of no real use
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context None