How to mount EC2 volume persistnantly as it losts files when I stop the instance in LINUX?
I mounted volume by following it gets mounted but files get lost after stop.
mkfs -t ext2 /dev/sdb mkdir /mnt/myVol mou开发者_高级运维nt /dev/sdb /mnt/myVol
If you want a volume whose data persists after you stop the EC2 instance that the volume is mounted on, you should use an Elastic Block Store volume.
精彩评论