Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 18 of 33
Free Preview · 33 of 108 · questions 1–33 of 108 are free. Sign up free to sync your progress across devices.
Hotspot Scenario
Select the appropriate option to complete the statement. Click Check Answer below to see the marked solution.
Hotspot Solution:
sudo su lsblk -psf pvcreate /dev/sd[] vgcreate -s 8M vg1 /dev/sd[] lvcreate -l 50 -n lvshare vg1 lsblk -psf mkfs.ext4 /dev/mapper/vg1-lvshare mkdir -p /mnt/data echo '/dev/mapper/vg1-lvshare /mnt/data ext4 defaults 0 0' >> /etc/fstab systemctl daemon-reload mount -a
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Which means we do not need to define anything special setting vgcreate to 8M and lvcreate extends to 50 is doing what question asks for.
We need to set partition size between 380M and 400M
50 extends of 8MB each will be close to 400MB.