AIX Storage Management

By Dolores Wells,2014-09-23 10:51
6 views 0
AIX Storage Management

AIX Storage Management:


     Software Management:






    ÕÂ6?ºGeneral AIX Storage Management

     6.2 Managing Physical Volumes

     For a physical volume to be used for storage purposes, either by the LVM or directly via a low-level interface, it must first be recognized by the system and configured to be in an available state.

     6.2.1 Configuration of Physical Volumes

     It is possible to check the configured state of a physical volume which has been correctly installed.

     # lsdev -Cc disk

     Only those disks with an Available state have been successfully configured by the system. It is quite likely that disks in the Defined state were switched off during the configuration process. If this is the case they can be configured, as previously mentioned, by using the command cfgmgr or smit cfgmgr after powering on.

     # cfgmgr

     6.2.2 Modifying Physical Volume Characteristics

     # chpv -an PVname

     # chpv -ay PVname

     # chpv -vr PVname

     # chpv -va PVname

     6.2.3 Removing Physical Volumes

     # rmdev -l PVname

     6.2.4 Monitoring Physical Volumes

     #errpt | pg

     # errpt -a | pg

     6.2.5 Listing Information about Physical Volumes

     Requirements of logical volumes can vary and sometimes their position within a physical volume can be quite important.So information about free physical partitions and their availability within different sectors on the disk can be very useful.

     Listing Physical Volumes on the System:

     # lspv

     Listing Physical Volume Characteristics:

     # lspv hdisk0

     Listing Logical Volume Allocation within a Physical Volume

     # lspv -l hdisk0

     Listing Physical Partition Allocation by Physical Volume Region

     # lspv -p hdisk0

     Listing Physical Partition Allocation Table

     # lspv -M hdisk0

     6.3 Managing Volume Groups

     varying on/varying off importing/exporting volume groups

     6.3.1 Adding a Volume Group

     Before a new volume group can be added to the system, one or more

    physical volumes, not used in other volume groups, and in an Available

    state, must exist on the system.

     # mkvg -y myvg -d 10 -s 8 hdisk1 hdisk5

     6.3.2 Modifying Volume Group Characteristics

     Modifying Volume Group Activation Characteristics

     # chvg -ay VGname

     # chvg -an VGname

     # chvg -Qn VGname

     # chvg -Qy VGname

     Unlocking a Volume Group

     A volume group can become locked when an LVM command terminates


     # chvg -u VGname

     Adding a Physical Volume

     # extendvg myvg hdisk3

     Removing a Physical Volume

     # reducevg myvg hdisk3

     6.3.3 Importing and Exporting a Volume Group

     # exportvg myvg

     # importvg -y myvg hdisk3

     6.3.4 Varying On and Varying Off Volume Groups

     # varyonvg myvg

     # varyoffvg myvg

     6.3.5 Monitoring Volume Groups

     Listing Volume Groups on the System

     lists all known volume groups

     # lsvg

     list only those volume groups which are currently varied on.

     # lsvg -o

     Listing the Characteristics of a Volume Group

     # lsvg myvg

     Listing the Logical Volumes in a Volume Group

     # lsvg -l myvg

     Listing Physical Volume Status within a Volume Group

     # lsvg -p myvg


Report this document

For any questions or suggestions please email