Tried as follows and worked
>> sudo fdisk -l
Disk /dev/xvdb: ….
Then format
>> sudo mkfs -t ext4 /dev/xvdf
Create mount dir
>>mkdir /mnt
you can mount now
>>sudo mount /dev/xvdb /mnt
Check if it has been mounted correctly with:
>>mount -l
/dev/xvdb on /mnt type ext4 (rw)
mount automatically – this will be there – nothing to do
>>sudo vim /etc/fstab
this will be there – nothing to do if not add this:
/dev/xvdf /mnt1 auto defaults,nobootwait 0 0
BTW by some reason AWS Console shows /dev/xvdf as /dev/sdf From: http://sitestree.com/?p=4450
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2016-11-03 16:49:23
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada