Created
September 21, 2018 07:15
-
-
Save luhonghai/0eca402368bc6e4daf83f87d37b31ce9 to your computer and use it in GitHub Desktop.
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
fdisk /dev/xvdb # n > w | |
mkfs -t ext4 /dev/xvdb1 | |
vim /etc/fstab # /dev/xvdb1 /datadrive ext4 defaults 0 2 | |
mkdir /datadrive | |
mount /dev/xvdb1 /datadrive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment