Step1: Attach the volume to the EC2 linux instance
Step2: Find the name of the disk
lsblk
Step3: Create a new path to mount the disk
sudo mkdir /mnt/tempdata
Step4: Mount the new disk
sudo mount /dev/xvdf /mnt/tempdata
Step5: Edit fstab and add the entry so that the disk can be automounted
/dev/xvdf /mnt/tempdata ext4 defaults,nofail

- Microsoft Certified: Azure DevOps Engineer Expert
- Microsoft Certified: Azure Solutions Architect Expert
- Microsoft 365 Certified: Messaging Administrator Associate
- Microsoft Certified Azure Administrator Associate
- Microsoft Certified: Azure Fundamentals
- Microsoft Certified: Security, Compliance, and Identity Fundamentals
- Microsoft Certified: Azure AI Fundamentals
No responses yet