System Management

An administrator must create a 20 GiB logical volume named lv_logs in the existing volume group vg_data, which has enough free extents. Which command BEST meets this requirement?

Show the answer

Correct answerB. lvcreate -L 20G -n lv_logs vg_data

-L sets the size in bytes with a unit suffix, -n sets the logical volume name, and the volume group comes last. Without a suffix, -L 20 means 20 MiB, and -l 20 means 20 extents, not 20 GiB.