We can remove the VG using reducevg command, if we want remove testvg and testvg has one pv hdisk9
#lsvg –p testvg
Hdisk9
Now we will remove the pv from testvg
#reducevg –f testvg hdisk9
f- option is used to force reduce, you have data in pv hdisk9,
that time I will not any questions, directly it will remove the pv from testvg.
Suppose 2 PV’s available in testvg then one by one we can reduce the PV’s
#lsvg –p testvg
Hdisk9
Now we will remove the pv from testvg
#reducevg –f testvg hdisk9
f- option is used to force reduce, you have data in pv hdisk9,
that time I will not any questions, directly it will remove the pv from testvg.
Suppose 2 PV’s available in testvg then one by one we can reduce the PV’s
No comments:
Post a Comment