System Management

What does the command vgcreate -s 16M vg_app /dev/sdb1 do?

Show the answer

Correct answerA. Creates volume group vg_app with a physical extent size of 16 MiB

AWhy this is right: -s sets the physical extent size, the unit in which the volume group allocates space.

BWhy not this: A volume group's size comes from its physical volumes; -s does not cap it.

CWhy not this: vgcreate makes a volume group; logical volumes are made with lvcreate.

DWhy not this: The metadata area size is set at pvcreate with --metadatasize, not by vgcreate -s.

The -s option of vgcreate sets the physical extent size, the allocation unit for the volume group. The default is 4 MiB when -s is omitted. The extent size is not taken from the disk's sector size.