Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Terminology is important for understanding storage management in Linux. Answer t

ID: 3757501 • Letter: T

Question

Terminology is important for understanding storage management in Linux. Answer the following questions regarding storage.

How are locally connect drives represented in Linux? Provide a screen shot of your local directory for the account in which you’re currently logged in.

What do sda1, sda2, and sda3 represent in a Linux directory structure?

List 2 commands that would show you storage-related information about the storage devices named on your systems.

What the difference between blkid and lsblk?

What is the difference between a named and a UUID for a device?

What are the some of the different device types that are available in Linux?

Install and run gparted. Toggle the device info from the View menu and screen shot it.

Explain swap space in Linux.

Which command would you use to create an ext2 file system?

What are ACLs useful for in Linux?

Create a new file.

Check the file permissions on the new file. Screen shot it.

Add another user to the new file permissions. Rerun getfacl on the file and screen shot the new permissions.

Run a ls –l. What is the “+” in the last column of the permissions indicate?

What is a quota?

Install the quota package. Screen shot it.

Mount quotas on /dev/sda1 (you should have that device or it may be /dev/hda1 on old hardware.)

Use quotacheck to verify the quota is operational on your device. What are you looking for to verify quotas are functional?

Edquota one of your users with a soft limit of 500m and a hard limit of 1G.

Describe the difference of soft and hard quotas for blocks and inodes.

Turn on your quota. Screen shot it.

Use fallocate to create a 500M file named testfile1.txt

Run quota –s and take a look at your limits? Are you over the soft limit? How do you know?

Run fallocate and create a 700M file named testfile2.txt. What happened? Screen shot it.

Explanation / Answer

Please Note: As per the Chegg Answering Guidelines, I am supposed to answer the first question. I have answered the first 4 questions here. For receiving the answers to the rest of the Questions, please Re-post for the other Questions.

Answers)

How are locally connect drives represented in Linux? Provide a screen shot of your local directory for the account in which you’re currently logged in.

Locally connected physical drives are represented in Linux using :

/dev/sda - would represent the SCSI drive with ID of 0, i.e. the first SCSI disk

/dev/sdb - would represent the second SCSI drive

/dev/scd0 or /dev/sr0 - for the connected CD-ROM

What do sda1, sda2, and sda3 represent in a Linux directory structure?

/dev/sda1 - /dev/sda would represent the SCSI drive with ID of 0. /dev/sda 1, 2, 3 i.e. sda1, sda2, and sda3 represent the first, second and third partitions of the first SCSI disk drive.

List 2 commands that would show you storage-related information about the storage devices named on your systems.

We can use the following 2 commands to show storage-related information about the storage devices named on your systems:

fdisk command

df command

What the difference between blkid and lsblk?

blkid is a Linux utility which on usage displays the information about the available block devices which are attached to the system. blkid reads and displays information from the sysfs filesystem.

lsblk in Linux is also a utility to display a list of all information about the available block devices attached. lsblk command is used to read the information from the sysfs filesystem and udev db and display the information.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote