{"id":499,"date":"2025-10-14T09:43:38","date_gmt":"2025-10-14T09:43:38","guid":{"rendered":"https:\/\/sites.wp.odu.edu\/dhill036\/?page_id=499"},"modified":"2025-11-16T14:37:19","modified_gmt":"2025-11-16T14:37:19","slug":"lab-7","status":"publish","type":"page","link":"https:\/\/sites.wp.odu.edu\/dhill036\/lab-7\/","title":{"rendered":"Lab 7 &#8211; Manage Local Storage."},"content":{"rendered":"\n<p><strong>My Experience on This Lab<\/strong><\/p>\n\n\n\n<p>In this lab, I examined local storage in Linux by listing existing disks using commands like <code><strong>sudo ls<\/strong> <strong>\/dev\/sd*<\/strong><\/code>, <code><strong>sudo fdisk -l<\/strong><\/code>, and<strong> <code>sudo parted -l<\/code><\/strong>. I added a new 200 MB virtual hard disk to the VM, confirmed that the system detected it, and then created a primary partition on it with<strong> <code>sudo fdisk<\/code><\/strong>. I formatted the partition with<strong> <code>sudo mkfs.ext4<\/code><\/strong>, mounted it to the <code><strong>\/cyse<\/strong><\/code> directory, and verified the mount using <code><strong>df -h<\/strong><\/code>. I also created a file inside the new filesystem and observed what happened after unmounting.<br><\/p>\n\n\n\n<p><strong>Key Concepts I Learned<\/strong><\/p>\n\n\n\n<p>I learned how Linux recognizes storage devices, how partition tables are organized, and how to create and format new partitions. The lab also reinforced how mounting makes a filesystem accessible and how unmounting separates it from the directory structure.<br><\/p>\n\n\n\n<p><strong>Challenges Faced<\/strong><\/p>\n\n\n\n<p>Challenges included identifying the correct disk after adding the new virtual drive and using the proper device name during partitioning and formatting. Verifying my work with commands like<strong> <code>lsblk<\/code><\/strong> and <code><strong>fdisk<\/strong> <strong>-l<\/strong><\/code> helped ensure each step was done correctly.<br><\/p>\n\n\n\n<div data-wp-interactive=\"\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!selectors.core.file.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/sites.wp.odu.edu\/dhill036\/wp-content\/uploads\/sites\/38343\/2025\/11\/Lab-7-PDF.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of Lab-7-PDF.\"><\/object><a id=\"wp-block-file--media-2f656fd4-5f91-4ece-869c-969f2ff5cff3\" href=\"https:\/\/sites.wp.odu.edu\/dhill036\/wp-content\/uploads\/sites\/38343\/2025\/11\/Lab-7-PDF.pdf\">Lab-7-PDF<\/a><a href=\"https:\/\/sites.wp.odu.edu\/dhill036\/wp-content\/uploads\/sites\/38343\/2025\/11\/Lab-7-PDF.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-2f656fd4-5f91-4ece-869c-969f2ff5cff3\">Download<\/a><\/div>\n\n\n<b>PDF Embedder requires a url attribute<\/b>","protected":false},"excerpt":{"rendered":"<p>My Experience on This Lab In this lab, I examined local storage in Linux by listing existing disks using commands like sudo ls \/dev\/sd*, sudo fdisk -l, and sudo parted -l. I added a new 200 MB virtual hard disk to the VM, confirmed that the system detected it, and then created a primary partition&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/sites.wp.odu.edu\/dhill036\/lab-7\/\">Read More<\/a><\/div>\n","protected":false},"author":30353,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/pages\/499"}],"collection":[{"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/users\/30353"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/comments?post=499"}],"version-history":[{"count":4,"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/pages\/499\/revisions"}],"predecessor-version":[{"id":555,"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/pages\/499\/revisions\/555"}],"wp:attachment":[{"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/media?parent=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}