{"id":447,"date":"2024-04-21T16:44:36","date_gmt":"2024-04-21T16:44:36","guid":{"rendered":"https:\/\/sites.wp.odu.edu\/odu-student-template\/?p=447"},"modified":"2024-04-21T16:44:36","modified_gmt":"2024-04-21T16:44:36","slug":"assignment-7","status":"publish","type":"post","link":"https:\/\/sites.wp.odu.edu\/odu-student-template\/2024\/04\/21\/assignment-7\/","title":{"rendered":"Assignment 7"},"content":{"rendered":"\n<p>Part I\u2013 Check your file system (30 points).<br>Step 1. Execute the ls \/dev\/sd* command to see the current hard disk devices. [use sudo]<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"277\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-19.png\" alt=\"\" class=\"wp-image-472\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-19.png 599w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-19-300x139.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/figure>\n\n\n\n<p>Step 2. Execute the fdisk -l command to list the current hard disk partitions. [use sudo]<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"981\" height=\"524\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-20.png\" alt=\"\" class=\"wp-image-473\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-20.png 981w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-20-300x160.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-20-768x410.png 768w\" sizes=\"(max-width: 981px) 100vw, 981px\" \/><\/a><\/figure>\n\n\n\n<p>Step 3. Execute the parted -l command to list the current hard disk partition table. [use sudo]<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-21.png\"><img loading=\"lazy\" decoding=\"async\" width=\"861\" height=\"526\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-21.png\" alt=\"\" class=\"wp-image-474\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-21.png 861w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-21-300x183.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-21-768x469.png 768w\" sizes=\"(max-width: 861px) 100vw, 861px\" \/><\/a><\/figure>\n\n\n\n<p>Part II\u2013 Create a new virtual disk (30 points)<br>Step 1. In the VM setting, attach a new virtual hard disk with the size of 200 MB to our current Linux VM. Name it as \u201cyour_midas.vdi\u201d [ HINT: Please refer to the slides and discussion during the class for week 7]<br>Step 2. Load this virtual hard disk to your virtual machine.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-22.png\"><img loading=\"lazy\" decoding=\"async\" width=\"194\" height=\"236\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-22.png\" alt=\"\" class=\"wp-image-475\" \/><\/a><\/figure>\n\n\n\n<p>Step 3. Repeat the steps in Part I and highlight the differences after adding the new virtual hard disk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"258\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-23.png\" alt=\"\" class=\"wp-image-476\" style=\"width:840px;height:auto\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-23.png 840w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-23-300x92.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-23-768x236.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-24.png\"><img loading=\"lazy\" decoding=\"async\" width=\"973\" height=\"736\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-24.png\" alt=\"\" class=\"wp-image-477\" style=\"width:840px;height:auto\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-24.png 973w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-24-300x227.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-24-768x581.png 768w\" sizes=\"(max-width: 973px) 100vw, 973px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-25.png\"><img loading=\"lazy\" decoding=\"async\" width=\"865\" height=\"718\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-25.png\" alt=\"\" class=\"wp-image-478\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-25.png 865w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-25-300x249.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-25-768x637.png 768w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/a><\/figure>\n\n\n\n<p>Part III\u2013 Creating Partitions and Filesystems (60 points)<br>Step 1. Use the fdisk command to create a new primary partition on the new virtual hard disk attached in Part II.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-26.png\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"319\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-26.png\" alt=\"\" class=\"wp-image-479\" style=\"width:840px;height:auto\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-26.png 921w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-26-300x104.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-26-768x266.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-27.png\"><img loading=\"lazy\" decoding=\"async\" width=\"922\" height=\"121\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-27.png\" alt=\"\" class=\"wp-image-480\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-27.png 922w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-27-300x39.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-27-768x101.png 768w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/a><\/figure>\n\n\n\n<p>Step 2. Use the correct command to create an ext4 filesystem on the new partition.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-28.png\"><img loading=\"lazy\" decoding=\"async\" width=\"869\" height=\"486\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-28.png\" alt=\"\" class=\"wp-image-481\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-28.png 869w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-28-300x168.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-28-768x430.png 768w\" sizes=\"(max-width: 869px) 100vw, 869px\" \/><\/a><\/figure>\n\n\n\n<p>Step 3. Repeat the steps in Part I and highlight the differences.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-29.png\"><img loading=\"lazy\" decoding=\"async\" width=\"851\" height=\"198\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-29.png\" alt=\"\" class=\"wp-image-482\" style=\"width:840px;height:auto\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-29.png 851w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-29-300x70.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-29-768x179.png 768w\" sizes=\"(max-width: 851px) 100vw, 851px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-30.png\"><img loading=\"lazy\" decoding=\"async\" width=\"982\" height=\"846\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-30.png\" alt=\"\" class=\"wp-image-483\" style=\"width:840px;height:auto\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-30.png 982w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-30-300x258.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-30-768x662.png 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-31.png\"><img loading=\"lazy\" decoding=\"async\" width=\"863\" height=\"781\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-31.png\" alt=\"\" class=\"wp-image-484\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-31.png 863w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-31-300x271.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-31-768x695.png 768w\" sizes=\"(max-width: 863px) 100vw, 863px\" \/><\/a><\/figure>\n\n\n\n<p>Step 4. Make a new directory named \/cyse. And mount the new partition under this directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-32.png\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"268\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-32.png\" alt=\"\" class=\"wp-image-485\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-32.png 500w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-32-300x161.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/figure>\n\n\n\n<p>Step 5. Use the df command to check the mounting point of the new partition.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-33.png\"><img loading=\"lazy\" decoding=\"async\" width=\"721\" height=\"395\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-33.png\" alt=\"\" class=\"wp-image-486\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-33.png 721w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-33-300x164.png 300w\" sizes=\"(max-width: 721px) 100vw, 721px\" \/><\/a><\/figure>\n\n\n\n<p>Step 6. Create a new file named for YourMIDAS.txt (replace YourMIDAS with your MIDAS ID) in the directory \/cyse and put your name in that file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-34.png\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"199\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-34.png\" alt=\"\" class=\"wp-image-487\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-34.png 646w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-34-300x92.png 300w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/a><\/figure>\n\n\n\n<p>Step 7. Unmount \/cyse directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-35.png\"><img loading=\"lazy\" decoding=\"async\" width=\"397\" height=\"173\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-35.png\" alt=\"\" class=\"wp-image-488\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-35.png 397w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-35-300x131.png 300w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/a><\/figure>\n\n\n\n<p>Step 8. Check the contents in \/cyse directory. What do you find?<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-36.png\"><img loading=\"lazy\" decoding=\"async\" width=\"879\" height=\"284\" src=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-36.png\" alt=\"\" class=\"wp-image-489\" srcset=\"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-36.png 879w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-36-300x97.png 300w, https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-content\/uploads\/sites\/34684\/2024\/04\/image-36-768x248.png 768w\" sizes=\"(max-width: 879px) 100vw, 879px\" \/><\/a><\/figure>\n\n\n\n<p>I didn&#8217;t find anything under the directory \/cyse.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Part I\u2013 Check your file system (30 points).Step 1. Execute the ls \/dev\/sd* command to see the current hard disk devices. [use sudo] Step 2. Execute the fdisk -l command to list the current hard disk partitions. [use sudo] Step 3. Execute the parted -l command to list the current hard disk partition table. [use [&hellip;]<\/p>\n","protected":false},"author":27037,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wds_primary_category":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/posts\/447"}],"collection":[{"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/users\/27037"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/comments?post=447"}],"version-history":[{"count":2,"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/posts\/447\/revisions"}],"predecessor-version":[{"id":490,"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/posts\/447\/revisions\/490"}],"wp:attachment":[{"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/media?parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/categories?post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/odu-student-template\/wp-json\/wp\/v2\/tags?post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}