mkvg 명령어 (AIX 5.3·6.1)

핵심 정리

  • 디스크(물리 볼륨)로 새 볼륨 그룹을 만들고 바로 varyon합니다: mkvg -y datavg hdisk2 hdisk3.
  • 유형은 세 가지입니다. 기본(최대 PV 32, LV 255), -B big(PV 128, LV 512), -S scalable(PV 1024, LV 2564096, PP 32K2048K). 새로 만들 때는 보통 -S를 씁니다.
  • 기본·big 유형은 PV당 PP가 1016개로 제한되므로 큰 디스크면 -s(PP 크기, MB, 2의 거듭제곱)를 크게 하거나 -t factor를 줍니다. scalable은 이 제한이 없습니다.
  • -n을 주면 부팅할 때 자동으로 varyon하지 않습니다. 클러스터(PowerHA)용 동시 모드 볼륨 그룹은 -C로 만듭니다.
  • 다른 볼륨 그룹에 속했던 디스크는 -f로 강제할 수 있지만 기존 데이터를 잃습니다. 활성 볼륨 그룹의 디스크는 쓸 수 없습니다.
항목 내용
버전 AIX 5.3, AIX 6.1 (6.1에서 -M, -N, -O, -p, -r, -X와 4KB 블록 디스크 참고가 더해지고, 5.3의 -x가 빠짐)
원문 IBM Commands Reference — 5.3 Volume 3, 6.1 Volume 3
파일 /usr/sbin/mkvg
관련 명령어 lsvg, chvg, extendvg, varyonvg, importvg, mklv

목적

볼륨 그룹을 만듭니다.

영어 원문

Creates a volume group.

구문

text
mkvg [ -B ] [ -t factor ] [ -S [ -v LogicalVolumes ] [ -P Partitions ] ] [ -C ] [ -G ] [ -f ] [ -i ] [ -I ] [ -c ] [ -X none | SSD ] [ -L LTGSize ] [ -n ] [ -s Size ] [ -V MajorNumber ] [ -y VolumeGroup ] [ -M y | s ] [ -p MirrorPool ] [ -O y | n ] [ -N o | n ] [ -r y | n ] PhysicalVolume ...

5.3의 구문은 -X, -M, -p, -O, -N, -r 대신 [ -x ]가 있습니다.

설명

mkvg 명령은 PhysicalVolume 매개변수로 준 물리 볼륨으로 새 볼륨 그룹을 만듭니다. 만든 뒤에는 varyonvg 명령으로 새 볼륨 그룹을 자동으로 켭니다. 다만 -C로 만들면 자동으로 켜지 않으므로 사용자가 직접 varyon해야 합니다.

기본으로 논리 볼륨 255개와 물리 볼륨(디스크) 32개를 담을 수 있는 볼륨 그룹을 만듭니다. -B나 -S로 이 한도를 늘릴 수 있습니다.

명령줄에서 파티션 크기(-s)와 factor(-t)를 주지 않으면 알맞은 값을 정하려 합니다.

참고:

  1. 물리 볼륨이 이미 다른 볼륨 그룹에 속하는지 확인합니다. varyon된 볼륨 그룹에 속하면 만들지 않고 끝냅니다. varyon되지 않은 볼륨 그룹에 속하면 강제 옵션(-f)을 써야 합니다. 이때 물리 볼륨의 이전 내용을 잃으므로 조심해야 합니다.
  2. root 권한이 있거나 system 그룹 구성원이어야 합니다.
  3. 기본 유형(최대 PV 32)과 big 유형(최대 PV 128)은 PV당 물리 파티션이 1016개로 제한됩니다. -s로 PP 크기를 줄 때 이 한도를 넘지 않을 만큼 크게 해야 합니다. 예를 들어 10GB 디스크로 만들려면 PP 크기가 16MB 이상이어야 하고, factor(-t) 2를 쓰면 8MB도 됩니다. factor를 주면 볼륨 그룹에 넣을 수 있는 최대 PV 수는 MaxPVs/factor입니다.
  4. 볼륨 그룹을 만들면 운영 체제가 자동으로 varyon합니다. 그러나 -C로 만들면 Concurrent Capable 볼륨 그룹을 만든 뒤 자동으로 켜지 않고, 비동시 모드나 동시 모드로 직접 varyonvg하라고 알립니다.
  5. 디스크가 다른 회사의 볼륨 관리자가 관리하는 것으로 표시되어 있으면 볼륨 그룹에 넣지 못합니다. 무시하고 그 표시를 지우려면 chpv -C HDiskName을 씁니다.
  6. -c나 -C를 주면 Enhanced Concurrent Capable 볼륨 그룹만 만듭니다.
  7. (6.1) 4KB 블록 물리 볼륨과 다른 블록 크기의 물리 볼륨을 섞으면 안 됩니다. 볼륨 그룹의 모든 PV는 블록 크기가 같아야 합니다. 4KB 블록 PV로 만든 볼륨 그룹은 4KB 블록 PV를 지원하지 않는 AIX에서 가져올(import) 수 없습니다.
  8. (6.1) 4KB 블록 PV로 만든 볼륨 그룹에서는 불량 블록 재배치 정책을 지원하지 않습니다.

