Skip to content

Instantly share code, notes, and snippets.

@maietta
Created July 8, 2017 10:24
Show Gist options
  • Save maietta/dac9211961f1a2ccf250c5991ab6a29a to your computer and use it in GitHub Desktop.
Save maietta/dac9211961f1a2ccf250c5991ab6a29a to your computer and use it in GitHub Desktop.
Vultr Block Store example
(Linux Example) Create partitions:
# parted -s /dev/vdb mklabel gpt
# parted -s /dev/vdb unit mib mkpart primary 0% 100%
(Linux Example) Create filesystem:
# mkfs.ext4 /dev/vdb1
(Linux Example) Mount block storage:
# mkdir /mnt/blockstorage
# echo >> /etc/fstab
# echo /dev/vdb1 /mnt/blockstorage ext4 defaults,noatime 0 0 >> /etc/fstab
# mount /mnt/blockstorage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment