AIX: Creating Logical Volumes and Filesystems:

Title:AIX: Creating Logical Volumes and Filesystems:
Author:Douglas O’Leary <dkoleary@olearycomputers.com>
Description:Creating LVs and filesystems using AIX LVM
Date created:05/1999
Date updated:06/2000
Disclaimer:Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me...

mklv -t ${type} -y ${name} ${vg} ${pps}

-t ${type}

${type} is one of:

  • jfs
  • jfslog
  • etc
-y ${name}

Name of the new logical volume

${vg}

The volume group in which to create the LV.

${pps}

The number of physical extents to give to the LV.

crfs -v ${type} -d ${device} -m ${mount_point} -A [yes|no]

-v ${type}

Filesystem type: should normally be jfs

-d ${device}

Logical volume device name.

-m ${mount_point}

Where the new filesytem will be mounted.

-A [yes|no]

Whether or not ${fs} should be mounted on boot.