VGDA 공간이 크게 늘었기 때문에 VGDA를 갱신하는 작업(논리 볼륨 생성·변경, 물리 볼륨 추가 등)이 훨씬 오래 걸릴 수 있습니다.

5.3 문서에는 "-B로 만든 볼륨 그룹은 AIX 4.3.1 이하로, -S로 만든 것은 AIX 5.2 이하로 가져올 수 없다"는 참고가 있습니다.

SMIT 빠른 경로 smit mkvg로도 실행할 수 있습니다.

영어 원문

The mkvg command creates a new volume group, by using the physical volumes that are represented by the physicalvolume parameter. After creating the volume group, the mkvg command automatically varies on the new volume group by using the varyonvg command. The exception to this fact is when the volume group is created with the -C flag. When the volume group is successfully created, the volume group is not varied on automatically. Instead, the user must manually varyon the volume group.

The mkvg command by default creates a volume group that can accommodate 255 logical volumes and 32 physical volumes (disks). These limits can be extended by specifying either the -B or -S flag.

The mkvg command attempts to determine a proper partition size (-s) and factor (-t) if none is specified on the command line.

Note:

  1. The physical volume is checked to verify that it is not already in another volume group. If the mkvg command determines that the physical volume belongs to a volume group that is varied on, it exits without creating the volume group. If the mkvg command determines the physical volume belongs to a volume group that is not varied on, the force option (-f) must be used to create the volume group. When using the force option, the previous contents of the physical volume are lost, so the user must use caution when using the force option.

  2. To use this command, you must either have root user authority or be a member of the system group.

  3. When creating the default volume group type (with a maximum of 32 PVs) or the big volume group type (with a maximum of 128 PVs), there is a limitation of 1016 physical partitions per PV. When specifying the physical partition size (-s), make sure that the value is set large enough so that 1016 physical partitions per PV limit is not violated. For example, a partition size of at least 16 MB would be needed to create a volume group with a 10-GB disk. Using a factor size (-t) of 2, a smaller partition size of 8 MB can be used. If a factor value is specified, the maximum number of PVs that can be included in the volume group is MaxPVs/factor.

  4. Whenever you create a volume group, the operating system automatically does a varyon. However, if you create a volume group with the -C flag, the system does not autovaryon the volume group at the end of the Concurrent Capable volume group creation. Instead, the mkvg command notifies you to manually varyonvg the volume group in either non-concurrent or concurrent mode.

  5. This command fails to add a disk to the volume group if the disk indicates that it is managed by a third-party volume manager. To override and clear the disk of the third-party volume manager use chpv -C HDiskName.

  6. Only Enhanced Concurrent Capable volume groups are created when the -c or -C flags are specified.

  7. You must not mix 4 KB block physical volumes (PV) with PV blocks of other sizes. The block size of all PVs in the volume group must be the same. You can not import the volume group that is created with 4 KB block PVs on a version of AIX that does not support 4 KB block PVs.

  8. Bad block relocation policy of a volume group is not supported on a volume group that is created with 4 KB block PVs.

Because the VGDA space has been increased substantially, every VGDA update operation (creating a logical volume, changing a logical volume, adding a physical volume, and so on) might take considerably longer to run.

You can use the System Management Interface Tool (SMIT) smit mkvg fast path to run this command.

플래그

