Last active
November 11, 2020 10:58
-
-
Save kenoir/606389713e62f6aaabc4a0f8b5c38b1e to your computer and use it in GitHub Desktop.
Mount NVMe from AWS i3 instance on Amazon Linux
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
# Identify nvme_drive | |
lsblk | |
# Mount the drive | |
sudo mkfs -t xfs /dev/nvme_drive | |
sudo mkdir /data | |
sudo mount /dev/nvme_drive /data | |
sudo chown ec2-user /data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment