I wanted to mount the root EBS volume of one instance to another instance that is in the same region (both are operating on Amazon Linux).
Consider that there are two instances in the same region, say server 1 and server 2. I stopped server 1 and detached the root EBS volume, then attached that volume to server 2. Then I entered server 2 and tried to mount the attached volume. But I couldn’t attach the volume; it shows one error.
The command I used to mount the volume was
mount /dev/xvdf /home/ec2-user/storage
Storage is the folder to which I want to attach that volume.
What I want is to attach the root EBS to other server without losing the data
ASHWIN KRISHNA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.