플래그 설명
-B big 유형 볼륨 그룹을 만듭니다. 물리 볼륨 128개와 논리 볼륨 512개까지 담습니다. VGDA 공간이 크게 늘어 VGDA 갱신 작업이 오래 걸릴 수 있습니다.
-c -C와 같습니다. Enhanced Concurrent Capable 볼륨 그룹만 만듭니다.
-C Enhanced Concurrent Capable 볼륨 그룹을 만듭니다. PowerHA SystemMirror ES(5.3 문서는 HACMP ES)에서만 쓰며, 그 제품을 쓰지 않는 시스템에서는 쓸 수 없습니다. Enhanced Concurrent 볼륨 그룹은 PowerHA SystemMirror ES와 함께 제공되는 Group Services를 쓰며, 이 모드로 활성화하기 전에 구성해야 합니다. 64비트 커널에서는 Enhanced Concurrent Capable만 지원하고 (기존) Concurrent Capable은 지원하지 않습니다. (6.1) Enhanced Concurrent Capable 볼륨 그룹은 다중 노드 varyon 보호가 켜집니다(-N 참고).
-f 지정한 물리 볼륨이 장치 구성 데이터베이스의 다른 볼륨 그룹이나 활성 볼륨 그룹에 속하지 않으면 강제로 만듭니다.
-G -B와 같습니다.
-i PhysicalVolume 매개변수를 표준 입력에서 읽습니다.
-I AIX 5.1과 5.2로 가져갈 수 있는 볼륨 그룹을 만듭니다. LTG 크기는 AIX 5.3 이전에 만든 볼륨 그룹처럼 동작합니다. 나중에 5.1·5.2가 지원하는 것보다 큰 strip 크기(strip 크기 × 어레이 디스크 수 = stripe 크기)로 논리 볼륨을 만들면 5.1·5.2로 다시 가져가는 것은 지원하지 않습니다.
-L LTGSize AIX 5.3에서 -I 없이 만든 볼륨 그룹에는 무시하며, varyon할 때 LTG 크기를 디스크들의 공통 최대 전송 크기로 정합니다. -I로 만들었거나 5.3 이전에 만든 볼륨 그룹은 LTG 크기를 이 값(128, 256, 512, 1024KB)으로 정하며, 모든 디스크의 최대 전송 크기 이하여야 합니다. 기본 128KB.
-M y, s (6.1) 볼륨 그룹의 미러 풀 엄격성을 켭니다. y는 모든 논리 볼륨이 미러 풀을 써야 함, s는 super-strict 미러 풀을 강제함.
-N o, n (6.1) o는 여러 노드가 동시에 비동시 모드로 varyon할 수 있는 볼륨 그룹을 만듭니다(기본). n은 그렇게 할 수 없는 볼륨 그룹을 만들며, -N을 지원하지 않는 AIX로는 가져갈 수 없게 됩니다.
-n 시스템을 다시 시작할 때 자동으로 쓸 수 있게 하지 않습니다. 기본은 자동으로 활성화합니다.
-O y, n (6.1) 논리 볼륨의 무한 재시도 옵션. n은 실패한 I/O를 다시 시도하지 않음(기본), y는 성공할 때까지 다시 시도함. GLVM(Geographic Logical Volume Manager) 환경에서는 지원하지 않습니다.
-p MirrorPool (6.1) 추가하는 물리 볼륨을 모두 지정한 미러 풀에 넣습니다. 미러 풀을 켠 볼륨 그룹은 미러 풀을 지원하지 않는 AIX로 가져갈 수 없습니다.
-P Partitions 볼륨 그룹의 전체 파티션 수(1024 단위). 32, 64, 128, 256, 512, 768, 1024, 2048을 쓸 수 있고 기본 32(32768개)입니다. chvg로 최대 2048(2097152개)까지 늘릴 수 있습니다. -S와 함께만 씁니다.
-r y, n (6.1) Critical VG 옵션. y면 I/O 요청이 실패할 때 실패를 돌려주기 전에 LVM 메타데이터를 써서 디스크 상태를 확인합니다. rootvg에 켜고 쿼럼 디스크(쿼럼을 껐으면 모든 디스크)에 접근하지 못하면 볼륨 그룹을 오프라인으로 만드는 대신 노드가 멈추고 콘솔에 메시지가 나옵니다. n은 끔(기본).
-S scalable 유형 볼륨 그룹을 만듭니다. 기본으로 물리 볼륨 1024개, 논리 볼륨 256개, 물리 파티션 32768개까지 담습니다. 논리 볼륨은 -v, 파티션은 -P로 늘립니다. maxlvs와 maxpps를 기본값보다 늘리면 VGDA가 비례해 커지고 줄일 수 없으므로 필요한 만큼만 늘립니다. VGDA가 커질수록 VGDA 갱신 작업이 오래 걸립니다.
-s Size 물리 파티션 크기(MB). 1(1MB)부터 131072(128GB)까지이며 2의 거듭제곱이어야 합니다. 32·128 PV 볼륨 그룹의 기본값은 PV당 1016개 한도를 지키는 가장 작은 값, scalable 볼륨 그룹은 PV당 2040개를 담을 수 있는 가장 작은 값입니다.
-t factor PV당 물리 파티션 수 한도를 factor × 1016으로 바꿉니다. 32 PV 볼륨 그룹은 116, 128 PV 볼륨 그룹은 164입니다. 기본은 factor × 1016 한도를 지키는 가장 작은 값이며, 최대 PV 수는 MaxPVs/factor가 됩니다. -S와 함께 주면 무시합니다.
-V MajorNumber 만들 볼륨 그룹의 주 번호.
-v LogicalVolumes 만들 수 있는 논리 볼륨 수. 256, 512, 1024, 2048, 4096이며 기본 256. chvg로 4096까지 늘릴 수 있습니다. -S와 함께만 쓰며, 마지막 논리 볼륨은 메타데이터용으로 예약됩니다.
-X none, SSD (6.1) PV 유형 제한. none(기본)은 어떤 디스크든 쓸 수 있고, SSD는 모든 PV가 SSD여야 합니다. 켜면 모든 PV가 조건에 맞는지 확인하며, 이 제한을 지원하지 않는 AIX로는 가져갈 수 없게 됩니다.
-y VolumeGroup 자동으로 만든 이름 대신 쓸 볼륨 그룹 이름. 시스템 전체에서 고유하며 115자이고, 장치 구성 데이터베이스의 PdDv 클래스에 다른 장치용으로 정의된 접두어로 시작할 수 없습니다. 만든 이름은 표준 출력으로 나옵니다. AZ, az, 09, 밑줄(_), 빼기(-), 마침표(.)만 쓸 수 있습니다.

