AIX: Creating physical volumes

Title:

AIX: Creating physical volumes

Author:

Douglas O’Leary <dkoleary@olearycomputers.com>

Description:

AIX: Creating physical volumes

Date created:

05/1999

Date updated:

06/2000

Disclaimer:

Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…

  • Check for existing pvids. If a disk already has a pv, you don’t have to run the command to put a VGID on the disk - it’s already got one. Doing so won’t impact anything, just be a waste of time:

    # lspv
    hdisk0         000c387d004c3866    rootvg
    hdisk1         000c387d60617ba5    rootvg
    hdisk2         000c387d60617bda    rootvg
    hdisk3         000c387d60617c0a    rootvg
    hdisk4         none                None
    hdisk5         none                None
    hdisk6         none                None
    
  • Create the vgid:

    chpv -l hdisk6 -a pv=yes