Datacentre Support Reference Guides

AIX: Creating physical volumes

 

 
 

HPUX uses pvcreate to place the VGID on disks. Assuming AIX hasn't already done so, you can use the procedure below to add the VGID.

  1. 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           
    
  2. Create the vgid:

    chpv -l hdisk6 -a pv=yes