- Lsblk
2. Check if the volume has any data using the following command
sudo file -s /dev/xvdf
3. If the above command output shows “/dev/xvdf: data”, it means your volume is empty
4. Format the volume to ext4 filesystem using the following command
sudo mkfs -t ext4 /dev/xvdf
5. Create a directory of your choice to mount our new ext4 volume. For Example the name used is “newvolume”
sudo mkdir /newvolume
6. Mount the volume to “newvolume” directory using the following command
sudo mount /dev/xvdf /newvolume/
7. cd into newvolume directory and check the disk space for confirming the volume mount
cd /newvolume
df -h