views:

34

answers:

1

I mounted volume by following it gets mounted but files get lost after stop.

mkfs -t ext2 /dev/sdb mkdir /mnt/myVol mount /dev/sdb /mnt/myVol

A: 

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.

gareth_bowles