Thursday, January 1, 2015

ubuntu - Data missing from ephermal device

I was working on live AWS EC2 instace which has ephermal disk attached to it.
Disk /dev/xvda: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x55bca5c1


Device Boot Start End Sectors Size Id Type
/dev/xvda1 * 2048 16777182 16775135 8G 83 Linux


Disk /dev/nvme0n1: 442.4 GiB, 475000000000 bytes, 927734375 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


============
/dev/nvme0n1 was mounted on partition /var/www/html
I created an image from this instance. After i created the image, i launched another instance from it.


Now, after this, the data that was there on ephermal disk is not visible on live server, and it is not available on live site as well.
Please suggest , how can i get that data on ephermal disk.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...