开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