Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 5-1. At the command prompt, type find /dev and press Enter to list all of the filenames under the /dev directory. Are there many

Project 5-1.

At the command prompt, type find /dev and press Enter to list all of the filenames under the /dev directory. Are there many files? Next, type du s /dev at the command prompt and press Enter. How large in kilobytes are all files within the /dev directory? Why? At the command prompt, type less /proc/devices and press Enter. Which devices and major numbers are present on your system? What character devices have a major number of 4? How does this compare with what you observed in Step 2? Press q to exit the less utility when finished.

Type exit and press Enter to log out of your shell.

Project 5-2

At the command prompt, type cd and press Enter to return to your home directory and then type umount /mnt and press Enter to unmount your Fedora DVD. At the command prompt, type ls /mnt and press Enter. Is the copy of /etc/hosts available again after the Fedora DVD was unmounted? Type exit and press Enter to log out of your shell.

Project 5-3. In this hands-on project, you work with standard hard disk partitions. You will first create a hard disk partition using the fdisk utility. Next, you create an ext4 filesystem on the partition and mount it to the directory tree. Finally, you use the /etc/fstab file to automatically mount the partition at boot time.

At the command prompt, type umount /newmount and press Enter. Next, type the df -hT command to verify that the filesystem was unmounted correctly. At the command prompt, type mount -a and press Enter. Next, type the df -hT command and press Enter. Is the third partition on your hard disk mounted? Why? Type exit and press Enter to log out of your shell.

Project 5-4. In this hands-on project, you create two new partitions using the GNU Parted utility, and configure the LVM to host an LV using the space within. During this process, you will learn how to create PVs, VGs, and LVs, as well as add storage to extend a VG and LV. Finally, you will edit the /etc/fstab file to ensure that your LV is mounted at boot time.

At the command prompt, type reboot and press Enter. After your Linux system has been loaded, switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user name of root and the password of LINUXrocks!. At the command prompt, type df -hT and press Enter to verify that your LV was automatically mounted at boot time. Type exit and press Enter to log out of your shell.

Project 5-5. In this hands-on project, you view disk usage and check filesystems for errors.

At the command prompt, type tune2fs i 0 /dev/vg00/newdata and press Enter to change the interval for forced checks such that they are avoided. Is this a good idea for the ext4 filesystem? Why? At the command prompt, type mount /dev/vg00/newdata and press Enter. Next, type the df -hT command and press Enter to verify that the filesystem was mounted correctly. Why did the mount command work even though you didnt specify the mount point directory? Type exit and press Enter to log out of your shell.

Project 5-6. In this hands-on project, you enable, set, and view disk quotas for the /newmount filesystem created earlier in Project 5-3.

At the command prompt, type repquota /newmount and press Enter. Are the quota changes you made for the user user1 visible? How many files has user1 stored on this volume so far? What is the total size of those files (in 1KB blocks) and why? At the command prompt, type quota u user1 and press Enter. How do the values compare with those from the previous step? Type exit and press Enter to log out of your shell.

Project 5-7. In this hands-on project, you create a new partition using the cfdisk utility, format and check an XFS filesystem on that partition, as well as mount the filesystem using a GUID at boot time.

At the command prompt, type reboot and press Enter to reboot your machine and ensure that the partition table was read into memory correctly. After your Linux system has been loaded, switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user name of root and the password of LINUXrocks!.

At the command prompt, type df -hT and press Enter. Is your XFS filesystem mounted?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago