Logic stored in AIX (VG) 255 / Each System Physical Volume (PV) 32 / Each Ball Group Physical Partition (PP) 1016 / Each Physical Roll Convey (LV) 256 / Each Volume Group Logical Partition (LP) 32512 / Each Logical Volume AIX System Logic Volume: Paging Space: / DEV / HD6, used to store fixed disk space for information in virtual memory, Journal Log: / dev / hd8 for Record the change of the file system structure in the system Boot LV: / DEV / HD5, the physical continuous disk space AIX system file system for system startup images: / (root): The important system device information required for the system startup process And the storage space of the application / usr: / dev / hd2, system command, information library, and application storage space / var: / dev / hd9var, system log files and storage space / home: / dev / HD1, user data storage space / TMP: / DEV / HD3, system temporary file and user working storage Space LVM * works: You can manage logical volumes with SMIT LVM # lsvg [-o | -l | -p ] [VG_NAME] View information of VG in the system - View the VG list in the system -L: View information that belongs to the specified VG -P: View the PV belonging to the specified VG, such as: # lsvg -o | lsvg -i -l View information about the LV belonging to the active VG in the system Note: When viewing the PV information belonging to the specified VG with the # lsvg -p vg_name command, the system will give the distribution of idle PPs on each PV in the VG ( Free distribution. Such as: # lsvg -p Rootvg Rootvg: PV_NAMEPV_StateTotal PPSFree Ppsfree Distribution HDisk0Active1595224..00..00..28 HDisk1Active1597832..02..00..12..32 Free Distribution meanings as follows: External boundaries .. External Intermediate .. center .. Internal .. Internal boundary Outer Edge..outer middle..center..inner middle..inner EDGE # lslv [-l | -m] [lv_name] View information in the system -L: View the allocation mode belonging to the LP of the specified LV (INTER-Physical Volume) Note: When you use the # lslv -l lv00 command to view the specified When the information of the LV, the system will give the number of LP numbers and their copy numbers, which conform to the internal physical volume (Intra-Physical Volume) PP contains the proportion of PP, and PP on each PV Distribution (Distribution).
Such as: # lslv -l lv00 lv00: / home / john PV Copies in Band Distribution Hdisk0 010: 000: 003: 000 COPIES The meaning of the number: the number of PPs occupied by the first copy: Number of PPs occupied by two copies: The number of PPs accounting for the third copy 010: 000: 000 in bind The meaning of the PP number in line with the internal physical scroll allocation policy accounts for 30% of the total PP number of LVs, DISTRIBUTION The meanings are as follows: External boundaries .. External intermediate .. center .. Internal intermediate .. internal border Outer Edge..unner Middle..center..inner middle..inner Edge # LSPV [-l | -p] [pv_name] View Information of PV in the system -L: View all LV information on the specified PV: View mapping relationship between all LP and PP on the specified PV # mkvg -y vg_name [-s pp_size | -n] PV_NAME Create a new Vg -y vg_name: Specifies the newly created VG name -s pp_size: Specifies the size of the PP in the VG (default is 4MB (size less than 4.5GB)) -N: Specify the system starts from activating the newly created VG : Create a PP large 4MB of PP containing three PVs, 4MB, VG # mkvg -s 4 -y newvg hdisk1 hdisk2 hdisk3 # chvg -an [y] vg_name Change VG startup characteristics -an [y]: Change the system startup Activate VG (-N) or automatically activate VG (-ay) # extendVG -F VG_NAME PV_NAME Extended VG Size -F: Forced PV for other VGs to add this VG # reduucevg [-d] vg_name pv_name reduces VG size -d: Forced PV in this VG from this VG Note: The VG command is not deleted in AIX. To delete a VG, just remove all PVs in this VG. # REORGVG VG_NAME LV_NAME [LV_NAME] Rearrange the distribution policy of LV in the VG Note: In order to improve the performance of the disk in the system, you can place frequent LV in the center of VG. Use SMIT VG to create a VG after using a VG before use, use the following activation # varyonvg [-s] vg_name to activate a VG -S: set the VG to the system management mode (not allowed to access this VG) To modify a VG must be used first The following closed VG # VARYOFFVG [-S] vg_name Close a VG -S: Set the VG to System Management Mode (not allowed to access this VG) Note: When you remove a VG from the system, you should use this command to close the VG. . When using this command, all LVs (except for system LV) on the VG should be closed.