Skip to content

Instantly share code, notes, and snippets.

@kenoir
Last active November 11, 2020 10:58
Show Gist options
  • Save kenoir/606389713e62f6aaabc4a0f8b5c38b1e to your computer and use it in GitHub Desktop.
Save kenoir/606389713e62f6aaabc4a0f8b5c38b1e to your computer and use it in GitHub Desktop.
Mount NVMe from AWS i3 instance on Amazon Linux
# 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