5.3에는 -x가 있었지만 무시하는 플래그였습니다(AIX 5.2부터 Enhanced Concurrent Capable만 만들기 때문).

영어 원문
  • -B — Creates a big type of volume group. This type can accommodate up to 128 physical volumes and 512 logical volumes. Note: Because the VGDA space has been increased substantially, every VGDA update operation (creating a logical volume, changing a logical volume, adding a physical volume, and so on) might take considerably longer to run.
  • -c — Same as -C flag. Only Enhanced Concurrent Capable volume groups are created.
  • -C — Creates an Enhanced Concurrent Capable volume group. Only use the -C flag with the PowerHA® SystemMirror® enhanced scalability (ES). It is not usable on volume groups and systems that do not use the PowerHA SystemMirror ES product. Use this flag to create an Enhanced Concurrent Capable volume group. Note: 1. Enhanced Concurrent volume groups use Group Services. Group Services ships with PowerHA SystemMirror ES and must be configured before activating a volume group in this mode. 2. Only Enhanced Concurrent Capable volume groups are supported when running with a 64-bit kernel. Concurrent Capable volume groups are not supported when running with a 64-bit kernel. 3. Enhanced Concurrent Capable volume groups have multinode varyon protection enabled. See the -N flag for details about multinode varyon protection.
  • -f — Forces the volume group to be created on the specified physical volume unless the physical volume is part of another volume group in the Device Configuration Database or a volume group that is active.
  • -G — Same as -B flag.
  • -i — Reads the PhysicalVolume parameter from standard input.
  • -I — Creates a volume group that can be imported to AIX 5.1 and AIX 5.2. The LTGSize behaves as if the volume group had been created before AIX 5.3. If the logical volumes are later created with a strip size that is larger than the supported strip size on AIX 5.1 or AIX 5.2 (a strip size that is multiplied by the number of disks in an array equals the stripe size), then attempting to import the volume group back to AIX 5.1 or AIX 5.2 is not supported.
  • -L ltgsize — For volume groups created on AIX 5.3 without the -I flag, the -L flag is ignored. When the volume group is varied on the logical track group size is set to the common maximum transfer size of the disks. For volume groups created on AIX 5.3 with the -I flag or for volume groups that are created before AIX 5.3, the logical track group size is set to the ltgsize, which must be 128, 256, 512, or 1024. In addition, it must be less than or equal to the maximum transfer size of all disks in the volume group. The default ltgsize is 128-KB.
  • -M y|s — Enables mirror pool strictness for the volume group. y Mirror pools must be used on each logical volume in the volume group. s Super-strict mirror pools are enforced on this volume group.
  • -N o|n — o Creates a volume group that is allowed to varyon in non-concurrent mode in more than one node at the same time. This is the default value. n Creates a volume group that is not allowed to varyon in non-concurrent mode in more than one node at the same time. This volume group can no longer be imported on a version of the AIX operating system that does not support the -N flag.
  • -n — Specifies that the volume group is not automatically available during a system restart. The default value activates the volume group automatically.
  • -O y / n — Enables the infinite retry option of the logical volume. n The infinite retry option of the logical volume is not enabled. The failing I/O of the logical volume is not retried. This is the default value. y The infinite retry option of the logical volume is enabled. The failed I/O request is retried until it is successful. Note: The infinite retry option is not supported in the Geographic Logical Volume Manager (GLVM) environment.
  • -p mirrorpool — Assigns each of the physical volumes that are being added to the specified mirror pool. After mirror pools are enabled in a volume group, the volume group can no longer be imported into a version of AIX that does not support mirror pools.
  • -P partitions — Total number of partitions in the volume group, where the Partitions variable is represented in units of 1024 partitions. Valid values are 32, 64, 128, 256, 512 768, 1024 and 2048. The default is 32 k (32768 partitions). The chvg command can be used to increase the number of partitions up to the maximum of 2048 k (2097152 partitions). This option is only valid with the -S option.
  • -r y|n — Enables the Critical VG option of the volume group. The -r flag can have the following values: y The Critical VG option of the volume group is enabled. If the volume group is created with the Critical VG option turned on, any I/O request failure starts writing the logical volume manager (LVM) metadata to check the state of the disk before returning the I/O failure. If the rootvg volume group is set to the Critical VG option and if the volume group looses access to quorum set of disks (or all disks if quorum is disabled), instead of forcing the volume group to an offline state, the node crashes and a message is displayed on the console. n The Critical VG option of the volume group is not enabled. It is the default value.
  • -S — Creates a scalable type of volume group. By default, this volume group can accommodate up to 1024 physical volumes, 256 logical volumes, and 32768 physical partitions. To increase the number of logical volumes, use the -v option. To increase the number of physical partitions, use the -P option. Note: Increasing maxlvs and maxpps beyond the default values for a scalable volume group can significantly increase the size of the VGDA proportionately. The maxlvs and maxpps values must be increased only as needed because they cannot be decreased. Meanwhile, as the VGDA space increases all VGDA update operations (creating a logical volume, changing a logical volume, adding a physical volume, and so on) can take longer and longer to run.
  • -s Size — Sets the number of megabytes in each physical partition, where the Size variable is expressed in units of megabytes from 1 (1 MB) through 131072 (128 GB). The Size variable must be equal to a power of 2 (example 1, 2, 4, 8). The default value for 32 and 128 PV volume groups is the lowest value to remain within the limitation of 1016 physical partitions per PV. The default value for scalable volume groups is the lowest value to accommodate 2040 physical partitions per PV.
  • -t factor — Changes the limit of the number of physical partitions per physical volume, which is specified by factor. The factor must be 1 - 16 for 32 PV volume groups and 1 and 64 for 128 PV volume groups. The maximum number of physical partitions per physical volume for this volume group changes to factor x 1016. The default is the lowest value to remain within the physical partition limit of factor x 1016. The maximum number of PVs that can be included in the volume group is MaxPVs/factor. The -t option is ignored with the -S option.
  • -V majornumber — Specifies the major number of the volume group that is created.
  • -v — Number of logical volumes that can be created. Valid values are 256, 512, 1024, 2048 and 4096. The default is 256. The chvg command can be used to increase the number of logical volumes up to the maximum of 4096. This option is only valid with the -S option. The last logical volume is reserved for metadata.
  • -Xnone``|SSD — Enables PV type restriction for the volume group. This option allows a volume group to be created with a specific restriction based on the PV type. "none" is the default value. "SSD" requires that all PVs in the volume group must be SSD media type PVs. When the PV restriction is turned on, the mkvg command verifies that all PVs meet this condition. Once a PV restriction is turned on, the volume group can no longer be imported on a version of AIX that does not support PV type restrictions. none As an option, there is no PV restriction. volume group can be formed on any disk type. This is the default value. SSD As an option, volume group is restricted to SSD PV types. Disks that are listed in physical volume argument must be of type SSD.
  • -y volumegroup — Specifies the volume group name rather than having the name generated automatically. Volume group names must be unique system wide and can range from 1 to 15 characters. The name cannot begin with a prefix already defined in the PdDv class in the Device Configuration database for other devices. The volume group name that is created is sent to standard output. The volume group name can only contain only the following characters: "A" through "Z," "a" through "z," "0" through "9," or "_" (the underscore), "-" (the minus sign), or "." (the period). All other characters are considered invalid.

