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

Tags:

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Comments