check the activated volume group.
#lsvg -o
rootvg
datavg
quavg
#lsvg -p datavg
vpath12
vpath13
now using the migratepv command migrate all the filesystem from vpath13 to vapth12
#migratepv vpath13 vpath12
check that any pp is allocated
#lspv -M vpath13 or # lspv -l vpath13
check whether all the filesytems are available
#lsvg -l datavg
now reduce the disk vpath13 from VG
#reducevg vpath13 datavg
now remove the vpath13 .
#rmdev -Rdl vpath13
vpath13 deleted
note: there is no need to unmount the filesystems or varyoff vg while running migratepv command.
#lsvg -o
rootvg
datavg
quavg
#lsvg -p datavg
vpath12
vpath13
now using the migratepv command migrate all the filesystem from vpath13 to vapth12
#migratepv vpath13 vpath12
check that any pp is allocated
#lspv -M vpath13 or # lspv -l vpath13
check whether all the filesytems are available
#lsvg -l datavg
now reduce the disk vpath13 from VG
#reducevg vpath13 datavg
now remove the vpath13 .
#rmdev -Rdl vpath13
vpath13 deleted
note: there is no need to unmount the filesystems or varyoff vg while running migratepv command.
No comments:
Post a Comment