Attaching and mounting existing EBS volume to EC2 instance filesystem issue
I had some unknown issue with my old EC2 instance so that I can't ssh into it anymore. Therefore I created a new EBS volume from a snapshot of the old volume and tried to attach and mount it to the new instance. Here is what I did: Created a new volume from snapshot of the old one. Created a new EC2 instance and attached the volume to it as /dev/xvdf (or /dev/sdf ) SSHed into the instance and attempted to mount the old volume with: $ sudo mkdir -m 000 /vol $ sudo mount /dev/xvdf /vol And the output was: mount: block device /dev/xvdf is write-protected, mounting read-only mount: you must