Question: Previous Access Student Resources Lab: Mount File Systems and Find Files Note lab. In this review, you mount a file system and locate files based
Previous
Access Student Resources
Lab: Mount File Systems and Find Files
Note lab.
In this review, you mount a file system and locate files based on different criteria.
Outcomes
Mount an existing file system.
Find files based on their file name, permissions, and size.
If you did not reset your workstation and server machines at the end of the last chapter, then save any work that you want to keep from earlier exercises on those machines, and reset them now.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command prepares your environment and ensures that all required resources are available.
studenteworkstation lab start rhcsarhreview
Specifications
Log in to the serverb machine as the student user and switch to the root user.
Identify the unmounted block device that contains an XFS file system on the serverb machine. Mount the block device on the reviewdisk directory.
Locate the reviewpath file. Create the reviewdiskreviewpath.txt file that contains a single line with the absolute path to the reviewpath file.
Locate all the files that the contractor user and the contractor group own. The files must also have the octal permissions. Save the list of these files in the reviewdiskreviewperms. txt file.
Locate all files with a size of bytes. Save the absolute paths of these files in the reviewdiskreviewsize.txt file.
Log in to the serverb machine as the student user and switch to the root user.
studenteworkstation $ ssh studenteserverb
output omitted... student@serverb sudo i
student@serverb sudo sudo password for student: student
rooteserverb
Identify the unmounted block device that contains an XFS file system on the serverb machine. Mount the block device on the reviewdisk directory,
Identify the unmounted block device that contains the xFs file system.
root@serverb # sblk fs NAME FSTYPE LABEL UUID
NAME FSTYPE LABEL UUID
daa
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
