To decrease the size of the SRL on the Primary
OR
If the application and the RVG are configured as VCS resources, OFFLINE the application resource, as well as, the RVG resource and then proceed to step 4.
To OFFLINE resources, use the hagrp command.
For more information on bringing resources offline, see the Symantec Cluster Server User's Guide.
# vxrvg -g diskgroup stop rvg_name
# vxrlink -g diskgroup status rlink_name
Note: |
If you see any outstanding writes, do not proceed to step 5. |
# vxrlink -g diskgroup det rlink_name
# vxvol -g diskgroup dis srl_name
# vxassist -g diskgroup shrinkto srl_name new_length
# vxvol -g diskgroup aslog rvg_name srl_name
# vxrlink -f att rlink_name
Note: |
The RLINK was up-to-date when it was detached in step 5 and the Secondary is consistent with the Primary; therefore, it is appropriate to use the force option here. |
OR
If the application and the RVG are configured as VCS resources, ONLINE the RVG resource, as well as, the application resource. To ONLINE resources, use the hagrp command. For more information on bringing resources online, see the Symantec Cluster Server User's Guide. The resize operation is complete.
# vxrvg -g diskgroup start rvg_name