How to mount an additional persistant storage disk to a Google Cloud compute engine running Ubuntu 15.10 wily

From: https://cloud.google.com/compute/docs/disks/persistent-disks#create_disk

sudo mkfs.ext4 -F -E lazy_itable_init=0,lazy_journal_init=0,discard /dev/disk/by-id/google-example-disk
echo '/dev/disk/by-id/google-example-disk /mnt/example-disk ext4 discard,defaults 1 1' | sudo tee -a /etc/fstab

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.