Display all VGs:
#lsvgDisplay all active VGs:
#lsvg -oDisplay info about rootvg:
#lsvg rootvgDisplay info about all LVs in rootvg:
#lsvg -l rootvgDisplay info about all LVs in all VGs:
#lsvg -o |lsvg -ilDisplay info about all PVs in rootvg:
#lsvg -p rootvgCreate VG with name vgXX on hdisk0 with partition size 128MB:
#mkvg -s 128 hdisk0Create VG with name testvg on hdisk0 with partition size 128MB:
#mkvg -s 128 -y testvg hdisk0Create testvg on hdisk0 with PP size 4 and no of partions 2 * 1016:
#mkvg -s 4 -t 2 -y testvg hdisk0To cuase VG leetvg automatically activated at startup:
#chvg -a y leetvgTo deactivate the automatic activation at startup:
#chvg -a n leetvgTo change maximum no. of PP to 2032 on vg leetvg:
#chvg -t 2 leetvgTo disable quorum on VG leetvg:
#chvg -Q n leetvgReorganises PP allocation of VG leetvg:
#reorgvg leetvgAdd PV hdisk0 and hdisk1 to VG leetvg:
#extendvg leetvg hdisk0 hdisk1Exports the VG leetvg:
#exportvg leetvgImport the hdisk10 with name leetvg, and assign major number 33:
#importvg -V 33 -y leetvg hdisk10Remove PV hdisk20 from VG leetvg:
#redcucevg leetvg hdisk20To deactviate VG leetvg:
#varyoffvg leetvgTo activate VG leetvg:
#varyonvg leetvgTo sync the mirrored LV in the VG testvg:
#syncvg -v testvgTo mirror LVs of testvg with hdisk0 (-m for exact mirror, -S for background mirror):
#mirrorvg -S -m testvg hdisk0To remove the mirrored PV from the set:
#unmirrorvg testvg hdiskX- Log in to post comments
- 35804 views