Aix LVM
Aix LVM
References: http://www.datadisk.co.uk/html_docs/hp/aix_lvm.htm
Physical Volumes
-u
Lists all the physical volumes in the system along with the following information:
* Physical disk name.
* Physical volume identifiers (PVIDs).
* The volume group (if any), or label (if any), that the physical volume belongs to and that is locked with the
lkdev command.
* The state of the volume group.
Active
When the volume group is varied on.
Concurrent
When the volume group is varied on in the concurrent mode.
Locked
When the physical volume is locked with the lkdev command.
* Unique device identifier (UDID).
* Universally Unique Identifier (UUID).
Displays a map of all the logical volumes the physical volume on hdisk0
# lspv -p hdisk0
Show which physical partitions are being used for a specific volume group
# lspv -M hdisk0
AIX Page 1
Volume Groups
AIX Page 2
Display all information of a Volume Group
# lsvg rootvg
PP SIZE
TOTAL PPs
FREE PPs
USED PPs
# mirrorvg rootvg
Usage:
mklv [ -t type ] [ -y newlogicalvolume ] [ -S stripsize ] VGname NumberofLPs [PVname]
AIX Page 3
# lsvg -l rootvg | grep testlv
Usage:
crfs -v VfsType { -g VolumeGroup | -d Device } -m MountPoint
Resize filesystem
AIX Page 4
# chlv -n testlv10 testlv1
AIX Page 5