Hope you had a great weekend. Let's get our heads back in the game with a hands-on challenge that's a cornerstone of the RHCSA exam.
This is a "Mission & a Map" post, and our mission is to master the LVM creation workflow from start to finish.
Your mission is to take a brand new, unformatted disk and make it available to the system as a usable, mounted filesystem. This tests your knowledge of partitioning, physical volumes, volume groups, logical volumes, filesystems, and persistent mounting.
The best resources are the `man` pages for the commands you'll need. This is all you get in the exam!
man fdisk (or gdisk)man pvcreate & man vgcreateman lvcreateman mkfs.xfsman fstabA new 10GB disk, /dev/vdb, has been added to your system. Your task is to perform the following steps. Post the commands for each step!
/dev/vdb that uses all available space. Set the partition type to "Linux LVM"./dev/vdb1).vg_web using this Physical Volume.lv_html from the vg_web group./dev/vg_web/lv_html) with the XFS filesystem./var/www/html./etc/fstab to mount the new XFS volume on /var/www/html using its UUID.lv_html volume to use 100% of the remaining free space in the vg_web group (and grow the filesystem)?Let's see those command sequences!
@TudorRaduta Thanks , excellent concept builder challenge ! One which is equally helpful in real life scenario for a sysadmin !
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.