There are various commands and utilities which you can make use of in your day to day activities. The lvid is the soft serial number used to represent the logical volume to the lvm libraries and low level commands. This book also describes the advanced functions of the logical volume manager, such as the mirroring to. Many lvm processing commands now accept the s or select option to.
Aix logical volume manager from a to z ibm redbooks. The reducevgcommand removes one or more physical volumes from the volume group. Lvm cheatsheet cheatsheet lvm as with all my cheatsheets, they are works in progress and will be continuously added to whenever i find a command that i need that it does not list. The lvid is created from the vgid of the volume group, a decimal point, and a number which represents the order which the logical volume was created on the volume group. The man lvm command provides general online information about lvm. This manual now documents the lvm command in section 3. This manual now documents the lvm command in section 4. Command definition chfs a size increases the size of a journaled file system to the total number of 512 byte blocks specified chfs a size increases the size of a journaled file system by the addional number of 512 byte blocks specified. Probably need to select manualcustomexpert and then. Lvm basics logical volume manager share session 1 1 18 datavg volume group workvg volume group rootvg hdisk5 hdisk4 hdisk3 hdisk2 hdisk1 hdisk0 on one system, many disks can make up a volume group.
Certain words in this manual are represented in different fonts, styles, and. This can be useful in a situation where you remove a physical volume called devsdf which is part of a volume group and, when you plug it back in, you find that it is now devsdk. All lvm objects are referenced internally by a uuid, which is assigned when you create the object. Popular lvm command examples for linux systems and servers. The entire disk is dedicated to being part of one volume group. Each command supports the v option to display detailed output and the f option to help with scripting. Basic unix commands contents 1 intro 1 2 man accessing online manual pages 1 3 pwd print the working directory 2 4 cd changing directory 2 5 ls listing the contents of directories 2. With just 2 lvm commands the new disk is added to the. Introduction and concepts describes the basic components and defines physical volumes, including volume groups and logical volumes. C shell, bourne shell and korn shell are the most famous shells which are available with most of the unix variants. Howto create physical volumes pv, volumegroups vg and logical volumes lv.