Created
June 20, 2024 21:09
-
-
Save slackingfred/e3acad561ea32954da982ebcb0b52bd9 to your computer and use it in GitHub Desktop.
Initialize ephemeral storage of certain AWS EC2 instance types
This file contains 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
#!/bin/bash | |
mkdir -p /data | |
mkfs.btrfs -d single -m single /dev/nvme1n1 | |
mount /dev/nvme1n1 /data | |
chmod 777 /data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment