# varyoffvg <Volume_Group> : Commad to deactivate a volume group.
When a volume group is not active the logical volume or the physical volume on the volume group could not be listed.
To overcome this issue, we can apply "-s" flag when we varyoff of the volume group, this flag is for maintenance mode. This would ensure we can still view the attributes of a volume group even though its deactivated.
# varyoffvg -s vgp
# lsvg -l vgp
vgp:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lvn ??? 10 10 1 closed/syncd N/A
loglv00 ??? 1 1 1 closed/syncd N/A
#
# lsvg -p vgp
vgp:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk5 active 542 531 109..97..108..108..109
#
When a volume group is not active the logical volume or the physical volume on the volume group could not be listed.
To overcome this issue, we can apply "-s" flag when we varyoff of the volume group, this flag is for maintenance mode. This would ensure we can still view the attributes of a volume group even though its deactivated.
# varyoffvg -s vgp
# lsvg -l vgp
vgp:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lvn ??? 10 10 1 closed/syncd N/A
loglv00 ??? 1 1 1 closed/syncd N/A
#
# lsvg -p vgp
vgp:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk5 active 542 531 109..97..108..108..109
#