![]() To unmount the volume, use the unmount command as shown below. The above command should show the free space in the newvolume directory. Step 9: cd into newvolume directory and check the disk space to validate the volume mount. Step 8: Mount the volume to “newvolume” directory using the following command. You can name it something meaningful to you. Step 7: Create a directory of your choice to mount our new ext4 volume. sudo mkfs -t ext4 /dev/xvdfĪlternatively, you can also use the xfs format. Step 6: Format the volume to the ext4 filesystem using the following command. If the above command output shows “ /dev/xvdf: data“, it means your volume is empty. Step 5: Check if the volume has any data using the following command. The above command will list the disk you attached to your instance. ![]() Step 4: Now, login to your ec2 instance and list the available disks using the following command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |