Difference between revisions of "Lab 1 Warnings / Debrief"

From CDOT Wiki
Jump to: navigation, search
Line 23: Line 23:
  
 
:* Make certain to create the correct partitions:
 
:* Make certain to create the correct partitions:
#Before you proceed with creating partitions, let's see the partitions that we need to create for our host computer:<ul><li>Primary Partitions (ext4):<ul><li>'''30GB''' for '''/'''  (i.e. "root")</li><li>'''40GB''' for /home</li><li>'''100GB''' for '''/var/lib/libvirt/images''' </li></ul> </li><li>Swap Partition:<ul><li>'''16GB''' (Note: "swap" must be selected from the drop down menu)</li></ul></li></ul><br>'''NOTE:''' Remember that the sizes are recorded in MB (eg. 30 GB = 30000 MB) and you should multiply GB by a factor of 1024 to get the correct size.<br> (eg. '''30 GB x 1024 = 30720 MB''')<br><br>
+
::*Before you proceed with creating partitions, let's see the partitions that we need to create for our host computer:<ul><li>Primary Partitions (ext4):<ul><li>'''30GB''' for '''/'''  (i.e. "root")</li><li>'''40GB''' for /home</li><li>'''100GB''' for '''/var/lib/libvirt/images''' </li></ul> </li><li>Swap Partition:<ul><li>'''16GB''' (Note: "swap" must be selected from the drop down menu)</li></ul></li></ul><br>'''NOTE:''' Remember that the sizes are recorded in MB (eg. 30 GB = 30000 MB) and you should multiply GB by a factor of 1024 to get the correct size.<br> (eg. '''30 GB x 1024 = 30720 MB''')<br><br>
#We will now create the root (/) partition. '''Click on the add button (plus) sign'''.<br>
 
#In the '''Add a New Mount Point''' screen, select '''/''' as the mount-point (either by typing or selecting from drop-down menu), and enter '''30720''' in for partition size and click '''Add Mount Point''' button.
 
#Repeat the same steps above for the '''/home''' partition and '''/var/lib/libvirt/images''' partition. You need to type the ''/var/lib/libvirt/images'' partition since it does not appear in the drop-down menu.
 
#Select each of the created partitions, and make certain that the file-system type is changed from '''xfs''' to '''ext4'''.
 
#Finally, add a swap partition (Mount Point: swap) for '''16 GB'''.
 

Revision as of 11:43, 26 June 2015

Preparing for Lab 1

Thinking Ahead

Bring Required Materials to Class

  • Come prepared for labs:
  • Removable SATA Drive ( min 250 GB )
  • USB Stick ( min 8 GB )
  • CENTOS 7 Full INSTALL DVD
  • Lab 1 Logbook (Instructor can't sign-off lab without seeing lab-book notes)
  • Access to Lab Instructions: printout, notebook, netbook, smartphone

Notes / Warnings

  • Failure to properly following lab instructions may result in re-doing lab again!
  • Hard Disk partitions are simply smaller logical storage units (containers) within a hard disk
  • Advantages of Hard Disk Partitions:
  • Separation of operating system files from data (easier recovery)
  • Allows for booting multiple operating systems
  • Separation of Data for efficient access and sharing
  • Make certain to create the correct partitions:
  • Before you proceed with creating partitions, let's see the partitions that we need to create for our host computer:
    • Primary Partitions (ext4):
      • 30GB for / (i.e. "root")
      • 40GB for /home
      • 100GB for /var/lib/libvirt/images
    • Swap Partition:
      • 16GB (Note: "swap" must be selected from the drop down menu)

    NOTE: Remember that the sizes are recorded in MB (eg. 30 GB = 30000 MB) and you should multiply GB by a factor of 1024 to get the correct size.
    (eg. 30 GB x 1024 = 30720 MB)