How would you prepare a new disk for use in Linux?

  • partition it (fdisk /dev/sdb)
  • create file systems on the partitions (mkfs -t ext4 /dev/sdb1)
  • mount the partitions (mount /dev/sdb1 /mnt/partition1)
  • add file systems to /etc/fstab

Note: might mention using LVM as an additional storage abstraction layer — create physical volumes, volume groups, logical volumes