Professional Documents
Culture Documents
Rhel 8 Mock Paper II
Rhel 8 Mock Paper II
In the second disk (vdb) you will have one primary partition. Most probably it will be lvm partition.
There will another disk (vdc) and that is a empty disk.
1. Change the logical volume capacity named myvo1 from 190M to 230M. And the size of the floating range
should set between 217 and 243. (This logical volume has been mounted in advance.
# vgdisplay (Check the capacity of vg, if the capacity is not enough, need to create pv,vgextend , lvex
# lvdisplay (Check lv)
# lvextend -L 230MB /dev/vg2/myvol
# resize2fs /dev/vg2/myvol or xfs_growfs /dev/vg2/myvol(if using xfs file system)
# (Verify)
2. Create a volume group named developer, and set extend size as 32MiB. And create a logical volume
containing 20 extends and name engineering, make it as xfs file system, and mounted automatically under
/mnt/engineering.
3. Create a 756MiB swap partition which take effect automatically at boot-start, and it should not affect the
original swap partition.
4. Create a VDO named myvdo in /dev/vdc disk. Logical size should be 50G format with xfs
#yum list tuned (if it isn't appear the package install the the package “yum install tuned”)
#systemctl enable –-now tuned
#tuned-adm recommend
#tuned-adm profile virtual-guest (above command output)
#tuned-adm active (verify)