Professional Documents
Culture Documents
II)
How to create a Logical Volume (LV) and mount the file system.
III)
IV)
V)
How to reduce the size of a logical volume without OnlineJFS advanced JFS)
VI)
VII)
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. To reduce the number of copies of each logical partition belonging to logical volume testlv, ente: rmv . lc logical partition in the Each y p o logical volume now has at most two physical partitions. Queries about volume groups: To show volume groups in the system, type lv show .sg To all the characteristics of rootvg, type lsvg rootvg. To show disks used by rootvg, type lo .st r pg -v o How to add a disk to a volume group? Type the following: How do I replace a disk?
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. The following example shows how to clone the rootvg to hdisk1: al _d . tp d o - 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. How do I get the IP address of my machine? Type one of the following: i hFor or .o f example, h sa . ot t s u . 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 .f s network interface, for eaxample tr0, run the command i .f How do I activate a network interface? To activate the network interface tr0, run the command icf .fo n How do I deactivate a network interface? For example, to deactivate the network interface tr0, run the command: i0f .ro tw dc on f How do I display routing table, interface and protocol information? To display routing table information for an Internet interface, type nTo display interface information .e for an Internet interface, type nta display statistics for each protocol, type netstat -s -f inet .es To t .
Workload Partitions
Workload Partitions (WPARs), a set of completely new software-based system virtualization features, were introduced in IBM AIX Version 6.1. How do I create a workload partition? To create a workload partition named temp with IP Address xxx.yyy.zzz.nnn, type To create a workload partition with the specification file wpar1.spec, type How do I start a workload partition? To start the workload partition called temp, type saw .trr tt ep a How do I view the characteristics of workload partitions? To view the characteristics of all workload partitions, type lw . 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 clogin howdy-l root /usr/bin/ps . How do I remove a workload partition? To remove the workload partition called temp, type rTo stop and remove the workload partition called temp preserving data on its file .m system, type rwa . mp p r -
How do I report system unit activity? Type the sar command. To report processor activity for the first two processors, enter sar -uproduces output similar to the following: . This -P 0,1
Admittedly, a list such as this can be helpful in quickly answering some of your own questions. However, it doesnt cover everything that you might need. You can extend the usefulness of such a list by adding other commands that answer additional questions not addressed here.