Attaching a new Disk in AWS

mount the disk at os level if you created a new disk

use following commands

format and create a disk of type :  /dev/xvdf

sudo mkfs -t ext4 /dev/xvdf


mount it, /u01 is the mount point

sudo mount /dev/xvdf /u01

open the following file as the root user


add the following line to the end of the file

/dev/xvdf /u01 ext4 defaults 0 0