Create volume from snapshot and mount

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html

go to ec2 instance terminal

lsblk

As you can see there is only 1 volume at this point, now lets attach the new one

status is now in-use

lsblk

Now we have 2. Now lets mount. Lets make a directory. “/werm”

mkdir /werm

though in our terminal it shows up as xvdf1, we need to actually use this value

mount /dev/sdf1 /werm

to unmount

umount -d /dev/sdf1

to ensure mounting on restart edit /etc/fstab

https://askubuntu.com/questions/667312/mount-a-not-called-at-startup

blkid

Leave a Reply

Your email address will not be published.