There is an issue in the grade script for the storage-review lab.
In the step which checks if the swap space is defined in /etc/fstab, it determines the UUID with "lsblk --fs --noheadings" command and takes the fourth argument returned:
UUID=$(lsblk --fs --noheadings /dev/vdb$PART | awk '{print $4}')
But the fourth argument is not always the UUID.
In case a label was assigned with the swaplabel command, the fourth argument will be this label and thus the grading will fail.
Example:
[root@serverb ~]# swaplabel -L swap1 /dev/vdb2
[root@serverb ~]# lsblk --fs --noheadings /dev/vdb2
vdb2 swap 1 swap1 183d3ce9-f21d-4348-b313-f8636debde52 [SWAP]
@ZEno Please elaborate more about this issue like which course, version , chapter , section, lab, step is this about ?
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.