| Term |
Definition |
|---|---|
| Journaled File System (JFS) |
File system that uses a
journaled log for faster, more reliable data recovery |
| Logical Partition (LP) |
The LV is made up of LPs.
The LP corresponds to 1 or more (in the case of mirroring) PPs. |
| Logical Volume (LV) |
The VG is subdivided into
logical volumes and each LV can have a file system on it. |
| Physical Partition (PP) | All physical volumes are subdivided into pps. PPs are all the same size. |
| Physical Volume (PV) |
Disk that is being managed by
LVM. |
| Rootvg |
Default volume group created
during installation. The vg holds the OS filesystems ( /,/usr,
/home, /proc /opt, /tmp, /var and swap space ) |
| Volume Group (VG) |
Area of storage that consists of
one or more PVs |
| Command |
Definition |
|---|---|
| chfs -a
size=<#512 byte blocks> <file system> |
Increases the size of a
journaled file system to the total number of 512 byte blocks
specified |
| chfs -a size=<+512 byte blocks> <mount point> | Increases the size of a
journaled file system by the addional number of 512 byte blocks
specified. For example "chfs -a
size=+393216 /usr" |
| chlv -n <newname> <oldname> | Change the name of a logical volume (it must be inactive) |
| crfs -v jfs -m <mount
point> -g <volume group> -a
size=<# of 512 byte blocks> crfs -v jfs -m <mount point> -d <logical volume> |
This command makes a logical
volume, mount point with a journaled file
system: creates a jfs file system on a logical volume |
| df -k |
Shows the disk usage of logical
volumes on the server. |
| 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 |
| 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 |
| mklv -y <new lv> <vg> | Makes a logical volume in a
volume group |
| mksysb -l -f <device>
|
makes a bootable backup of rootvg |
| mkvg -y <volume group> <physical volume> . . . <physical volume> | Makes a volume group out of one or more physical volumes |
| mount <logical volume>
<file system> or mount <filesystem> if it is already in /etc/filesystems |
Mounts the file system for use. |
| reducevg <volume group> <physical volume> | Removes a physical volume from a volume group |
| rmfs <file system> |
removes a file system and it's logical volume |
| rmlv <lv> | Removes a logical volume (it must be inactive) |
| savevg -l -f <device>
<volume group> |
makes a backup copy of another volume group |
| umount <file system>
dismount the file system |
Unmounts the filesystem. |