Assignment 01 Partition Linux OS and Config

Assignment 01:  Partition Linux OS and Config

Azure VM

Choose Ubuntu version 16.04 LTS

Step 1:


Step 2:

  • VM Size B4MS

Step 3:

  • Defaults for most settings
  • Enable auto-shutdown with a time that makes sense for you

Step 4:

  • Create and wait



Data Disk

Add data disk

  • Name
    • [NETID]01_data1
  • Resource Group
    • Use existing: Big_Data_Technologies
  • Account type
    • SSD
  • Source Type
    • None
  • Size
    • 64GB

Make sure to "SAVE" after creating!!!

Parition/Format/Mount Data Disk

Create partition table

  • sudo fdisk /dev/sdc
  • 'g' to create new label
  • 'n' to create new partition table
    • use enter for defaults
    • partition number 1
    • first and last sector
  • 'w' to write partition table to disk

Format Disk

  • sudo mkfs -t xfs /dev/sdc1

Mount Disk

  • sudo mkdir /data
  • sudo mount /dev/sdc1 /data

Add to fstab to persist reboots

  • sudo blkid /dev/sdc1
  • edit /etc/fstab
  • add a line that looks somethign like the following, with the UUID from your blkid output substituted in
    • UUID=b8feed20-d520-4130-8cf3-d0633f63a2d8   /data xfs defaults,nofail 1 2

Exit SSH session and shut down VM when done!

Comments

Popular posts from this blog

Assignment 05 Fun with Spark III

Assignment 03 Fun with Spark Part II

Assignment 04 Fun with Spark Part III