- Lsblk
2. Check if the volume has any data using the following command. sudo 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 sudo mkfs -t ext4 /dev/xvdf 5. Create a directory of your choice to mount our new ext4 volume. I am using For Example the name used is “newvolume” sudo sudo mkdir /newvolume Mount 6. Mount the volume to “newvolume” directory using the following command. sudo sudo mount /dev/xvdf /newvolume/ 7. cd into newvolume directory and check the disk space for confirming the volume mount. cd cd /newvolume df df -h . |