Created
July 8, 2017 10:24
-
-
Save maietta/dac9211961f1a2ccf250c5991ab6a29a to your computer and use it in GitHub Desktop.
Vultr Block Store example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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