Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Mounting NVMe EBS for AWS EC2 Nitro Instances

Ensure you have the ebs attached.

$ lsblk

Once you find the blk id, create xfs type filesystem

$ sudo mkfs -t xfs /dev/nvme1n1

Verify the file system created, use command

$ sudo file -s /dev/nvme1n1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment