LPI Exam Questions

The correct command sequence to create logical volumes on a Linux system is:

The correct command sequence to create logical volumes on a Linux system is:

A.
lvcreate, pvcreate, vgcreate, mount, mke2fs

B.
pvcreate, vgcreate, lvcreate, mke2fs, mount

C.
vgcreate, lvcreate, pvcreate, mount, mke2fs

D.
mke2fs, pvcreate, vgcreate, lvcreate, mount

E.
pvcreate, lvcreate, vgcreate, mount, mke2fs

Explanation:

See http://www.tldp.org/HOWTO/LVM-HOWTO/anatomy.html
You need to create the Physical Volumes first, then the Volume Group (consisting of PVs), then
the Logical Volumes, which you need to format and mount.