Commands to create new volume group VG in AIX

This "procedure" is used to see the content of an unused disk on AIX and create a new volume group from this unused disk
  • lspv (To display information about a physical volume within a volume group)
  • importvg <disk> (Imports a new volume group definition from a set of physical volumes)
                   importvg hdisk0


  • lsvg -l <logical volume> (Displays information about volume groups)
                     lsvg -l vg00
  • varyoffvg <volume group>
                     varyoffvg vg00
  • exportvg <volume group> ( Exports the definition of a volume group from a set of physical
           volumes)
                     exportvg vg00
  • mkvg -f -y <volum group> <disk> (Create a volume group forcing the volume group to be created on the specified physical
                volume)
                mkvg -f -y datavg hdisk0

0 Comment to "Commands to create new volume group VG in AIX"

Post a Comment