You are on page 1of 5

I)

How to create a Volume Group (VG).

II)

How to create a Logical Volume (LV) and mount the file system.

III)

How to add a disk to a Volume Group

IV) How to increase the size of a logical volume without OnlineJFS

IV)

How to remove a Logical Volume

V)

How to reduce the size of a logical volume without OnlineJFS advanced JFS)

VI)

How to remove a disk from a volume group

VII)

How to remove a volume group

IX) How to increase the primary swap

X) How to create a secondary boot disk LVM Mirroring

072 for AIX 5.024.024 for scalable volume group. The default value for standard and big volume groups is the lowest value to remain within the limitation of 1. big. where s partition_size sets the number of megabytes (MB) in each physical partition where the partition_size is expressed in units of MB from one through 1. for example. type e . but does not remove other entities. o . such as file systems or paging spaces that were using the logical volume. rootvg)? You can display all logical volumes that are part of rootvg by typing the following command: lv s g How do I list information about logical volumes? Run the following command to display information about the logical volume lv1: lsv . 128 for big and 1. or scalable? Run the lv command on s g the volume group and look at the value for MAX PVs. How do I create a logical volume? Type the following: How do I increase the size of a logical volume? To increase the size of the logical volume represented by the lv05 directory by three logical partitions.XI) How to mirror a logical volume Volume groups and logical volumes How do I know if my volume group is normal.l How do I remove a logical volume? You can remove the logical volume lv7 by running the following command: rmlv lv7.g. The rmlv command removes only the logical volume. How can I change the characteristics of a volume group? You use the c command to h change the characteristics of a volume group. (It's one through 131. The default value for scalable volume groups is the lowest value to accommodate 2.x How do I display all logical volumes that are part of a volume group (e. The value is 32 for normal. How do I create a volume group? Use the following command. two.040 physical partitions per physical volume.016 physical partitions per physical volume. four or eight).3.) The partition_size variable must be equal to a power of two (for example: one.

es To t . interface and protocol information? To display routing table information for an Internet interface.sg To all the characteristics of rootvg. . run the command i . type nta display statistics for each protocol.f How do I activate a network interface? To activate the network interface tr0.y c _ k s i Network How can I display or set values for network parameters? The n command sets or o displays current or next boot values for network tuning parameters. To reduce the number of copies of each logical partition belonging to logical volume testlv. How do I get the IP address of my machine? Type one of the following: i hFor or . type nTo display interface information .How do I remove a copy of a logical volume? You can use the rmv command to remove l copies of logical partitions of a logical volume. type lo .e for an Internet interface. to deactivate the network interface tr0. for eaxample tr0. To show disks used by rootvg.st r pg -v o How to add a disk to a volume group? Type the following: How do I replace a disk? How do I mirror a logical volume? How can I clone the rootvg? You can run the alt_ command to copy the current rootvg to an _c do i s k alternate disk.ro tw dc on f How do I display routing table. run the command: i0f .o f example. tp d o . The following example shows how to clone the rootvg to hdisk1: al _d . lc logical partition in the Each y p o logical volume now has at most two physical partitions. p o l c y How do I identify the network interfaces on my server? Either of the following two commands will display the network interfaces: l iTo get information about one specific or . ente: rmv . h sa . ot t s u . run the command icf . type lsvg rootvg. type lv show . type netstat -s -f inet .f s network interface. Queries about volume groups: To show volume groups in the system.fo n How do I deactivate a network interface? For example.

and Disks since boot.Workload Partitions Workload Partitions (WPARs). type rTo stop and remove the workload partition called temp preserving data on its file . This -P 0. How do I create a workload partition? To create a workload partition named temp with IP Address xxx. CPUs and disks? To display a single set of statistics for all TTY. enter sar -uproduces output similar to the following: . How do I remove a workload partition? To remove the workload partition called temp. type rwa .1 .trr tt ep a How do I view the characteristics of workload partitions? To view the characteristics of all workload partitions. were introduced in IBM AIX Version 6. type To create a workload partition with the specification file wpar1. type How do I start a workload partition? To start the workload partition called temp. type clogin howdy-l root /usr/bin/ps .s How do I display statistics for all TTY commands. type iot . a set of completely new software-based system virtualization features. CPU. sp How do I run a command in a workload partition? To run the /usr/bin/ps command as user root in a workload partition named howdy. type lw . type vmt .1.m system.zzz.nnn. To report processor activity for the first two processors.yyy. type saw .spec. mp p r - Performance Monitoring Tools How do I display virtual memory statistics? To display a summary of the virtual memory statistics since boot.s How do I display a detailed local and remote system statistics? Type the following command: tps o a tp odisplays a tps -a odisplays tp odisplays a tp odisplays a process logical partition disk metric file system How do I report system unit activity? Type the sar command.

it doesn’t cover everything that you might need. a list such as this can be helpful in quickly answering some of your own questions. You can extend the usefulness of such a list by adding other commands that answer additional questions not addressed here. However.Admittedly. .