Site icon FATMIN

AIX Logical Volume and Disk Management Commands

Advertisements

Quick Commands:

lslv <logical volume> [-l,
m]

      
      Lists information about the
logical volumes.  The -l option lists the disks in the logical
volume.

lspv <physical volume>
[-l, M, p]

      
      Lists the disks on the server,
including the physical volume will give details about that disk.
The -l option will list the details of how the filesystems are
distributed on the disk.

lsvg <volume group> [-l]
Lists the volume groups on the
server, including the volume group name will give details about that
vg.
The -l option will list the logical volumes in the volume group.

lsvpcfg
      
      Lists each vpath and the hdisks
that make up the vpath

exportvg <volume
group>

      
      removes a volume group from a
machine

extendvg <volume group>
<physical volume>

Adds a new physical volume to an
existing volume group

importvg -y <volume group>
<physical volume>

add a
volume group to another machine

reducevg <volume group>
<physical volume>

Removes a physical volume from
a
volume group

lsdev -C -c disk
lists available disks (and the hdisk#) on the server

lscfg -vl hdisk

Shows advanced information on a disk

rmdev -dl hdisk#

 remove a disk

Sample Procedures:

Check to see if  all of the
logical volumes in a volume group are
mirrored

Procedure to find disks/vpaths that
are unallocated

Procedure to make a new lun available
to AIX

Exit mobile version