CompTIA Linux+ XK0-006 (V8) Practice Question

A Linux server's /data directory, which is mounted on an XFS-formatted logical volume data_lv within the data_vg volume group, is running low on disk space. A new physical volume has been successfully added to the data_vg volume group, providing an additional 100GB of free space. Which of the following commands should the administrator run in sequence to extend the logical volume by 100GB and resize the filesystem to utilize the newly allocated space?

    1. lvextend -L +100G /dev/data_vg/data_lv
    2. resize2fs /dev/data_vg/data_lv
    1. lvextend -L +100G /dev/data_vg/data_lv
    2. xfs_growfs /data
    1. xfs_growfs /data
    2. lvextend -L +100G /dev/data_vg/data_lv
    1. vgextend data_vg /dev/sdc
    2. xfs_repair /dev/data_vg/data_lv
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot