ebs volume - can't read data
hi guys, so i have this volume: vol-0f057741ae7be8974 - this worked till today. today my instance stopped working and when i attached this volume to another instance, i can't read the data off it. is there any chance we could recover the data? i forgot to take a snapshot of it :/
i have also tried taking a snapshot of the volume and creating another volume but still no dice on mounting it:
mount: wrong fs type, bad option, bad superblock on /dev/xvdg,
missing codepage or helper program, or other error
_In some cases useful info is found in syslog - try_
_dmesg | tail or so._
[ 3074.328710] XFS (xvdg): Invalid superblock magic number
thanks in advance
Edited by: katmai on May 11, 2018 11:20 AM
Was the volume encrypted?
I would suggest take a snapshot, create a volume, attach to a new Linux machine and then:
1) Check the output of
fdisk -l /dev/xvdg
2) Run
xfs_check /dev/xvdg1
3) Check what you get
sudo xfsdump -f /dev/xvdg1 | grep -i superblock
4) Still no luck then try
sudo mkfs.xfs -N /dev/xvdg1
. If you see some numbers there, you may be able to recover the device using a tool like http://www.ufsexplorer.com/
If nothing works, you are probably out of luck.
Relevant questions
EC2 Instance Not Connecting / Status Error
asked 2 months agoStopping and Starting EC2 instance wipes data
asked 3 years agoDo I get charged for stopped instances?
Accepted Answerasked 5 years agoAttaching EBS Volume fails: Thinks it is attached to another instance but is not.
asked 4 months agoDeleted volume still attached to instance
asked 3 years agoUnable to delete ebs volumes
asked 21 days agoConditions to attach EBS volumes
asked 20 days agoebs volume - can't read data
asked 4 years agoVolume can't be detached
asked 4 months agoHow to attach EBS volume from original EC2 instance to a new EC2 instance?
asked 15 days ago