보안

(6.1) RBAC와 Trusted AIX 사용자: 이 명령은 특권 작업을 할 수 있으며 특권 사용자만 할 수 있습니다. 권한과 특권은 lssecattr 명령이나 getcmdattr 하위 명령으로 봅니다.

영어 원문

Note:

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

예제

명령 하는 일
mkvg -s 1 hdisk3 hdisk5 hdisk6 PP 크기 1MB로 디스크 3개짜리 볼륨 그룹을 만듦. 이름은 자동으로 정해져 표시되며, 시스템을 다시 시작할 때 쓸 수 있음
mkvg -s 2 -t 2 -y newvg hdisk1 PP 크기 2MB, PV당 최대 PP 2032개인 newvg를 만듦. 따라서 hdisk1은 4064MB(2032 × 2)보다 클 수 없음
mkvg -S -v 2048 hdisk6 물리 볼륨 1024개, 논리 볼륨 2048개까지 담는 볼륨 그룹을 만듦

자주 쓰는 형태:

bash
lspv                                   # None인 빈 디스크 확인
mkvg -S -s 64 -y datavg hdisk2 hdisk3  # scalable, PP 64MB
lsvg datavg
영어 원문
  1. To create a volume group that contains 3 physical volumes with partition size set to 1 megabyte, type:
