If the VGDA does not match the ODM, the following error message may display even though the physical volume is actually a member of a volume group:
0516-320 String:Physical volume String is not assigned to a volume group
If you attempt to assign the physical volume to the volume group, error message 0516-005 is displayed.
Enter the lsvg -p VolumeGroupName command to list the members of the volume group.
Reenter the extendvg command to add a physical volume to a volume group, and specify a valid physical volume that is not a member of the volume group.
If the physical volume is a member of the volume group but error message 0516-320 is displayed anyway, enter the redefinevg -d PhysicalVolumeName VolumeGroupName command to update the ODM database with information from the VGDA. The VGDA contains current information.
odmdelete -q name=VolumeGroupName -o CuAt
Note: This procedure should be used as a last resort because data integrity cannot be guaranteed.
lqueryvg -p hdisk# -At
Use the lsvg -o command to find out if your volume group is active. If it is active, run the varyoffvg command.
and the specified device does not exist in the Object Data Manager (ODM) database.
Note: The getlvodm command is an internal command. InfoExplorer currently contains no information about this command.
and the specified physical volume is not assigned to a volume group in the Object Data Manager (ODM) database.
Note: The getlvodm command is an internal command. There is no information available in InfoExplorer about this command.
mkvg | |
Creates a new volume group containing the physical volume. | |
extendvg | |
Defines a physical volume to an existing volume group. | |
importvg | |
Imports a new volume group definition from a set of physical volumes.
|
odmdelete -q "name=VGname and attribute=lock" -o CuAt
Use the SMIT Physical and Logical Storage--> Logical Volume Manager--> Logical Volumes--> Set Characteristic of a Logical Volume--> Change a Logical Volume menu option to specify a new number of logical partitions in the MAXIMUM NUMBER of LOGICAL PARTITIONS field.
chlv -x MaximumLogicalPartitions LogicalVolumeName
Note: In both cases, you must change the logical volume before you can extend or increase it.
Use the Devices--> Fixed Disk--> Add a Disk menu option to define the disk.
Once the disk is defined, you can add it to an existing volume group or use it to create a new volume group.
Note: These commands are for disks without data. If the disk contains data, use the importvg command rather than the mkvg command or the extendvg command.