mkvg -s 1 hdisk3 hdisk5 hdisk6

The volume group is created with an automatically generated name, which is displayed and available at system restart time. mkvg -s 2 -t 2 -y newvg hdisk1 The volume group newvg is created with a physical partition size of 2-MB and maximum number of physical partitions per physical volume of 2032. The configuration mentioned in the example means that the size of hdisk1 can not be larger than 4064-MB (2032*2)

  1. To create a volume group that can accommodate a maximum of 1024 physical volumes and 2048 logical volumes, type: mkvg -S -v 2048 hdisk6

파일

파일 설명
/usr/sbin mkvg 명령이 있는 디렉터리
/tmp 명령이 실행되는 동안 임시 파일을 두는 디렉터리
/dev 볼륨 그룹의 문자 장치 항목을 만드는 디렉터리
영어 원문
  • /usr/sbin — Directory where the mkvg command resides.
  • /tmp — Directory where the temporary files are stored while the command is running.
  • /dev — Directory where the character device entry for the volume group is created.

Related reference:

  • lsvg Command

Related information:

  • chvg command
  • varyonvg command
  • Logical volume storage
  • PowerHA SystemMirror Administration Guide

리눅스(GNU)와 다른 점

리눅스 LVM2도 물리 볼륨(PV), 볼륨 그룹(VG), 논리 볼륨(LV) 구조가 같지만 명령 이름이 다릅니다. AIX lspv·lsvg·lslv는 pvs/pvdisplay, vgs/vgdisplay, lvs/lvdisplay에, mkvg·extendvg·reducevg는 vgcreate·vgextend·vgreduce에, mklv·extendlv·rmlv는 lvcreate·lvextend·lvremove에, varyonvg·varyoffvg는 vgchange -ay/-an에, importvg·exportvg는 vgimport·vgexport에, migratepv는 pvmove에 해당합니다. AIX의 물리 파티션(PP)은 리눅스의 물리 익스텐트(PE)이고, 미러는 lvcreate --type raid1이나 lvconvert -m1로 만듭니다. 리눅스는 디스크마다 PVID 대신 PV UUID를 쓰며, 파일 시스템은 따로 mkfs로 만듭니다. mkvg에 해당하는 것은 pvcreate /dev/sdb 뒤 vgcreate -s 64M datavg /dev/sdb입니다. 리눅스 LVM2에는 기본·big·scalable 같은 유형 구분이 없습니다.